diff --git a/README.md b/README.md index f7f0c68858e..351fc07c737 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ You can install the PHP SDK with Composer by editing your `composer.json` file: ``` { "require": { - "microsoft/microsoft-graph": "^2.0.0" + "microsoft/microsoft-graph": "^2.1.0" } } ``` diff --git a/src/Generated/Admin/AdminRequestBuilder.php b/src/Generated/Admin/AdminRequestBuilder.php index c67f8e6dd5f..43db712aaf0 100644 --- a/src/Generated/Admin/AdminRequestBuilder.php +++ b/src/Generated/Admin/AdminRequestBuilder.php @@ -110,7 +110,7 @@ public function toGetRequestInformation(?AdminRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPatchRequestInformation(Admin $body, ?AdminRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/EdgeRequestBuilder.php b/src/Generated/Admin/Edge/EdgeRequestBuilder.php index aad07f162a4..25e1b310353 100644 --- a/src/Generated/Admin/Edge/EdgeRequestBuilder.php +++ b/src/Generated/Admin/Edge/EdgeRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?EdgeRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?EdgeRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Edge $body, ?EdgeRequestBuilderPatchRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.php index d3447e0dbf8..a9c93416986 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?InternetExplorerModeRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?InternetExplorerModeRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(InternetExplorerMode $body, ?InternetE $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.php index 1b64027f350..f3541da1a65 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a browserSiteList object. This API is available in the following national cloud deployments. + * Delete a browserSiteList object. * @param BrowserSiteListItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?BrowserSiteListItemRequestBuilderDeleteRequestConfigurat } /** - * Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. + * Get a browserSiteList that contains browserSite and browserSharedCookie resources. * @param BrowserSiteListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?BrowserSiteListItemRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of a browserSiteList object. This API is available in the following national cloud deployments. + * Update the properties of a browserSiteList object. * @param BrowserSiteList $body The request body * @param BrowserSiteListItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(BrowserSiteList $body, ?BrowserSiteListItemRequestBuilderP } /** - * Delete a browserSiteList object. This API is available in the following national cloud deployments. + * Delete a browserSiteList object. * @param BrowserSiteListItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?BrowserSiteListItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. + * Get a browserSiteList that contains browserSite and browserSharedCookie resources. * @param BrowserSiteListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?BrowserSiteListItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a browserSiteList object. This API is available in the following national cloud deployments. + * Update the properties of a browserSiteList object. * @param BrowserSiteList $body The request body * @param BrowserSiteListItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(BrowserSiteList $body, ?BrowserSiteLis $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilderGetQueryParameters.php index ec8ef1cc6fc..b689296a93b 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. + * Get a browserSiteList that contains browserSite and browserSharedCookie resources. */ class BrowserSiteListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php index 9876c0418d5..aeddff9cbb7 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publish the specified browserSiteList for devices to download. This API is available in the following national cloud deployments. + * Publish the specified browserSiteList for devices to download. * @param PublishPostRequestBody $body The request body * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(PublishPostRequestBody $body, ?PublishRequestBuilderPostReq } /** - * Publish the specified browserSiteList for devices to download. This API is available in the following national cloud deployments. + * Publish the specified browserSiteList for devices to download. * @param PublishPostRequestBody $body The request body * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(PublishPostRequestBody $body, ?PublishR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.php index 98eb4eeaed7..1a03c0e3942 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a browserSharedCookie from a browserSiteList. This API is available in the following national cloud deployments. + * Delete a browserSharedCookie from a browserSiteList. * @param BrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?BrowserSharedCookieItemRequestBuilderDeleteRequestConfig } /** - * Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is available in the following national cloud deployments. + * Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. * @param BrowserSharedCookieItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?BrowserSharedCookieItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a browserSharedCookie object. This API is available in the following national cloud deployments. + * Update the properties of a browserSharedCookie object. * @param BrowserSharedCookie $body The request body * @param BrowserSharedCookieItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(BrowserSharedCookie $body, ?BrowserSharedCookieItemRequest } /** - * Delete a browserSharedCookie from a browserSiteList. This API is available in the following national cloud deployments. + * Delete a browserSharedCookie from a browserSiteList. * @param BrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?BrowserSharedCookieItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is available in the following national cloud deployments. + * Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. * @param BrowserSharedCookieItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?BrowserSharedCookieItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a browserSharedCookie object. This API is available in the following national cloud deployments. + * Update the properties of a browserSharedCookie object. * @param BrowserSharedCookie $body The request body * @param BrowserSharedCookieItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(BrowserSharedCookie $body, ?BrowserSha $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilderGetQueryParameters.php index dcc2ea09e1c..b927f2d1de4 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is available in the following national cloud deployments. + * Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. */ class BrowserSharedCookieItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php index a7cec456501..9fb2f01870c 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the browserSharedCookie objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSharedCookie objects and their properties. * @param SharedCookiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SharedCookiesRequestBuilderGetRequestConfiguration $request } /** - * Create a new browserSharedCookie object in a browserSiteList. This API is available in the following national cloud deployments. + * Create a new browserSharedCookie object in a browserSiteList. * @param BrowserSharedCookie $body The request body * @param SharedCookiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BrowserSharedCookie $body, ?SharedCookiesRequestBuilderPost } /** - * Get a list of the browserSharedCookie objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSharedCookie objects and their properties. * @param SharedCookiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SharedCookiesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new browserSharedCookie object in a browserSiteList. This API is available in the following national cloud deployments. + * Create a new browserSharedCookie object in a browserSiteList. * @param BrowserSharedCookie $body The request body * @param SharedCookiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BrowserSharedCookie $body, ?SharedCooki $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilderGetQueryParameters.php index a337fcd329f..0ea854e3a6a 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the browserSharedCookie objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSharedCookie objects and their properties. */ class SharedCookiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.php index 6ca10e8a3a2..3ab3cfa3946 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a browserSite from a browserSiteList. This API is available in the following national cloud deployments. + * Delete a browserSite from a browserSiteList. * @param BrowserSiteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?BrowserSiteItemRequestBuilderDeleteRequestConfiguration } /** - * Get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. + * Get a browserSite that resides on a browserSiteList. * @param BrowserSiteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?BrowserSiteItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of a browserSite object. This API is available in the following national cloud deployments. + * Update the properties of a browserSite object. * @param BrowserSite $body The request body * @param BrowserSiteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(BrowserSite $body, ?BrowserSiteItemRequestBuilderPatchRequ } /** - * Delete a browserSite from a browserSiteList. This API is available in the following national cloud deployments. + * Delete a browserSite from a browserSiteList. * @param BrowserSiteItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?BrowserSiteItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. + * Get a browserSite that resides on a browserSiteList. * @param BrowserSiteItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?BrowserSiteItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a browserSite object. This API is available in the following national cloud deployments. + * Update the properties of a browserSite object. * @param BrowserSite $body The request body * @param BrowserSiteItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(BrowserSite $body, ?BrowserSiteItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilderGetQueryParameters.php index 59e71d2c44e..34187c4d4bd 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. + * Get a browserSite that resides on a browserSiteList. */ class BrowserSiteItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php index 1e552fe9205..fdd06a01f88 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the browserSite objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSite objects and their properties. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new browserSite object in a browserSiteList. This API is available in the following national cloud deployments. + * Create a new browserSite object in a browserSiteList. * @param BrowserSite $body The request body * @param SitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BrowserSite $body, ?SitesRequestBuilderPostRequestConfigura } /** - * Get a list of the browserSite objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSite objects and their properties. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new browserSite object in a browserSiteList. This API is available in the following national cloud deployments. + * Create a new browserSite object in a browserSiteList. * @param BrowserSite $body The request body * @param SitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BrowserSite $body, ?SitesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilderGetQueryParameters.php index a45443b0cb7..eb73f1d6dde 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the browserSite objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSite objects and their properties. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php index dba1778994e..93aada5d6f4 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the browserSiteList objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSiteList objects and their properties. * @param SiteListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SiteListsRequestBuilderGetRequestConfiguration $requestConf } /** - * Create a new browserSiteList object to support Internet Explorer mode. This API is available in the following national cloud deployments. + * Create a new browserSiteList object to support Internet Explorer mode. * @param BrowserSiteList $body The request body * @param SiteListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BrowserSiteList $body, ?SiteListsRequestBuilderPostRequestC } /** - * Get a list of the browserSiteList objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSiteList objects and their properties. * @param SiteListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SiteListsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new browserSiteList object to support Internet Explorer mode. This API is available in the following national cloud deployments. + * Create a new browserSiteList object to support Internet Explorer mode. * @param BrowserSiteList $body The request body * @param SiteListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BrowserSiteList $body, ?SiteListsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilderGetQueryParameters.php index c4090405d30..4e2ff45054f 100644 --- a/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the browserSiteList objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the browserSiteList objects and their properties. */ class SiteListsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/People/PeopleRequestBuilder.php b/src/Generated/Admin/People/PeopleRequestBuilder.php index f5656a34919..1c479a99547 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilder.php +++ b/src/Generated/Admin/People/PeopleRequestBuilder.php @@ -87,7 +87,7 @@ public function toGetRequestInformation(?PeopleRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -106,7 +106,7 @@ public function toPatchRequestInformation(PeopleAdminSettings $body, ?PeopleRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php b/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php index 2a392107b49..6178f06c2ee 100644 --- a/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php +++ b/src/Generated/Admin/People/ProfileCardProperties/Item/ProfileCardPropertyItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ProfileCardPropertyItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ProfileCardPropertyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ProfileCardProperty $body, ?ProfileCar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php b/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php index 9e5d8a3ab0d..c2bba5e9e2f 100644 --- a/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php +++ b/src/Generated/Admin/People/ProfileCardProperties/ProfileCardPropertiesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ProfileCardPropertiesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ProfileCardProperty $body, ?ProfileCard $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php index b3d81a4e9d9..95540cc2c31 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is available in the following national cloud deployments. + * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. * @param HealthOverviewsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ServiceHealth $body, ?HealthOverviewsRequestBuilderPostRequ } /** - * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is available in the following national cloud deployments. + * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. * @param HealthOverviewsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HealthOverviewsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ServiceHealth $body, ?HealthOverviewsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilderGetQueryParameters.php index 32bf4c4d36e..33b49c561e7 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is available in the following national cloud deployments. + * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. */ class HealthOverviewsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.php index 897dc323160..8b8034d41e0 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?IssuesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ServiceHealthIssue $body, ?IssuesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php index 2ac7946d2aa..b024f404ed7 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?IncidentReportRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.php index cf1d53d7f7f..3192b287237 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ServiceHealthIssueItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ServiceHealthIssueItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ServiceHealthIssue $body, ?ServiceHeal $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.php index 13901baee81..4b74c3c287e 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ServiceHealthItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. * @param ServiceHealthItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ServiceHealthItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. * @param ServiceHealthItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ServiceHealthItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ServiceHealth $body, ?ServiceHealthIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilderGetQueryParameters.php index e6dc4b5365c..59ef33595d3 100644 --- a/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. */ class ServiceHealthItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php index faf2123b2a2..fafde2945b2 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. * @param IssuesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ServiceHealthIssue $body, ?IssuesRequestBuilderPostRequestC } /** - * Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. * @param IssuesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?IssuesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ServiceHealthIssue $body, ?IssuesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilderGetQueryParameters.php index 8473a721943..826f804348c 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. */ class IssuesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php index acbe5f17ad3..c45901a85e6 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?IncidentReportRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.php index 83496477cf4..c7df701a7a0 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ServiceHealthIssueItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. * @param ServiceHealthIssueItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ServiceHealthIssueItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. * @param ServiceHealthIssueItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ServiceHealthIssueItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ServiceHealthIssue $body, ?ServiceHeal $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilderGetQueryParameters.php index 33bc74890c7..db60591fc58 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. */ class ServiceHealthIssueItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php index 209e04bb032..0cd2013dfa4 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Archive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + * Archive a list of serviceUpdateMessages for the signed in user. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostReq } /** - * Archive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + * Archive a list of serviceUpdateMessages for the signed in user. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.php index 1f44669f84d..9082deeed32 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is available in the following national cloud deployments. + * Change the status of a list of serviceUpdateMessages to favorite for the signed in user. * @param FavoritePostRequestBody $body The request body * @param FavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(FavoritePostRequestBody $body, ?FavoriteRequestBuilderPostR } /** - * Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is available in the following national cloud deployments. + * Change the status of a list of serviceUpdateMessages to favorite for the signed in user. * @param FavoritePostRequestBody $body The request body * @param FavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(FavoritePostRequestBody $body, ?Favorit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 89a2a4367a1..99896cd2b16 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of attachments associated with a service message. This API is available in the following national cloud deployments. + * Get the list of attachments associated with a service message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ServiceAnnouncementAttachment $body, ?AttachmentsRequestBui } /** - * Get the list of attachments associated with a service message. This API is available in the following national cloud deployments. + * Get the list of attachments associated with a service message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ServiceAnnouncementAttachment $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 7c480d8cfbf..6a46aa97eb4 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of attachments associated with a service message. This API is available in the following national cloud deployments. + * Get the list of attachments associated with a service message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php index 8aedbb03778..e462c7701c2 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.php index 65aeae72bc3..500f9167cb7 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ServiceAnnouncementAttachmentItemRequestBuilderDeleteReq } /** - * Read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a serviceAnnouncementAttachment object. * @param ServiceAnnouncementAttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ServiceAnnouncementAttachmentItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a serviceAnnouncementAttachment object. * @param ServiceAnnouncementAttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ServiceAnnouncementAttachmentItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ServiceAnnouncementAttachment $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters.php index a4866b712ab..f1151e29861 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a serviceAnnouncementAttachment object. */ class ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.php index c5a7e08bb9d..dad49efe2dd 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?AttachmentsArchiveRequestBuilderGetRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?AttachmentsArchi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.php index b912ebd5437..2f12f06750c 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?ServiceUpdateMessageItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. * @param ServiceUpdateMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?ServiceUpdateMessageItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. * @param ServiceUpdateMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ServiceUpdateMessageItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(ServiceUpdateMessage $body, ?ServiceUp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilderGetQueryParameters.php index f2d6a5076eb..1105d479657 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. */ class ServiceUpdateMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php index 256e862cc07..82d7cec0805 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a list of serviceUpdateMessages as read for the signed in user. This API is available in the following national cloud deployments. + * Mark a list of serviceUpdateMessages as read for the signed in user. * @param MarkReadPostRequestBody $body The request body * @param MarkReadRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(MarkReadPostRequestBody $body, ?MarkReadRequestBuilderPostR } /** - * Mark a list of serviceUpdateMessages as read for the signed in user. This API is available in the following national cloud deployments. + * Mark a list of serviceUpdateMessages as read for the signed in user. * @param MarkReadPostRequestBody $body The request body * @param MarkReadRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(MarkReadPostRequestBody $body, ?MarkRea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.php index fdce90e303e..d87e7fc4f03 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a list of serviceUpdateMessages as unread for the signed in user. This API is available in the following national cloud deployments. + * Mark a list of serviceUpdateMessages as unread for the signed in user. * @param MarkUnreadPostRequestBody $body The request body * @param MarkUnreadRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(MarkUnreadPostRequestBody $body, ?MarkUnreadRequestBuilderP } /** - * Mark a list of serviceUpdateMessages as unread for the signed in user. This API is available in the following national cloud deployments. + * Mark a list of serviceUpdateMessages as unread for the signed in user. * @param MarkUnreadPostRequestBody $body The request body * @param MarkUnreadRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(MarkUnreadPostRequestBody $body, ?MarkU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.php index f745a0bf6f9..3476024332e 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.php @@ -100,7 +100,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -132,7 +132,7 @@ public function post(ServiceUpdateMessage $body, ?MessagesRequestBuilderPostRequ } /** - * Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -148,7 +148,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -167,7 +167,7 @@ public function toPostRequestInformation(ServiceUpdateMessage $body, ?MessagesRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilderGetQueryParameters.php index b5773bab97c..3cc5b89c633 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is available in the following national cloud deployments. + * Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php index 1ebd0ad3871..dfc8e83df94 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unarchive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + * Unarchive a list of serviceUpdateMessages for the signed in user. * @param UnarchivePostRequestBody $body The request body * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UnarchivePostRequestBody $body, ?UnarchiveRequestBuilderPos } /** - * Unarchive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + * Unarchive a list of serviceUpdateMessages for the signed in user. * @param UnarchivePostRequestBody $body The request body * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UnarchivePostRequestBody $body, ?Unarch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.php index 836bd54c995..14df5d0702d 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the favorite status of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + * Remove the favorite status of serviceUpdateMessages for the signed in user. * @param UnfavoritePostRequestBody $body The request body * @param UnfavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UnfavoritePostRequestBody $body, ?UnfavoriteRequestBuilderP } /** - * Remove the favorite status of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + * Remove the favorite status of serviceUpdateMessages for the signed in user. * @param UnfavoritePostRequestBody $body The request body * @param UnfavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UnfavoritePostRequestBody $body, ?Unfav $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.php index 07ec0be2e28..9899f57d24d 100644 --- a/src/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ServiceAnnouncementRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ServiceAnnouncementRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(ServiceAnnouncement $body, ?ServiceAnn $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.php b/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.php index 45f1f1a55f2..34fc224f806 100644 --- a/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $reques } /** - * Get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + * Get the tenant-level settings for SharePoint and OneDrive. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update one or more tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + * Update one or more tenant-level settings for SharePoint and OneDrive. * @param SharepointSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + * Get the tenant-level settings for SharePoint and OneDrive. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update one or more tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + * Update one or more tenant-level settings for SharePoint and OneDrive. * @param SharepointSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(SharepointSettings $body, ?SettingsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilderGetQueryParameters.php index bb03d2e171a..68bf30ed6bb 100644 --- a/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + * Get the tenant-level settings for SharePoint and OneDrive. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Sharepoint/SharepointRequestBuilder.php b/src/Generated/Admin/Sharepoint/SharepointRequestBuilder.php index 2021a193ece..fd22f9b96dd 100644 --- a/src/Generated/Admin/Sharepoint/SharepointRequestBuilder.php +++ b/src/Generated/Admin/Sharepoint/SharepointRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SharepointRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SharepointRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Sharepoint $body, ?SharepointRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php index 651a278310a..6049b13a799 100644 --- a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php +++ b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?AgreementAcceptancesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -110,7 +110,7 @@ public function toPostRequestInformation(AgreementAcceptance $body, ?AgreementAc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php b/src/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php index f57c2a1c525..a3726f5e437 100644 --- a/src/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php +++ b/src/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementAcceptanceItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementAcceptanceItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementAcceptance $body, ?AgreementA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/AgreementsRequestBuilder.php b/src/Generated/Agreements/AgreementsRequestBuilder.php index af3b7a7db44..ac9f1fa8ac7 100644 --- a/src/Generated/Agreements/AgreementsRequestBuilder.php +++ b/src/Generated/Agreements/AgreementsRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?AgreementsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -110,7 +110,7 @@ public function toPostRequestInformation(Agreement $body, ?AgreementsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php b/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php index 2f1595cb3f6..8fab371184a 100644 --- a/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php +++ b/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + * Get the details about the acceptance records for a specific agreement. * @param AcceptancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AgreementAcceptance $body, ?AcceptancesRequestBuilderPostRe } /** - * Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + * Get the details about the acceptance records for a specific agreement. * @param AcceptancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AcceptancesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AgreementAcceptance $body, ?Acceptances $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php b/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php index 4c877290417..9f5a72eb9ac 100644 --- a/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + * Get the details about the acceptance records for a specific agreement. */ class AcceptancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php b/src/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php index dbc64b55927..fcc3fee43db 100644 --- a/src/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php +++ b/src/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementAcceptanceItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementAcceptanceItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementAcceptance $body, ?AgreementA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/Agreements/Item/AgreementItemRequestBuilder.php index c5a4a8edac8..b1ff7b8d1a4 100644 --- a/src/Generated/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/Agreements/Item/AgreementItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AgreementItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Agreement $body, ?AgreementItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/File/FileRequestBuilder.php b/src/Generated/Agreements/Item/File/FileRequestBuilder.php index d01a6c4650e..34916c11c80 100644 --- a/src/Generated/Agreements/Item/File/FileRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/FileRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?FileRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param FileRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?FileRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param FileRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?FileRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(AgreementFile $body, ?FileRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php b/src/Generated/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php index 1a959882f21..aaaa81e521d 100644 --- a/src/Generated/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php +++ b/src/Generated/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. */ class FileRequestBuilderGetQueryParameters { diff --git a/src/Generated/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php b/src/Generated/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php index f0ae8ef9b24..b9f73c691db 100644 --- a/src/Generated/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AgreementFileLocalizationItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AgreementFileLocalizationItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AgreementFileLocalization $body, ?Agre $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php b/src/Generated/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php index d35935ec77e..e81c266060f 100644 --- a/src/Generated/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementFileVersionItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementFileVersionItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementFileVersion $body, ?Agreement $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php index bb1577be3bd..53e816bd2b3 100644 --- a/src/Generated/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AgreementFileVersion $body, ?VersionsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php b/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php index 95cc6224c4a..00e6e00fd17 100644 --- a/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php +++ b/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + * Get a list of the default and localized agreement files. * @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AgreementFileLocalization $body, ?LocalizationsRequestBuild } /** - * Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + * Get a list of the default and localized agreement files. * @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LocalizationsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AgreementFileLocalization $body, ?Local $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php b/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php index 0e0b58bb715..ff838c2a2af 100644 --- a/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + * Get a list of the default and localized agreement files. */ class LocalizationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php b/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php index 82bdd7b6734..0ec807e2e8e 100644 --- a/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/Agreements/Item/Files/FilesRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?FilesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new localized agreement file. This API is available in the following national cloud deployments. + * Create a new localized agreement file. * @param AgreementFileLocalization $body The request body * @param FilesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new localized agreement file. This API is available in the following national cloud deployments. + * Create a new localized agreement file. * @param AgreementFileLocalization $body The request body * @param FilesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(AgreementFileLocalization $body, ?Files $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php b/src/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php index 89ce1b0eb38..97a3a392508 100644 --- a/src/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php +++ b/src/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AgreementFileLocalizationItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AgreementFileLocalizationItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AgreementFileLocalization $body, ?Agre $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php b/src/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php index 11326dbc388..0306d1a7582 100644 --- a/src/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php +++ b/src/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementFileVersionItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementFileVersionItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementFileVersion $body, ?Agreement $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php index 75070c9919a..3c09bc7e96f 100644 --- a/src/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AgreementFileVersion $body, ?VersionsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/AppCatalogsRequestBuilder.php b/src/Generated/AppCatalogs/AppCatalogsRequestBuilder.php index cf0f4617ff4..ad24d5de372 100644 --- a/src/Generated/AppCatalogs/AppCatalogsRequestBuilder.php +++ b/src/Generated/AppCatalogs/AppCatalogsRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?AppCatalogsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(AppCatalogs $body, ?AppCatalogsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.php index 4f27d498ca5..be38da6f394 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?AppDefinitionsRequestBuilderGetRequestConfiguration $reques } /** - * Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). This API is available in the following national cloud deployments. + * Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). * @param TeamsAppDefinition $body The request body * @param AppDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?AppDefinitionsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). This API is available in the following national cloud deployments. + * Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). * @param TeamsAppDefinition $body The request body * @param AppDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(TeamsAppDefinition $body, ?AppDefinitio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php index d953ce4a160..f5e3492d8c1 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BotRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. + * Get the bot associated with a specific definition of the TeamsApp. * @param BotRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?BotRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. + * Get the bot associated with a specific definition of the TeamsApp. * @param BotRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?BotRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(TeamworkBot $body, ?BotRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php index 632f64f1076..975e30c3174 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. + * Get the bot associated with a specific definition of the TeamsApp. */ class BotRequestBuilderGetQueryParameters { diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php index ebf13bbce20..8c48c29235e 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.php @@ -69,7 +69,7 @@ public function get(?TeamsAppDefinitionItemRequestBuilderGetRequestConfiguration } /** - * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. * @param TeamsAppDefinition $body The request body * @param TeamsAppDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?TeamsAppDefinitionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,12 +120,12 @@ public function toGetRequestInformation(?TeamsAppDefinitionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. * @param TeamsAppDefinition $body The request body * @param TeamsAppDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -139,7 +139,7 @@ public function toPatchRequestInformation(TeamsAppDefinition $body, ?TeamsAppDef $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.php index 0b504dbc56c..7854084412c 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. + * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. * @param TeamsAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function patch(TeamsApp $body, ?TeamsAppItemRequestBuilderPatchRequestCon } /** - * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. + * Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. * @param TeamsAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?TeamsAppItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toGetRequestInformation(?TeamsAppItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(TeamsApp $body, ?TeamsAppItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.php index a3d8c73c004..5287adf4cbe 100644 --- a/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. This API is available in the following national cloud deployments. + * List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. * @param TeamsAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TeamsAppsRequestBuilderGetRequestConfiguration $requestConf } /** - * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. * @param TeamsApp $body The request body * @param TeamsAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsApp $body, ?TeamsAppsRequestBuilderPostRequestConfigur } /** - * List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. This API is available in the following national cloud deployments. + * List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. * @param TeamsAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TeamsAppsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + * Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. * @param TeamsApp $body The request body * @param TeamsAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsApp $body, ?TeamsAppsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilderGetQueryParameters.php b/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilderGetQueryParameters.php index 6b8bf3cf771..b8904c45d4c 100644 --- a/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. This API is available in the following national cloud deployments. + * List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. */ class TeamsAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php b/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php index 85054e4515d..99298d6def5 100644 --- a/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php +++ b/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. This API is available in the following national cloud deployments. + * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. * @param ApplicationTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ApplicationTemplatesRequestBuilderGetRequestConfiguration $ } /** - * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. This API is available in the following national cloud deployments. + * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. * @param ApplicationTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ApplicationTemplatesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilderGetQueryParameters.php index 1fcdda59cdd..dbe6ecd15a6 100644 --- a/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. This API is available in the following national cloud deployments. + * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. */ class ApplicationTemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php b/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php index 3884526a8fe..10805df8430 100644 --- a/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php +++ b/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties of an applicationTemplate object. This API is available in the following national cloud deployments. + * Retrieve the properties of an applicationTemplate object. * @param ApplicationTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?ApplicationTemplateItemRequestBuilderGetRequestConfiguratio } /** - * Retrieve the properties of an applicationTemplate object. This API is available in the following national cloud deployments. + * Retrieve the properties of an applicationTemplate object. * @param ApplicationTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?ApplicationTemplateItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilderGetQueryParameters.php b/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilderGetQueryParameters.php index 8b3d3bb8cf5..8e16a2abb37 100644 --- a/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an applicationTemplate object. This API is available in the following national cloud deployments. + * Retrieve the properties of an applicationTemplate object. */ class ApplicationTemplateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php b/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php index 6e7aded8fb6..29accca0aec 100644 --- a/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php +++ b/src/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. This API is available in the following national cloud deployments. + * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. * @param InstantiatePostRequestBody $body The request body * @param InstantiateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(InstantiatePostRequestBody $body, ?InstantiateRequestBuilde } /** - * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. This API is available in the following national cloud deployments. + * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. * @param InstantiatePostRequestBody $body The request body * @param InstantiateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(InstantiatePostRequestBody $body, ?Inst $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/ApplicationsRequestBuilder.php b/src/Generated/Applications/ApplicationsRequestBuilder.php index 8b1dcdf8e46..e10cf801f6b 100644 --- a/src/Generated/Applications/ApplicationsRequestBuilder.php +++ b/src/Generated/Applications/ApplicationsRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of applications in this organization. This API is available in the following national cloud deployments. + * Get the list of applications in this organization. * @param ApplicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function get(?ApplicationsRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new application object. This API is available in the following national cloud deployments. + * Create a new application object. * @param Application $body The request body * @param ApplicationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -117,7 +117,7 @@ public function post(Application $body, ?ApplicationsRequestBuilderPostRequestCo } /** - * Get the list of applications in this organization. This API is available in the following national cloud deployments. + * Get the list of applications in this organization. * @param ApplicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toGetRequestInformation(?ApplicationsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new application object. This API is available in the following national cloud deployments. + * Create a new application object. * @param Application $body The request body * @param ApplicationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -152,7 +152,7 @@ public function toPostRequestInformation(Application $body, ?ApplicationsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/ApplicationsRequestBuilderGetQueryParameters.php b/src/Generated/Applications/ApplicationsRequestBuilderGetQueryParameters.php index 8466058c2b6..4c9f8d0d891 100644 --- a/src/Generated/Applications/ApplicationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/ApplicationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of applications in this organization. This API is available in the following national cloud deployments. + * Get the list of applications in this organization. */ class ApplicationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Delta/DeltaRequestBuilder.php b/src/Generated/Applications/Delta/DeltaRequestBuilder.php index 13bc72f9072..ecd36ad5b2f 100644 --- a/src/Generated/Applications/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Applications/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index ef97a32cfc9..7582f2b2396 100644 --- a/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Applications/GetByIds/GetByIdsRequestBuilder.php index e7db47e8454..dc4ac6129b6 100644 --- a/src/Generated/Applications/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Applications/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php b/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php index a6fcf282ab4..40487be67c6 100644 --- a/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php +++ b/src/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. This API is available in the following national cloud deployments. + * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddKeyPostRequestBody $body, ?AddKeyRequestBuilderPostReque } /** - * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. This API is available in the following national cloud deployments. + * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddKeyPostRequestBody $body, ?AddKeyReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.php b/src/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.php index 99211399089..0deefa24ffc 100644 --- a/src/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.php +++ b/src/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a strong password or secret to an application. This API is available in the following national cloud deployments. + * Adds a strong password or secret to an application. * @param AddPasswordPostRequestBody $body The request body * @param AddPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPasswordPostRequestBody $body, ?AddPasswordRequestBuilde } /** - * Adds a strong password or secret to an application. This API is available in the following national cloud deployments. + * Adds a strong password or secret to an application. * @param AddPasswordPostRequestBody $body The request body * @param AddPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPasswordPostRequestBody $body, ?AddP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php b/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php index bb4a3bb2df1..1b111d3c9a3 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php @@ -90,7 +90,7 @@ public function toGetRequestInformation(?AppManagementPoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.php index 60d25216153..78a99e5bb96 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 74b768d9b58..27a28fec35f 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php index b24292b2708..ac12c09a46d 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.php @@ -47,7 +47,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. This API is available in the following national cloud deployments. + * Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,12 +80,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. This API is available in the following national cloud deployments. + * Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -99,7 +99,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/ApplicationItemRequestBuilder.php b/src/Generated/Applications/Item/ApplicationItemRequestBuilder.php index 5f462427e9d..ce6ad6d537c 100644 --- a/src/Generated/Applications/Item/ApplicationItemRequestBuilder.php +++ b/src/Generated/Applications/Item/ApplicationItemRequestBuilder.php @@ -199,7 +199,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. * @param ApplicationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -215,7 +215,7 @@ public function delete(?ApplicationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an application object. * @param ApplicationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -231,7 +231,7 @@ public function get(?ApplicationItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of an application object. This API is available in the following national cloud deployments. + * Update the properties of an application object. * @param Application $body The request body * @param ApplicationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -248,7 +248,7 @@ public function patch(Application $body, ?ApplicationItemRequestBuilderPatchRequ } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. * @param ApplicationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -261,12 +261,12 @@ public function toDeleteRequestInformation(?ApplicationItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an application object. * @param ApplicationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -282,12 +282,12 @@ public function toGetRequestInformation(?ApplicationItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an application object. This API is available in the following national cloud deployments. + * Update the properties of an application object. * @param Application $body The request body * @param ApplicationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -301,7 +301,7 @@ public function toPatchRequestInformation(Application $body, ?ApplicationItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/ApplicationItemRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/ApplicationItemRequestBuilderGetQueryParameters.php index 28b581acac5..80efee1e46d 100644 --- a/src/Generated/Applications/Item/ApplicationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/ApplicationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an application object. */ class ApplicationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index b54e26992ca..aab66c10c8c 100644 --- a/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 42160e4f4bf..179ca6c5f12 100644 --- a/src/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php b/src/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php index 8a38ba63252..b74c578ec28 100644 --- a/src/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php +++ b/src/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CreatedOnBehalfOfRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.php b/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.php index 5de7fc1dc26..edd6417fb11 100644 --- a/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. This API is available in the following national cloud deployments. + * Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. * @param ExtensionPropertiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ExtensionPropertiesRequestBuilderGetRequestConfiguration $r } /** - * Create a new directory extension definition, represented by an extensionProperty object. This API is available in the following national cloud deployments. + * Create a new directory extension definition, represented by an extensionProperty object. * @param ExtensionProperty $body The request body * @param ExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ExtensionProperty $body, ?ExtensionPropertiesRequestBuilder } /** - * Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. This API is available in the following national cloud deployments. + * Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. * @param ExtensionPropertiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ExtensionPropertiesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new directory extension definition, represented by an extensionProperty object. This API is available in the following national cloud deployments. + * Create a new directory extension definition, represented by an extensionProperty object. * @param ExtensionProperty $body The request body * @param ExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ExtensionProperty $body, ?ExtensionProp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilderGetQueryParameters.php index 8ac161942ec..41897b102a6 100644 --- a/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. This API is available in the following national cloud deployments. + * Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. */ class ExtensionPropertiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php b/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php index 8a31ce1ecaf..4226460da81 100644 --- a/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php +++ b/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). This API is available in the following national cloud deployments. + * Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). * @param ExtensionPropertyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ExtensionPropertyItemRequestBuilderDeleteRequestConfigur } /** - * Read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. + * Read a directory extension definition represented by an extensionProperty object. * @param ExtensionPropertyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(ExtensionProperty $body, ?ExtensionPropertyItemRequestBuil } /** - * Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). This API is available in the following national cloud deployments. + * Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). * @param ExtensionPropertyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionPropertyItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. + * Read a directory extension definition represented by an extensionProperty object. * @param ExtensionPropertyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ExtensionPropertyItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ExtensionProperty $body, ?ExtensionPro $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilderGetQueryParameters.php index 12a96c38fec..aef171b9882 100644 --- a/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. + * Read a directory extension definition represented by an extensionProperty object. */ class ExtensionPropertyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php index 195c6cbf6d2..3102e0b4a04 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the federatedIdentityCredential objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the federatedIdentityCredential objects and their properties. * @param FederatedIdentityCredentialsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?FederatedIdentityCredentialsRequestBuilderGetRequestConfigu } /** - * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. This API is available in the following national cloud deployments. + * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(FederatedIdentityCredential $body, ?FederatedIdentityCreden } /** - * Get a list of the federatedIdentityCredential objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the federatedIdentityCredential objects and their properties. * @param FederatedIdentityCredentialsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?FederatedIdentityCredentialsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. This API is available in the following national cloud deployments. + * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(FederatedIdentityCredential $body, ?Fed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilderGetQueryParameters.php index 5aff1119dc4..5a209e05920 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the federatedIdentityCredential objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the federatedIdentityCredential objects and their properties. */ class FederatedIdentityCredentialsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php index 55d7ea06e78..f2212723535 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a federatedIdentityCredential object from an application. This API is available in the following national cloud deployments. + * Delete a federatedIdentityCredential object from an application. * @param FederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?FederatedIdentityCredentialItemRequestBuilderDeleteReque } /** - * Read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a federatedIdentityCredential object. * @param FederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?FederatedIdentityCredentialItemRequestBuilderGetRequestConf } /** - * Update the properties of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + * Update the properties of a federatedIdentityCredential object. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(FederatedIdentityCredential $body, ?FederatedIdentityCrede } /** - * Delete a federatedIdentityCredential object from an application. This API is available in the following national cloud deployments. + * Delete a federatedIdentityCredential object from an application. * @param FederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?FederatedIdentityCredentialItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a federatedIdentityCredential object. * @param FederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?FederatedIdentityCredentialItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + * Update the properties of a federatedIdentityCredential object. * @param FederatedIdentityCredential $body The request body * @param FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(FederatedIdentityCredential $body, ?Fe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilderGetQueryParameters.php index cdccaf14fcb..d8b85d9a11c 100644 --- a/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a federatedIdentityCredential object. */ class FederatedIdentityCredentialItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index f4e0c546dbb..e6b61200c43 100644 --- a/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index bf4be8f8182..ab67b19da8f 100644 --- a/src/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php b/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php index cef3b7ba2bc..40bf9e5939f 100644 --- a/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPoliciesRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php b/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php index 7f8c161e2bc..726bf0db276 100644 --- a/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php +++ b/src/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPolicyItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Logo/LogoRequestBuilder.php b/src/Generated/Applications/Item/Logo/LogoRequestBuilder.php index 9874ce1a609..3fe4226970d 100644 --- a/src/Generated/Applications/Item/Logo/LogoRequestBuilder.php +++ b/src/Generated/Applications/Item/Logo/LogoRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?LogoRequestBuilderGetRequestConfigurati $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?LogoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index 19521328735..2b6625ecf64 100644 --- a/src/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php index 9ad981fe529..f32ca095d1b 100644 --- a/src/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 3041dc1ecf9..70a498d7950 100644 --- a/src/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.php index 449e7f8de1b..963a6e07c4e 100644 --- a/src/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index 31254f78e20..6a7581855ee 100644 --- a/src/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index 0b25de9137f..77d64755385 100644 --- a/src/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 206ba70e5d7..7014e98fe8f 100644 --- a/src/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php index cd3cba73d2d..6f70f5aa6b5 100644 --- a/src/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.php index 379ae281211..e9c11d81cd9 100644 --- a/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an owner from an application. As a recommended best practice, apps should have at least two owners. This API is available in the following national cloud deployments. + * Remove an owner from an application. As a recommended best practice, apps should have at least two owners. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an owner from an application. As a recommended best practice, apps should have at least two owners. This API is available in the following national cloud deployments. + * Remove an owner from an application. As a recommended best practice, apps should have at least two owners. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index aa578940284..c573cfd073d 100644 --- a/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an owner from an application. As a recommended best practice, apps should have at least two owners. This API is available in the following national cloud deployments. + * Remove an owner from an application. As a recommended best practice, apps should have at least two owners. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php b/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php index 47f531823b2..b23ce8324d1 100644 --- a/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php @@ -123,7 +123,7 @@ public function toGetRequestInformation(?OwnersRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.php index 13d2bd3f366..eca32af0257 100644 --- a/src/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add an owner to an application by posting to the owners collection. This API is available in the following national cloud deployments. + * Add an owner to an application by posting to the owners collection. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an owner to an application by posting to the owners collection. This API is available in the following national cloud deployments. + * Add an owner to an application by posting to the owners collection. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php b/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php index 32be12480a3..9ee0cfa8b9e 100644 --- a/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php +++ b/src/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. This API is available in the following national cloud deployments. + * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. * @param RemoveKeyPostRequestBody $body The request body * @param RemoveKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RemoveKeyPostRequestBody $body, ?RemoveKeyRequestBuilderPos } /** - * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. This API is available in the following national cloud deployments. + * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. * @param RemoveKeyPostRequestBody $body The request body * @param RemoveKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemoveKeyPostRequestBody $body, ?Remove $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.php b/src/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.php index 4879abb62be..f7bb47334c0 100644 --- a/src/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.php +++ b/src/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a password from an application. This API is available in the following national cloud deployments. + * Remove a password from an application. * @param RemovePasswordPostRequestBody $body The request body * @param RemovePasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RemovePasswordPostRequestBody $body, ?RemovePasswordRequest } /** - * Remove a password from an application. This API is available in the following national cloud deployments. + * Remove a password from an application. * @param RemovePasswordPostRequestBody $body The request body * @param RemovePasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemovePasswordPostRequestBody $body, ?R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php index c7aa1c2bbdb..f3ab6221130 100644 --- a/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.php b/src/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.php index afd9019e0c3..68538aaccae 100644 --- a/src/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.php +++ b/src/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. This API is available in the following national cloud deployments. + * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. * @param SetVerifiedPublisherPostRequestBody $body The request body * @param SetVerifiedPublisherRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetVerifiedPublisherPostRequestBody $body, ?SetVerifiedPubl } /** - * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. This API is available in the following national cloud deployments. + * Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. * @param SetVerifiedPublisherPostRequestBody $body The request body * @param SetVerifiedPublisherRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetVerifiedPublisherPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php index ea579971a73..a3504f3f0ee 100644 --- a/src/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. * @param AcquireAccessTokenPostRequestBody $body The request body * @param AcquireAccessTokenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcquireAccessTokenPostRequestBody $body, ?AcquireAccessToke } /** - * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. * @param AcquireAccessTokenPostRequestBody $body The request body * @param AcquireAccessTokenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcquireAccessTokenPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php index e49113344b7..cf301c12ca6 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. This API is available in the following national cloud deployments. + * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. * @param PauseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PauseRequestBuilderPostRequestConfiguration $requestConfig } /** - * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. This API is available in the following national cloud deployments. + * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. * @param PauseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PauseRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php index e6b8e3e0d70..827f4de7b94 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. This API is available in the following national cloud deployments. + * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. * @param ProvisionOnDemandPostRequestBody $body The request body * @param ProvisionOnDemandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ProvisionOnDemandPostRequestBody $body, ?ProvisionOnDemandR } /** - * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. This API is available in the following national cloud deployments. + * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. * @param ProvisionOnDemandPostRequestBody $body The request body * @param ProvisionOnDemandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ProvisionOnDemandPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php index 6839dc1cb10..f9d331cd1b6 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. * @param RestartPostRequestBody $body The request body * @param RestartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RestartPostRequestBody $body, ?RestartRequestBuilderPostReq } /** - * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. * @param RestartPostRequestBody $body The request body * @param RestartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RestartPostRequestBody $body, ?RestartR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php index 67de42f75e5..ccfad9303da 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DirectoriesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DirectoryDefinition $body, ?Directories $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php index 1e986f81a69..9ba54e41204 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DirectoryDefinitionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DirectoryDefinitionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DirectoryDefinition $body, ?DirectoryD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php index f110724354a..a04a98f709a 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?DiscoverRequestBuilderPostRequestConfiguration $requestCon } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?DiscoverRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php index b419e1c9a07..e9a4d51c20f 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FilterOperatorsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php index dd725c6b152..5ad25ec277c 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php index 80a4bc572a1..aea8fdbd921 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ParseExpressionPostRequestBody $body, ?ParseExpressionReque } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ParseExpressionPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php index efc2d0d9725..d4659422903 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?SchemaRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + * Retrieve the schema for a given synchronization job or template. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -124,12 +124,12 @@ public function toDeleteRequestInformation(?SchemaRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + * Retrieve the schema for a given synchronization job or template. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,7 +145,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -164,7 +164,7 @@ public function toPatchRequestInformation(SynchronizationSchema $body, ?SchemaRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php index 169f7fe532a..61e0ce6eb96 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + * Retrieve the schema for a given synchronization job or template. */ class SchemaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php index c45168dfec2..130fd168d1f 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?StartRequestBuilderPostRequestConfiguration $requestConfig } /** - * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?StartRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php index 48d90506035..c2f8a68d6fb 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @param SynchronizationJobItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?SynchronizationJobItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + * Retrieve the existing synchronization job and its properties. * @param SynchronizationJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(SynchronizationJob $body, ?SynchronizationJobItemRequestBu } /** - * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @param SynchronizationJobItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?SynchronizationJobItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + * Retrieve the existing synchronization job and its properties. * @param SynchronizationJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?SynchronizationJobItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(SynchronizationJob $body, ?Synchroniza $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php index 004c46a19c4..e304c209330 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + * Retrieve the existing synchronization job and its properties. */ class SynchronizationJobItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php index 6451299d8d8..0707f745d84 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + * Validate that the credentials are valid in the tenant. * @param ValidateCredentialsPostRequestBody $body The request body * @param ValidateCredentialsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidateCredentialsPostRequestBody $body, ?ValidateCredenti } /** - * Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + * Validate that the credentials are valid in the tenant. * @param ValidateCredentialsPostRequestBody $body The request body * @param ValidateCredentialsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidateCredentialsPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.php index c3e072723e7..cc099fa7702 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + * List existing jobs for a given application instance (service principal). * @param JobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?JobsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. * @param SynchronizationJob $body The request body * @param JobsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(SynchronizationJob $body, ?JobsRequestBuilderPostRequestCon } /** - * List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + * List existing jobs for a given application instance (service principal). * @param JobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?JobsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. * @param SynchronizationJob $body The request body * @param JobsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(SynchronizationJob $body, ?JobsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php index 2627c8a1b57..2a960132db2 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + * List existing jobs for a given application instance (service principal). */ class JobsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php index dcb681a9033..d4cb7bd2699 100644 --- a/src/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ValidateCredentialsPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.php index b42d2591b0a..afe90d7a6a9 100644 --- a/src/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.php @@ -69,7 +69,7 @@ public function toPutRequestInformation(array $body, ?SecretsRequestBuilderPutRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsableCollection($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.php index 836f4f0ccad..4d0ff38e2a3 100644 --- a/src/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SynchronizationRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SynchronizationRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPutRequestInformation(Synchronization $body, ?SynchronizationR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php index 18069e09c63..45c49fee8d1 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DirectoriesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DirectoryDefinition $body, ?Directories $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php index 311585864b8..2f8768f7a01 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DirectoryDefinitionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DirectoryDefinitionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DirectoryDefinition $body, ?DirectoryD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php index 0b637622322..967cddffcf8 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?DiscoverRequestBuilderPostRequestConfiguration $requestCon } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?DiscoverRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php index 2948b6af509..e218f6309f1 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FilterOperatorsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php index b947679329c..f7518c2423a 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php index af08b3088b5..6540e3ef9cf 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ParseExpressionPostRequestBody $body, ?ParseExpressionReque } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ParseExpressionPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php index 32fdad8f93b..36704cff5ac 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SchemaRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(SynchronizationSchema $body, ?SchemaRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php index 69aebc6596b..01feede8aa7 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php @@ -69,7 +69,7 @@ public function get(?SynchronizationTemplateItemRequestBuilderGetRequestConfigur } /** - * Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + * Update (override) the synchronization template associated with a given application. * @param SynchronizationTemplate $body The request body * @param SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?SynchronizationTemplateItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,12 +120,12 @@ public function toGetRequestInformation(?SynchronizationTemplateItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + * Update (override) the synchronization template associated with a given application. * @param SynchronizationTemplate $body The request body * @param SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -139,7 +139,7 @@ public function toPatchRequestInformation(SynchronizationTemplate $body, ?Synchr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.php b/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.php index e014635e2c5..32241668f93 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + * List the synchronization templates associated with a given application or service principal. * @param TemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SynchronizationTemplate $body, ?TemplatesRequestBuilderPost } /** - * List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + * List the synchronization templates associated with a given application or service principal. * @param TemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TemplatesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SynchronizationTemplate $body, ?Templat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php index 7eddcffbf6a..6c5df816fbb 100644 --- a/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + * List the synchronization templates associated with a given application or service principal. */ class TemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php index ce6d9ba8bb8..a8211633433 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a tokenIssuancePolicy from an application. This API is available in the following national cloud deployments. + * Remove a tokenIssuancePolicy from an application. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a tokenIssuancePolicy from an application. This API is available in the following national cloud deployments. + * Remove a tokenIssuancePolicy from an application. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 576a59e02ea..00b91375172 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a tokenIssuancePolicy from an application. This API is available in the following national cloud deployments. + * Remove a tokenIssuancePolicy from an application. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php index a2ab93f3a93..ca5e99678bb 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + * List the tokenIssuancePolicy objects that are assigned to an application. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Assign a tokenIssuancePolicy to an application. This API is available in the following national cloud deployments. + * Assign a tokenIssuancePolicy to an application. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + * List the tokenIssuancePolicy objects that are assigned to an application. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign a tokenIssuancePolicy to an application. This API is available in the following national cloud deployments. + * Assign a tokenIssuancePolicy to an application. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilderGetQueryParameters.php index a3679a7b029..3d2150f27b6 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + * List the tokenIssuancePolicy objects that are assigned to an application. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php index 125fd95aca9..240cf213ee0 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + * List the tokenIssuancePolicy objects that are assigned to an application. * @param TokenIssuancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?TokenIssuancePoliciesRequestBuilderGetRequestConfiguration } /** - * List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + * List the tokenIssuancePolicy objects that are assigned to an application. * @param TokenIssuancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?TokenIssuancePoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php index e9c7f578602..bed7206fbc5 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + * List the tokenIssuancePolicy objects that are assigned to an application. */ class TokenIssuancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php index 899f28dd4c4..8e38bfb3f94 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a tokenLifetimePolicy from an application. This API is available in the following national cloud deployments. + * Remove a tokenLifetimePolicy from an application. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a tokenLifetimePolicy from an application. This API is available in the following national cloud deployments. + * Remove a tokenLifetimePolicy from an application. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 898d0709e99..ca691807339 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a tokenLifetimePolicy from an application. This API is available in the following national cloud deployments. + * Remove a tokenLifetimePolicy from an application. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php index 1e260909328..dc1cd3bcd36 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. This API is available in the following national cloud deployments. + * Assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. This API is available in the following national cloud deployments. + * Assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilderGetQueryParameters.php index 9c283803342..e4032916c07 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php index 4086260c097..ee702d81ca5 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. * @param TokenLifetimePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?TokenLifetimePoliciesRequestBuilderGetRequestConfiguration } /** - * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. * @param TokenLifetimePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?TokenLifetimePoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php index a2f0dcd564d..893a129a766 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + * List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. */ class TokenLifetimePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php b/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php index dc5bf35a0a8..0d72282a3fe 100644 --- a/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php +++ b/src/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. This API is available in the following national cloud deployments. + * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. * @param UnsetVerifiedPublisherRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnsetVerifiedPublisherRequestBuilderPostRequestConfigurati } /** - * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. This API is available in the following national cloud deployments. + * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. * @param UnsetVerifiedPublisherRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnsetVerifiedPublisherRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.php index 724a0d84188..953a270b41e 100644 --- a/src/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.php b/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.php index 463b53001ef..2d57b17dd07 100644 --- a/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.php +++ b/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.php @@ -34,7 +34,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. * @param ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -50,7 +50,7 @@ public function delete(?ApplicationsWithAppIdRequestBuilderDeleteRequestConfigur } /** - * Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an application object. * @param ApplicationsWithAppIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -66,7 +66,7 @@ public function get(?ApplicationsWithAppIdRequestBuilderGetRequestConfiguration } /** - * Update the properties of an application object. This API is available in the following national cloud deployments. + * Update the properties of an application object. * @param Application $body The request body * @param ApplicationsWithAppIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -83,7 +83,7 @@ public function patch(Application $body, ?ApplicationsWithAppIdRequestBuilderPat } /** - * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + * Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. * @param ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,12 +96,12 @@ public function toDeleteRequestInformation(?ApplicationsWithAppIdRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an application object. * @param ApplicationsWithAppIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?ApplicationsWithAppIdRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an application object. This API is available in the following national cloud deployments. + * Update the properties of an application object. * @param Application $body The request body * @param ApplicationsWithAppIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPatchRequestInformation(Application $body, ?ApplicationsWithAp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilderGetQueryParameters.php b/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilderGetQueryParameters.php index 67551f69d29..b0b87a14213 100644 --- a/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilderGetQueryParameters.php +++ b/src/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an application object. */ class ApplicationsWithAppIdRequestBuilderGetQueryParameters { diff --git a/src/Generated/AuditLogs/AuditLogsRequestBuilder.php b/src/Generated/AuditLogs/AuditLogsRequestBuilder.php index 68b0d82043f..1fc71b798ff 100644 --- a/src/Generated/AuditLogs/AuditLogsRequestBuilder.php +++ b/src/Generated/AuditLogs/AuditLogsRequestBuilder.php @@ -102,7 +102,7 @@ public function toGetRequestInformation(?AuditLogsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -121,7 +121,7 @@ public function toPatchRequestInformation(AuditLogRoot $body, ?AuditLogsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.php b/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.php index a7a1319b37c..7c4e1849696 100644 --- a/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.php +++ b/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. This API is available in the following national cloud deployments. + * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. * @param DirectoryAuditsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DirectoryAudit $body, ?DirectoryAuditsRequestBuilderPostReq } /** - * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. This API is available in the following national cloud deployments. + * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. * @param DirectoryAuditsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?DirectoryAuditsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DirectoryAudit $body, ?DirectoryAuditsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilderGetQueryParameters.php b/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilderGetQueryParameters.php index aa227078e9c..57e22b4283c 100644 --- a/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilderGetQueryParameters.php +++ b/src/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. This API is available in the following national cloud deployments. + * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. */ class DirectoryAuditsRequestBuilderGetQueryParameters { diff --git a/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php b/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php index 4bafe13e826..0def5144035 100644 --- a/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php +++ b/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DirectoryAuditItemRequestBuilderDeleteRequestConfigurati } /** - * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. This API is available in the following national cloud deployments. + * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. * @param DirectoryAuditItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?DirectoryAuditItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. This API is available in the following national cloud deployments. + * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. * @param DirectoryAuditItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?DirectoryAuditItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(DirectoryAudit $body, ?DirectoryAuditI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilderGetQueryParameters.php b/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilderGetQueryParameters.php index 49f3e91c267..0f51e4c179a 100644 --- a/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. This API is available in the following national cloud deployments. + * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. */ class DirectoryAuditItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.php b/src/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.php index 0fd41ef8aea..dfd59a93f10 100644 --- a/src/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.php +++ b/src/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ProvisioningObjectSummaryItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ProvisioningObjectSummaryItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ProvisioningObjectSummary $body, ?Prov $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.php b/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.php index 6a12582aacb..818b4b98eb5 100644 --- a/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.php +++ b/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. This API is available in the following national cloud deployments. + * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. * @param ProvisioningRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ProvisioningObjectSummary $body, ?ProvisioningRequestBuilde } /** - * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. This API is available in the following national cloud deployments. + * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. * @param ProvisioningRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ProvisioningRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ProvisioningObjectSummary $body, ?Provi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilderGetQueryParameters.php b/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilderGetQueryParameters.php index 2ed76255839..3697b1346d6 100644 --- a/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilderGetQueryParameters.php +++ b/src/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. This API is available in the following national cloud deployments. + * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. */ class ProvisioningRequestBuilderGetQueryParameters { diff --git a/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php b/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php index ba6c3f20c2e..c2e4a02b8d1 100644 --- a/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php +++ b/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SignInItemRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. This API is available in the following national cloud deployments. + * Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. * @param SignInItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?SignInItemRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. This API is available in the following national cloud deployments. + * Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. * @param SignInItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?SignInItemRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(SignIn $body, ?SignInItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilderGetQueryParameters.php b/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilderGetQueryParameters.php index 686b29e1b83..0016af4069e 100644 --- a/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. This API is available in the following national cloud deployments. + * Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. */ class SignInItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php index 7847557dcf6..5aff0e0ff28 100644 --- a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php +++ b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. This API is available in the following national cloud deployments. + * Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. * @param SignInsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SignIn $body, ?SignInsRequestBuilderPostRequestConfiguratio } /** - * Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. This API is available in the following national cloud deployments. + * Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. * @param SignInsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SignInsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SignIn $body, ?SignInsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilderGetQueryParameters.php b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilderGetQueryParameters.php index 61b1fe6f960..b3ba228adb1 100644 --- a/src/Generated/AuditLogs/SignIns/SignInsRequestBuilderGetQueryParameters.php +++ b/src/Generated/AuditLogs/SignIns/SignInsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. This API is available in the following national cloud deployments. + * Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. */ class SignInsRequestBuilderGetQueryParameters { diff --git a/src/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php b/src/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php index 612499e8162..8166551f096 100644 --- a/src/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php +++ b/src/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationsReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AuthenticationMethodConfiguration $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php b/src/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php index ab5abe2df67..e1177d151c3 100644 --- a/src/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php +++ b/src/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AuthenticationMethodConfigurationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AuthenticationMethodConfiguration $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php b/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php index a0f9d966745..7dc9d8b0f0e 100644 --- a/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php +++ b/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationsReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AuthenticationMethodConfiguration $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php b/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php index 613572ed93e..56c69724cc3 100644 --- a/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php +++ b/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AuthenticationMethodConfigurationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AuthenticationMethodConfiguration $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php b/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php index c2f93c131e5..a450b17c24a 100644 --- a/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php +++ b/src/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?AuthenticationMethodsPolicyRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(AuthenticationMethodsPolicy $body, ?Au $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php b/src/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php index dfdf4099e14..0b6af5425ee 100644 --- a/src/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php +++ b/src/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?CertificateBasedAuthConfigurationReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(CertificateBasedAuthConfiguration $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php b/src/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php index c414369438f..206a5521df7 100644 --- a/src/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php +++ b/src/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?CertificateBasedAuthConfigurationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?CertificateBasedAuthConfigurationItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(CertificateBasedAuthConfiguration $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/ChatsRequestBuilder.php b/src/Generated/Chats/ChatsRequestBuilder.php index bd0b921597a..008fe032c5a 100644 --- a/src/Generated/Chats/ChatsRequestBuilder.php +++ b/src/Generated/Chats/ChatsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. * @param ChatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ChatsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new chat object. This API is available in the following national cloud deployments. + * Create a new chat object. * @param Chat $body The request body * @param ChatsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Chat $body, ?ChatsRequestBuilderPostRequestConfiguration $r } /** - * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. * @param ChatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ChatsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new chat object. This API is available in the following national cloud deployments. + * Create a new chat object. * @param Chat $body The request body * @param ChatsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Chat $body, ?ChatsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/ChatsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/ChatsRequestBuilderGetQueryParameters.php index 8e3d3339d3a..ae7fc745ba7 100644 --- a/src/Generated/Chats/ChatsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/ChatsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. */ class ChatsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php index 7bae71ccce4..a77227f6587 100644 --- a/src/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/ChatItemRequestBuilder.php b/src/Generated/Chats/Item/ChatItemRequestBuilder.php index 4a79853c235..b1ab08885f4 100644 --- a/src/Generated/Chats/Item/ChatItemRequestBuilder.php +++ b/src/Generated/Chats/Item/ChatItemRequestBuilder.php @@ -142,7 +142,7 @@ public function delete(?ChatItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. * @param ChatItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -158,7 +158,7 @@ public function get(?ChatItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a chat object. This API is available in the following national cloud deployments. + * Update the properties of a chat object. * @param Chat $body The request body * @param ChatItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -188,12 +188,12 @@ public function toDeleteRequestInformation(?ChatItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. * @param ChatItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -209,12 +209,12 @@ public function toGetRequestInformation(?ChatItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a chat object. This API is available in the following national cloud deployments. + * Update the properties of a chat object. * @param Chat $body The request body * @param ChatItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -228,7 +228,7 @@ public function toPatchRequestInformation(Chat $body, ?ChatItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php index 09090489903..e5b3cfc9215 100644 --- a/src/Generated/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. */ class ChatItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php b/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php index 69618e18b61..56d1a01eea6 100644 --- a/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Hide a chat for a user. This API is available in the following national cloud deployments. + * Hide a chat for a user. * @param HideForUserPostRequestBody $body The request body * @param HideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(HideForUserPostRequestBody $body, ?HideForUserRequestBuilde } /** - * Hide a chat for a user. This API is available in the following national cloud deployments. + * Hide a chat for a user. * @param HideForUserPostRequestBody $body The request body * @param HideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(HideForUserPostRequestBody $body, ?Hide $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php b/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php index d38bccbe2f8..92f6c4077e6 100644 --- a/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all app installations within a chat. This API is available in the following national cloud deployments. + * List all app installations within a chat. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?InstalledAppsRequestBuilderGetRequestConfiguration $request } /** - * Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + * Install a teamsApp to the specified chat. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsAppInstallation $body, ?InstalledAppsRequestBuilderPos } /** - * List all app installations within a chat. This API is available in the following national cloud deployments. + * List all app installations within a chat. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + * Install a teamsApp to the specified chat. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsAppInstallation $body, ?InstalledA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php index bedf63f1492..c87ac232e0d 100644 --- a/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all app installations within a chat. This API is available in the following national cloud deployments. + * List all app installations within a chat. */ class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php index 1643a02d82d..5983632797a 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php index 9fb166869e5..2757de2fc01 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php index b92991ae164..3918d0fc82f 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + * Uninstall an app installed within a chat. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TeamsAppInstallationItemRequestBuilderDeleteRequestConfi } /** - * Get an app installed in a chat. This API is available in the following national cloud deployments. + * Get an app installed in a chat. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(TeamsAppInstallation $body, ?TeamsAppInstallationItemReque } /** - * Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + * Uninstall an app installed within a chat. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?TeamsAppInstallationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an app installed in a chat. This API is available in the following national cloud deployments. + * Get an app installed in a chat. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?TeamsAppInstallationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(TeamsAppInstallation $body, ?TeamsAppI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php index 78ca9f35687..b7aa79acb9f 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an app installed in a chat. This API is available in the following national cloud deployments. + * Get an app installed in a chat. */ class TeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index cd1845d5b69..6a2ace9e66e 100644 --- a/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UpgradePostRequestBody $body, ?UpgradeRequestBuilderPostReq } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpgradePostRequestBody $body, ?UpgradeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php b/src/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php index 35f693b7e41..e28df9009b2 100644 --- a/src/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php +++ b/src/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?LastMessagePreviewRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?LastMessagePreviewRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ChatMessageInfo $body, ?LastMessagePre $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php b/src/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php index 938fbce4e3a..c638cd35fff 100644 --- a/src/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a chat as read for a user. This API is available in the following national cloud deployments. + * Mark a chat as read for a user. * @param MarkChatReadForUserPostRequestBody $body The request body * @param MarkChatReadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(MarkChatReadForUserPostRequestBody $body, ?MarkChatReadForU } /** - * Mark a chat as read for a user. This API is available in the following national cloud deployments. + * Mark a chat as read for a user. * @param MarkChatReadForUserPostRequestBody $body The request body * @param MarkChatReadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(MarkChatReadForUserPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php b/src/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php index 20203ef23b9..3337cb595ba 100644 --- a/src/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a chat as unread for a user. This API is available in the following national cloud deployments. + * Mark a chat as unread for a user. * @param MarkChatUnreadForUserPostRequestBody $body The request body * @param MarkChatUnreadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(MarkChatUnreadForUserPostRequestBody $body, ?MarkChatUnread } /** - * Mark a chat as unread for a user. This API is available in the following national cloud deployments. + * Mark a chat as unread for a user. * @param MarkChatUnreadForUserPostRequestBody $body The request body * @param MarkChatUnreadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(MarkChatUnreadForUserPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Chats/Item/Members/Add/AddRequestBuilder.php index f977a1e2ef1..812ff0bf722 100644 --- a/src/Generated/Chats/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 3d2a94a89e0..1758bc03da4 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + * Remove a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,11 +47,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -79,7 +79,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + * Remove a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index ec96bea4036..421bd7f2048 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments. + * Retrieve a conversationMember from a chat. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Members/MembersRequestBuilder.php b/src/Generated/Chats/Item/Members/MembersRequestBuilder.php index e6ac85f60f9..a94dd83b311 100644 --- a/src/Generated/Chats/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all conversation members in a chat or channel. This API is available in the following national cloud deployments. + * List all conversation members in a chat or channel. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a chat. This API is available in the following national cloud deployments. + * Add a conversationMember to a chat. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * List all conversation members in a chat or channel. This API is available in the following national cloud deployments. + * List all conversation members in a chat or channel. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a chat. This API is available in the following national cloud deployments. + * Add a conversationMember to a chat. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php index df0dfe83597..ff4f301d815 100644 --- a/src/Generated/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all conversation members in a chat or channel. This API is available in the following national cloud deployments. + * List all conversation members in a chat or channel. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php index d2d64bb14ff..cd1102cecc8 100644 --- a/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php index 7424e4f0045..3a9d2ef6ff7 100644 --- a/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -139,12 +139,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -160,7 +160,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -179,7 +179,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index a8635092de1..158f17022c8 100644 --- a/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 96d1d968e61..10373e22b8e 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 787bac1fe12..fa9fc33534f 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 945e95696dd..40225417180 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index be00fc8652d..17830de8c94 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 7b5112532e1..b8656fb01d1 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index d0fa3928079..31b5110efb2 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 54a189bf719..63c7ba0bbef 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index a59add23b50..7cf3056cac7 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 084f717555f..3f9d1c102a8 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 4aed78be3c4..680367f20a5 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 96643dfbdbc..009a4377759 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 93d4e7f2ae0..7d202c0b1f0 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 8011465cbbb..799842ca101 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 301565cf132..7e594a600c5 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 2eec5f62c29..fc668e065ac 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 0345c790a03..99c0827a2fd 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index d9d7fc81bf4..cd064c74e6d 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php index b3cf644bc7f..dfb94cade00 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 1359fcaedd8..c9ae8824876 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php index af1c794aa0e..7f7af8ea522 100644 --- a/src/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index d820c55f0ba..5572b0488f5 100644 --- a/src/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 1ef83aacaee..65cf0f50834 100644 --- a/src/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index e78b6ba1ba8..54e8942abdd 100644 --- a/src/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php index acac0e8b92a..c781eb687d7 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index 876c4d8dde0..3887cac98ca 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index 25ec52d0857..c400d8cb8f2 100644 --- a/src/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php index 2b923ac8667..7ba9fd8bc24 100644 --- a/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ResourceSpecificPermissionGrant $body, ?PermissionGrantsReq } /** - * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php index e436781bec6..9dddda9c049 100644 --- a/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. */ class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php b/src/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php index dc57a0059ed..7047bc84a41 100644 --- a/src/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php +++ b/src/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MessageRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php b/src/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php index 1993014fc43..f42a8f42a24 100644 --- a/src/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php +++ b/src/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpin a message from a chat. This API is available in the following national cloud deployments. + * Unpin a message from a chat. * @param PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function patch(PinnedChatMessageInfo $body, ?PinnedChatMessageInfoItemReq } /** - * Unpin a message from a chat. This API is available in the following national cloud deployments. + * Unpin a message from a chat. * @param PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?PinnedChatMessageInfoItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toGetRequestInformation(?PinnedChatMessageInfoItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(PinnedChatMessageInfo $body, ?PinnedCh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php b/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php index f6515659831..4c5c06bbb0e 100644 --- a/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + * Get a list of pinnedChatMessages in a chat. * @param PinnedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PinnedMessagesRequestBuilderGetRequestConfiguration $reques } /** - * Pin a chat message 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 you can pin a chat message. This API is available in the following national cloud deployments. + * Pin a chat message 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 you can pin a chat message. * @param PinnedChatMessageInfo $body The request body * @param PinnedMessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PinnedChatMessageInfo $body, ?PinnedMessagesRequestBuilderP } /** - * Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + * Get a list of pinnedChatMessages in a chat. * @param PinnedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PinnedMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Pin a chat message 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 you can pin a chat message. This API is available in the following national cloud deployments. + * Pin a chat message 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 you can pin a chat message. * @param PinnedChatMessageInfo $body The request body * @param PinnedMessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PinnedChatMessageInfo $body, ?PinnedMes $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php index ae634056bdb..9ca365ba7cf 100644 --- a/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + * Get a list of pinnedChatMessages in a chat. */ class PinnedMessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index b8dbee58be5..bbcfa678e9f 100644 --- a/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationPostRequestBody $body, ?SendActivit } /** - * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index fae7fbc2e0e..905fce21680 100644 --- a/src/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php index 1b13f3adda4..717c70ea7b1 100644 --- a/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + * Remove (unpin) a tab from the specified chat. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a chat. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + * Remove (unpin) a tab from the specified chat. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a chat. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index a3943df6a64..4cd94568320 100644 --- a/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a chat. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php b/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php index fbd62491ae3..b9f205599d8 100644 --- a/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Chats/Item/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified chat. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified chat. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php index 8d00ea0946e..4f6d698907e 100644 --- a/src/Generated/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified chat. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php b/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php index be78491df12..febb1e737f7 100644 --- a/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php +++ b/src/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unhide a chat for a user. This API is available in the following national cloud deployments. + * Unhide a chat for a user. * @param UnhideForUserPostRequestBody $body The request body * @param UnhideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UnhideForUserPostRequestBody $body, ?UnhideForUserRequestBu } /** - * Unhide a chat for a user. This API is available in the following national cloud deployments. + * Unhide a chat for a user. * @param UnhideForUserPostRequestBody $body The request body * @param UnhideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UnhideForUserPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php index b5579ce132c..c7e46aed121 100644 --- a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. * @param CallRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -106,7 +106,7 @@ public function post(CallRecord $body, ?CallRecordsRequestBuilderPostRequestConf } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. * @param CallRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,7 +122,7 @@ public function toGetRequestInformation(?CallRecordsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPostRequestInformation(CallRecord $body, ?CallRecordsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php index 6c21f640356..bca41cdc204 100644 --- a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. */ class CallRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php index 712d1c6a83f..a6d331cc9a2 100644 --- a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?CallRecordItemRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. * @param CallRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?CallRecordItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. * @param CallRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?CallRecordItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(CallRecord $body, ?CallRecordItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php index ddf0d76d9c2..33272b8777d 100644 --- a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. */ class CallRecordItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.php index ef39e230f8f..35b07d67f5c 100644 --- a/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?SegmentItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?SegmentItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Segment $body, ?SegmentItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.php index 761349f3617..285cba1b32a 100644 --- a/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SegmentsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Segment $body, ?SegmentsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.php index 9d860705686..7cd4b74c068 100644 --- a/src/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SessionItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SessionItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Session $body, ?SessionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.php index f6fb3c2829e..f1bf356ba9d 100644 --- a/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. + * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/callrecords-session-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/callrecords-callrecord-list-sessions?view=graph-rest-1.0 Find more info here */ public function get(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +84,7 @@ public function post(Session $body, ?SessionsRequestBuilderPostRequestConfigurat } /** - * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. + * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SessionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Session $body, ?SessionsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php index 5c9f526d205..dcce72c4015 100644 --- a/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. + * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. */ class SessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.php b/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.php index e75409abdc9..1138147bce9 100644 --- a/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.php @@ -67,7 +67,7 @@ public function toGetRequestInformation(?MicrosoftGraphCallRecordsGetDirectRouti } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.php b/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.php index f97ef09f2a3..22c34422183 100644 --- a/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.php @@ -67,7 +67,7 @@ public function toGetRequestInformation(?MicrosoftGraphCallRecordsGetPstnCallsWi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/CallsRequestBuilder.php b/src/Generated/Communications/Calls/CallsRequestBuilder.php index b367d441688..3388a6e12c9 100644 --- a/src/Generated/Communications/Calls/CallsRequestBuilder.php +++ b/src/Generated/Communications/Calls/CallsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a call object. * @param CallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?CallsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API is available in the following national cloud deployments. + * Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. * @param Call $body The request body * @param CallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,7 +92,7 @@ public function post(Call $body, ?CallsRequestBuilderPostRequestConfiguration $r } /** - * Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a call object. * @param CallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toGetRequestInformation(?CallsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API is available in the following national cloud deployments. + * Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. * @param Call $body The request body * @param CallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -127,7 +127,7 @@ public function toPostRequestInformation(Call $body, ?CallsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/CallsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/CallsRequestBuilderGetQueryParameters.php index d5c8a05220c..0e7f5645262 100644 --- a/src/Generated/Communications/Calls/CallsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/CallsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a call object. */ class CallsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php b/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php index 22c9d63bf05..8dba2dc8a35 100644 --- a/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. This API is available in the following national cloud deployments. + * Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. * @param AddLargeGalleryViewPostRequestBody $body The request body * @param AddLargeGalleryViewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddLargeGalleryViewPostRequestBody $body, ?AddLargeGalleryV } /** - * Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. This API is available in the following national cloud deployments. + * Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. * @param AddLargeGalleryViewPostRequestBody $body The request body * @param AddLargeGalleryViewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddLargeGalleryViewPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php b/src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php index 2ef0d950fdd..0f6c618768a 100644 --- a/src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API is available in the following national cloud deployments. + * Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. * @param AnswerPostRequestBody $body The request body * @param AnswerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AnswerPostRequestBody $body, ?AnswerRequestBuilderPostReque } /** - * Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API is available in the following national cloud deployments. + * Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. * @param AnswerPostRequestBody $body The request body * @param AnswerRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AnswerPostRequestBody $body, ?AnswerReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.php b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.php index b4a1ae72ead..f665e6a450a 100644 --- a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of audioRoutingGroup objects. * @param AudioRoutingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AudioRoutingGroupsRequestBuilderGetRequestConfiguration $re } /** - * Create a new audioRoutingGroup. This API is available in the following national cloud deployments. + * Create a new audioRoutingGroup. * @param AudioRoutingGroup $body The request body * @param AudioRoutingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AudioRoutingGroup $body, ?AudioRoutingGroupsRequestBuilderP } /** - * Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of audioRoutingGroup objects. * @param AudioRoutingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AudioRoutingGroupsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new audioRoutingGroup. This API is available in the following national cloud deployments. + * Create a new audioRoutingGroup. * @param AudioRoutingGroup $body The request body * @param AudioRoutingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AudioRoutingGroup $body, ?AudioRoutingG $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilderGetQueryParameters.php index 5af99c1f2d0..16af95485e7 100644 --- a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of audioRoutingGroup objects. */ class AudioRoutingGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php index 2b405071e73..31aee868417 100644 --- a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the specified audioRoutingGroup. This API is available in the following national cloud deployments. + * Delete the specified audioRoutingGroup. * @param AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?AudioRoutingGroupItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an audioRoutingGroup object. * @param AudioRoutingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?AudioRoutingGroupItemRequestBuilderGetRequestConfiguration } /** - * Modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. + * Modify sources and receivers of an audioRoutingGroup. * @param AudioRoutingGroup $body The request body * @param AudioRoutingGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(AudioRoutingGroup $body, ?AudioRoutingGroupItemRequestBuil } /** - * Delete the specified audioRoutingGroup. This API is available in the following national cloud deployments. + * Delete the specified audioRoutingGroup. * @param AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?AudioRoutingGroupItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an audioRoutingGroup object. * @param AudioRoutingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?AudioRoutingGroupItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. + * Modify sources and receivers of an audioRoutingGroup. * @param AudioRoutingGroup $body The request body * @param AudioRoutingGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(AudioRoutingGroup $body, ?AudioRouting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilderGetQueryParameters.php index 0fd7c431437..409d6d79a4c 100644 --- a/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an audioRoutingGroup object. */ class AudioRoutingGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php index 2687622fff1..3a3ec82a3ff 100644 --- a/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/CallItemRequestBuilder.php @@ -175,7 +175,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. This API is available in the following national cloud deployments. + * Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. * @param CallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -191,7 +191,7 @@ public function delete(?CallItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a call object. * @param CallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -223,7 +223,7 @@ public function patch(Call $body, ?CallItemRequestBuilderPatchRequestConfigurati } /** - * Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. This API is available in the following national cloud deployments. + * Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. * @param CallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -236,12 +236,12 @@ public function toDeleteRequestInformation(?CallItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a call object. * @param CallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -257,7 +257,7 @@ public function toGetRequestInformation(?CallItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -276,7 +276,7 @@ public function toPatchRequestInformation(Call $body, ?CallItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/CallItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/CallItemRequestBuilderGetQueryParameters.php index 25f0ff473d1..f4a8f33823f 100644 --- a/src/Generated/Communications/Calls/Item/CallItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/CallItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a call object. */ class CallItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php b/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php index 9c600d54328..253a35cff4d 100644 --- a/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this method can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a subscribeToTone operation because it operates independent of any operation queue. This API is available in the following national cloud deployments. + * Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this method can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a subscribeToTone operation because it operates independent of any operation queue. * @param CancelMediaProcessingPostRequestBody $body The request body * @param CancelMediaProcessingRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CancelMediaProcessingPostRequestBody $body, ?CancelMediaPro } /** - * Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this method can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a subscribeToTone operation because it operates independent of any operation queue. This API is available in the following national cloud deployments. + * Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this method can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a subscribeToTone operation because it operates independent of any operation queue. * @param CancelMediaProcessingPostRequestBody $body The request body * @param CancelMediaProcessingRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CancelMediaProcessingPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.php b/src/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.php index 4140ec8a1e0..c5c63501dd3 100644 --- a/src/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Allow applications to share screen content with the participants of a group call. This API is available in the following national cloud deployments. + * Allow applications to share screen content with the participants of a group call. * @param ChangeScreenSharingRolePostRequestBody $body The request body * @param ChangeScreenSharingRoleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ChangeScreenSharingRolePostRequestBody $body, ?ChangeScreen } /** - * Allow applications to share screen content with the participants of a group call. This API is available in the following national cloud deployments. + * Allow applications to share screen content with the participants of a group call. * @param ChangeScreenSharingRolePostRequestBody $body The request body * @param ChangeScreenSharingRoleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChangeScreenSharingRolePostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.php b/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.php index 0e0d46f67ae..fc713ccb2c7 100644 --- a/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + * Retrieve a list of contentSharingSession objects in a call. * @param ContentSharingSessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ContentSharingSession $body, ?ContentSharingSessionsRequest } /** - * Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + * Retrieve a list of contentSharingSession objects in a call. * @param ContentSharingSessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ContentSharingSessionsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ContentSharingSession $body, ?ContentSh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilderGetQueryParameters.php index 581c3373187..568a8bcecab 100644 --- a/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + * Retrieve a list of contentSharingSession objects in a call. */ class ContentSharingSessionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php index 83623480a18..f009806568b 100644 --- a/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ContentSharingSessionItemRequestBuilderDeleteRequestConf } /** - * Retrieve the properties of a contentSharingSession object in a call. This API is available in the following national cloud deployments. + * Retrieve the properties of a contentSharingSession object in a call. * @param ContentSharingSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ContentSharingSessionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a contentSharingSession object in a call. This API is available in the following national cloud deployments. + * Retrieve the properties of a contentSharingSession object in a call. * @param ContentSharingSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ContentSharingSessionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(ContentSharingSession $body, ?ContentS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilderGetQueryParameters.php index 8b89ee88c28..5762b19649d 100644 --- a/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a contentSharingSession object in a call. This API is available in the following national cloud deployments. + * Retrieve the properties of a contentSharingSession object in a call. */ class ContentSharingSessionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php b/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php index 60b4da4cd2e..22e072b0dcc 100644 --- a/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. This API is available in the following national cloud deployments. + * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. * @param KeepAliveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?KeepAliveRequestBuilderPostRequestConfiguration $requestCo } /** - * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. This API is available in the following national cloud deployments. + * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. * @param KeepAliveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?KeepAliveRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.php index 8c1b435674b..fde744b6793 100644 --- a/src/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation This API is available in the following national cloud deployments. + * Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation * @param MutePostRequestBody $body The request body * @param MuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MutePostRequestBody $body, ?MuteRequestBuilderPostRequestCo } /** - * Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation This API is available in the following national cloud deployments. + * Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation * @param MutePostRequestBody $body The request body * @param MuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MutePostRequestBody $body, ?MuteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.php index d0362695f92..53ee11e4205 100644 --- a/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?CommsOperationItemRequestBuilderDeleteRequestConfigurati } /** - * Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + * Get the status of an operation that adds the large gallery view to a call. * @param CommsOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?CommsOperationItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + * Get the status of an operation that adds the large gallery view to a call. * @param CommsOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?CommsOperationItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(CommsOperation $body, ?CommsOperationI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilderGetQueryParameters.php index 3ea9b25e1b8..43d321a50fe 100644 --- a/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + * Get the status of an operation that adds the large gallery view to a call. */ class CommsOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.php index d15be1923c1..f7df4f103a7 100644 --- a/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + * Get the status of an operation that adds the large gallery view to a call. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(CommsOperation $body, ?OperationsRequestBuilderPostRequestC } /** - * Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + * Get the status of an operation that adds the large gallery view to a call. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(CommsOperation $body, ?OperationsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index 3474c9fbb52..65b144d6705 100644 --- a/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + * Get the status of an operation that adds the large gallery view to a call. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index e8ca82c1d9b..7e1d99c832b 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -48,7 +48,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(InvitePostRequestBody $body, ?InviteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.php index acfc89e246a..b22d5ee6ed3 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. This API is available in the following national cloud deployments. + * Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. * @param MutePostRequestBody $body The request body * @param MuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MutePostRequestBody $body, ?MuteRequestBuilderPostRequestCo } /** - * Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. This API is available in the following national cloud deployments. + * Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. * @param MutePostRequestBody $body The request body * @param MuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MutePostRequestBody $body, ?MuteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.php index 40a21f518d0..5c6e00b1e68 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. * @param ParticipantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?ParticipantItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a participant object. * @param ParticipantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(Participant $body, ?ParticipantItemRequestBuilderPatchRequ } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. * @param ParticipantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?ParticipantItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a participant object. * @param ParticipantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?ParticipantItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(Participant $body, ?ParticipantItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilderGetQueryParameters.php index 34b34043930..f57b05e8310 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a participant object. */ class ParticipantItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php index 28b81592197..8c949c10512 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Put a participant on hold and play music in the background. This API is available in the following national cloud deployments. + * Put a participant on hold and play music in the background. * @param StartHoldMusicPostRequestBody $body The request body * @param StartHoldMusicRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(StartHoldMusicPostRequestBody $body, ?StartHoldMusicRequest } /** - * Put a participant on hold and play music in the background. This API is available in the following national cloud deployments. + * Put a participant on hold and play music in the background. * @param StartHoldMusicPostRequestBody $body The request body * @param StartHoldMusicRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(StartHoldMusicPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.php index a764e0a0a69..18dbd8f7536 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reincorporate a participant previously put on hold to the call. This API is available in the following national cloud deployments. + * Reincorporate a participant previously put on hold to the call. * @param StopHoldMusicPostRequestBody $body The request body * @param StopHoldMusicRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(StopHoldMusicPostRequestBody $body, ?StopHoldMusicRequestBu } /** - * Reincorporate a participant previously put on hold to the call. This API is available in the following national cloud deployments. + * Reincorporate a participant previously put on hold to the call. * @param StopHoldMusicPostRequestBody $body The request body * @param StopHoldMusicRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(StopHoldMusicPostRequestBody $body, ?St $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.php index fa61a8dcdb5..a2f01deab0f 100644 --- a/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + * Retrieve a list of participant objects in the call. * @param ParticipantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Participant $body, ?ParticipantsRequestBuilderPostRequestCo } /** - * Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + * Retrieve a list of participant objects in the call. * @param ParticipantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?ParticipantsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Participant $body, ?ParticipantsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilderGetQueryParameters.php index cb0c52678c5..45bcc3ae5e0 100644 --- a/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + * Retrieve a list of participant objects in the call. */ class ParticipantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php b/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php index 03b6d37cd30..c37b3060fc7 100644 --- a/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Play a prompt in the call. For more information about how to handle operations, see commsOperation This API is available in the following national cloud deployments. + * Play a prompt in the call. For more information about how to handle operations, see commsOperation * @param PlayPromptPostRequestBody $body The request body * @param PlayPromptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(PlayPromptPostRequestBody $body, ?PlayPromptRequestBuilderP } /** - * Play a prompt in the call. For more information about how to handle operations, see commsOperation This API is available in the following national cloud deployments. + * Play a prompt in the call. For more information about how to handle operations, see commsOperation * @param PlayPromptPostRequestBody $body The request body * @param PlayPromptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(PlayPromptPostRequestBody $body, ?PlayP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.php b/src/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.php index 0742353ab3a..c2481462f2e 100644 --- a/src/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. This API is available in the following national cloud deployments. + * Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. * @param RecordResponsePostRequestBody $body The request body * @param RecordResponseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(RecordResponsePostRequestBody $body, ?RecordResponseRequest } /** - * Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. This API is available in the following national cloud deployments. + * Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. * @param RecordResponsePostRequestBody $body The request body * @param RecordResponseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(RecordResponsePostRequestBody $body, ?R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.php b/src/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.php index bbb1a0af91a..ca2d637213f 100644 --- a/src/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. This API is available in the following national cloud deployments. + * Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. * @param RedirectPostRequestBody $body The request body * @param RedirectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RedirectPostRequestBody $body, ?RedirectRequestBuilderPostR } /** - * Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. This API is available in the following national cloud deployments. + * Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. * @param RedirectPostRequestBody $body The request body * @param RedirectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RedirectPostRequestBody $body, ?Redirec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.php b/src/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.php index 6f472f7ab3e..675f6dfc4b9 100644 --- a/src/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. This API is available in the following national cloud deployments. + * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. * @param RejectPostRequestBody $body The request body * @param RejectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RejectPostRequestBody $body, ?RejectRequestBuilderPostReque } /** - * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. This API is available in the following national cloud deployments. + * Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. * @param RejectPostRequestBody $body The request body * @param RejectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RejectPostRequestBody $body, ?RejectReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.php b/src/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.php index 8a57b948a84..068d23626e3 100644 --- a/src/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'. This API is available in the following national cloud deployments. + * Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'. * @param SubscribeToTonePostRequestBody $body The request body * @param SubscribeToToneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(SubscribeToTonePostRequestBody $body, ?SubscribeToToneReque } /** - * Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'. This API is available in the following national cloud deployments. + * Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'. * @param SubscribeToTonePostRequestBody $body The request body * @param SubscribeToToneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(SubscribeToTonePostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.php b/src/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.php index 5a4276f4091..e434ffd7a4f 100644 --- a/src/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. This API is available in the following national cloud deployments. + * Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. * @param TransferPostRequestBody $body The request body * @param TransferRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TransferPostRequestBody $body, ?TransferRequestBuilderPostR } /** - * Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. This API is available in the following national cloud deployments. + * Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. * @param TransferPostRequestBody $body The request body * @param TransferRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TransferPostRequestBody $body, ?Transfe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.php index 9ebe5952f60..7e8dea5ca7e 100644 --- a/src/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. This API is available in the following national cloud deployments. + * Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. * @param UnmutePostRequestBody $body The request body * @param UnmuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UnmutePostRequestBody $body, ?UnmuteRequestBuilderPostReque } /** - * Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. This API is available in the following national cloud deployments. + * Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. * @param UnmutePostRequestBody $body The request body * @param UnmuteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UnmutePostRequestBody $body, ?UnmuteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.php b/src/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.php index e07169d7688..ee7dc68edd4 100644 --- a/src/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. This API is available in the following national cloud deployments. + * Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. * @param UpdateRecordingStatusPostRequestBody $body The request body * @param UpdateRecordingStatusRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UpdateRecordingStatusPostRequestBody $body, ?UpdateRecordin } /** - * Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. This API is available in the following national cloud deployments. + * Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. * @param UpdateRecordingStatusPostRequestBody $body The request body * @param UpdateRecordingStatusRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UpdateRecordingStatusPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.php b/src/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.php index fff9269cbfa..518dfc34571 100644 --- a/src/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.php +++ b/src/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. This API is available in the following national cloud deployments. + * Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. * @param LogTeleconferenceDeviceQualityPostRequestBody $body The request body * @param LogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(LogTeleconferenceDeviceQualityPostRequestBody $body, ?LogTe } /** - * Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. This API is available in the following national cloud deployments. + * Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. * @param LogTeleconferenceDeviceQualityPostRequestBody $body The request body * @param LogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(LogTeleconferenceDeviceQualityPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/CommunicationsRequestBuilder.php b/src/Generated/Communications/CommunicationsRequestBuilder.php index 59b5c60f23d..314c860f02f 100644 --- a/src/Generated/Communications/CommunicationsRequestBuilder.php +++ b/src/Generated/Communications/CommunicationsRequestBuilder.php @@ -118,7 +118,7 @@ public function toGetRequestInformation(?CommunicationsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -137,7 +137,7 @@ public function toPatchRequestInformation(CloudCommunications $body, ?Communicat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.php b/src/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.php index 1e077e9393f..ecdc6bb911b 100644 --- a/src/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.php +++ b/src/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the presence information for multiple users. This API is available in the following national cloud deployments. + * Get the presence information for multiple users. * @param GetPresencesByUserIdPostRequestBody $body The request body * @param GetPresencesByUserIdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetPresencesByUserIdPostRequestBody $body, ?GetPresencesByU } /** - * Get the presence information for multiple users. This API is available in the following national cloud deployments. + * Get the presence information for multiple users. * @param GetPresencesByUserIdPostRequestBody $body The request body * @param GetPresencesByUserIdRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetPresencesByUserIdPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php index 26ca9915bf0..f2ce18c54a7 100644 --- a/src/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. * @param CreateOrGetPostRequestBody $body The request body * @param CreateOrGetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateOrGetPostRequestBody $body, ?CreateOrGetRequestBuilde } /** - * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. * @param CreateOrGetPostRequestBody $body The request body * @param CreateOrGetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateOrGetPostRequestBody $body, ?Crea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php index 0378339a925..42855f592f3 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php @@ -15,7 +15,7 @@ use Microsoft\Kiota\Abstractions\RequestInformation; /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ class AttendanceReportsRequestBuilder extends BaseRequestBuilder { @@ -27,7 +27,7 @@ public function count(): CountRequestBuilder { } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param string $meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @return MeetingAttendanceReportItemRequestBuilder */ @@ -52,11 +52,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 Find more info here */ public function get(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +83,7 @@ public function post(MeetingAttendanceReport $body, ?AttendanceReportsRequestBui } /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +99,7 @@ public function toGetRequestInformation(?AttendanceReportsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +118,7 @@ public function toPostRequestInformation(MeetingAttendanceReport $body, ?Attenda $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php index 63f308b2327..144b496dcd2 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications */ class AttendanceReportsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php index 0f7913cd6be..1f5809aa820 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + * Get a list of attendanceRecord objects and their properties. * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPos } /** - * Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + * Get a list of attendanceRecord objects and their properties. * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AttendanceRecordsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AttendanceRecord $body, ?AttendanceReco $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php index a0eef7e7a20..8697309bf20 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + * Get a list of attendanceRecord objects and their properties. */ class AttendanceRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php index 1210ea1dc59..accc0652a72 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AttendanceRecordItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AttendanceRecordItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AttendanceRecord $body, ?AttendanceRec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php index d34a2580b04..0fa882650a7 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -13,7 +13,7 @@ use Microsoft\Kiota\Abstractions\RequestInformation; /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilder { @@ -54,11 +54,10 @@ public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestCo } /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 Find more info here */ public function get(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,12 +98,12 @@ public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +119,7 @@ public function toGetRequestInformation(?MeetingAttendanceReportItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +138,7 @@ public function toPatchRequestInformation(MeetingAttendanceReport $body, ?Meetin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php index 0a758f89468..52b4159f475 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from communications */ class MeetingAttendanceReportItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php index 5696e91e9b9..923eb271f6d 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?AttendeeReportRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?AttendeeReportRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php index f93680d5904..467b8a1c709 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?GetVirtualAppointmentJoinWebUrlRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php index beb3115d560..08640fbfd06 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php @@ -22,7 +22,7 @@ class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ public function attendanceReports(): AttendanceReportsRequestBuilder { return new AttendanceReportsRequestBuilder($this->pathParameters, $this->requestAdapter); @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnlineMeetingItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnlineMeetingItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnlineMeeting $body, ?OnlineMeetingIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php index c7bea8169b3..a705911eedb 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -54,10 +54,11 @@ public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguratio } /** - * Get recordings from communications + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 Find more info here */ public function get(?CallRecordingItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,12 +99,12 @@ public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get recordings from communications + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +120,7 @@ public function toGetRequestInformation(?CallRecordingItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +139,7 @@ public function toPatchRequestInformation(CallRecording $body, ?CallRecordingIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php index ecf5c32da21..4c14d3faccc 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get recordings from communications + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. */ class CallRecordingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php index 66d22aac33d..d949dd69a47 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get content for the navigation property recordings from communications + * The content of the recording. Read-only. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -49,7 +49,7 @@ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update content for the navigation property recordings in communications + * The content of the recording. Read-only. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfi } /** - * Get content for the navigation property recordings from communications + * The content of the recording. Read-only. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -78,12 +78,12 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } /** - * Update content for the navigation property recordings in communications + * The content of the recording. Read-only. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php index 620474e57de..ab777b3c1d3 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get recordings from communications + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestCo } /** - * Get recordings from communications + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RecordingsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(CallRecording $body, ?RecordingsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php index 74a7c74dae9..c2d1cf603c5 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get recordings from communications + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. */ class RecordingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php index 4f598907bfe..8d28e83c1d6 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?CallTranscriptItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?CallTranscriptItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?CallTranscriptItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(CallTranscript $body, ?CallTranscriptI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php index be8c1c9778a..c4de24482b0 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. */ class CallTranscriptItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php index 8d966f5e49e..7f20491c62a 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php index 248464203fe..2c378d6b24d 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?MetadataContentRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?MetadataContentR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php index 38ec7f01694..3231f2c156e 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(CallTranscript $body, ?TranscriptsRequestBuilderPostRequest } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TranscriptsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(CallTranscript $body, ?TranscriptsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php index ef090d7931e..d86580d0035 100644 --- a/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. */ class TranscriptsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php index 91f4b9ad787..5c09c718e16 100644 --- a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php +++ b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. * @param OnlineMeetingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(OnlineMeeting $body, ?OnlineMeetingsRequestBuilderPostReque } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. * @param OnlineMeetingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?OnlineMeetingsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(OnlineMeeting $body, ?OnlineMeetingsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php index 8cb3bba5c0c..bcf676ae09c 100644 --- a/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. */ class OnlineMeetingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php b/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php index 73df72793d6..823530efddd 100644 --- a/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. This API is available in the following national cloud deployments. + * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. * @param ClearPresencePostRequestBody $body The request body * @param ClearPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ClearPresencePostRequestBody $body, ?ClearPresenceRequestBu } /** - * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. This API is available in the following national cloud deployments. + * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. * @param ClearPresencePostRequestBody $body The request body * @param ClearPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ClearPresencePostRequestBody $body, ?Cl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php b/src/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php index 600d0d4a6a9..9285535e870 100644 --- a/src/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + * Clear the preferred availability and activity status for a user. * @param ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearUserPreferredPresenceRequestBuilderPostRequestConfigu } /** - * Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + * Clear the preferred availability and activity status for a user. * @param ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearUserPreferredPresenceRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php index 005dea8b53a..4c912e42fdc 100644 --- a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?PresenceItemRequestBuilderDeleteRequestConfiguration $re } /** - * Get a user's presence information. This API is available in the following national cloud deployments. + * Get a user's presence information. * @param PresenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?PresenceItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a user's presence information. This API is available in the following national cloud deployments. + * Get a user's presence information. * @param PresenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?PresenceItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(Presence $body, ?PresenceItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilderGetQueryParameters.php index c7f99c1a122..d45bc7ada53 100644 --- a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a user's presence information. This API is available in the following national cloud deployments. + * Get a user's presence information. */ class PresenceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php index 39cb8e1f0ab..8c83c365961 100644 --- a/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the state of a user's presence session as an application. This API is available in the following national cloud deployments. + * Set the state of a user's presence session as an application. * @param SetPresencePostRequestBody $body The request body * @param SetPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetPresencePostRequestBody $body, ?SetPresenceRequestBuilde } /** - * Set the state of a user's presence session as an application. This API is available in the following national cloud deployments. + * Set the state of a user's presence session as an application. * @param SetPresencePostRequestBody $body The request body * @param SetPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetPresencePostRequestBody $body, ?SetP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php index 3737771e3b4..9c7cf91eddb 100644 --- a/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param SetStatusMessagePostRequestBody $body The request body * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetStatusMessagePostRequestBody $body, ?SetStatusMessageReq } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param SetStatusMessagePostRequestBody $body The request body * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetStatusMessagePostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php index 82c8684c17c..ad6a1b997c4 100644 --- a/src/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. This API is available in the following national cloud deployments. + * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. * @param SetUserPreferredPresencePostRequestBody $body The request body * @param SetUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetUserPreferredPresencePostRequestBody $body, ?SetUserPref } /** - * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. This API is available in the following national cloud deployments. + * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. * @param SetUserPreferredPresencePostRequestBody $body The request body * @param SetUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetUserPreferredPresencePostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/PresencesRequestBuilder.php b/src/Generated/Communications/Presences/PresencesRequestBuilder.php index 83e365b7b06..817696fe77a 100644 --- a/src/Generated/Communications/Presences/PresencesRequestBuilder.php +++ b/src/Generated/Communications/Presences/PresencesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a user's presence information. This API is available in the following national cloud deployments. + * Get a user's presence information. * @param PresencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Presence $body, ?PresencesRequestBuilderPostRequestConfigur } /** - * Get a user's presence information. This API is available in the following national cloud deployments. + * Get a user's presence information. * @param PresencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?PresencesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Presence $body, ?PresencesRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Communications/Presences/PresencesRequestBuilderGetQueryParameters.php b/src/Generated/Communications/Presences/PresencesRequestBuilderGetQueryParameters.php index 4d5bc1075f3..4808e9505c5 100644 --- a/src/Generated/Communications/Presences/PresencesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/Presences/PresencesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a user's presence information. This API is available in the following national cloud deployments. + * Get a user's presence information. */ class PresencesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Compliance/ComplianceRequestBuilder.php b/src/Generated/Compliance/ComplianceRequestBuilder.php index 22089e3db90..a177d104789 100644 --- a/src/Generated/Compliance/ComplianceRequestBuilder.php +++ b/src/Generated/Compliance/ComplianceRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ComplianceRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(Compliance $body, ?ComplianceRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/ConnectionsRequestBuilder.php b/src/Generated/Connections/ConnectionsRequestBuilder.php index fc75c3e9e25..18269352f89 100644 --- a/src/Generated/Connections/ConnectionsRequestBuilder.php +++ b/src/Generated/Connections/ConnectionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ConnectionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ExternalConnection $body, ?ConnectionsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.php b/src/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.php index b513c2c2f7b..7c91d951087 100644 --- a/src/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.php +++ b/src/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?ExternalConnectionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?ExternalConnectionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(ExternalConnection $body, ?ExternalCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Groups/GroupsRequestBuilder.php b/src/Generated/Connections/Item/Groups/GroupsRequestBuilder.php index 5a92a52f71a..3d4410b542e 100644 --- a/src/Generated/Connections/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/GroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new externalGroup object. This API is available in the following national cloud deployments. + * Create a new externalGroup object. * @param ExternalGroup $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(ExternalGroup $body, ?GroupsRequestBuilderPostRequestConfig } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new externalGroup object. This API is available in the following national cloud deployments. + * Create a new externalGroup object. * @param ExternalGroup $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(ExternalGroup $body, ?GroupsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php index 41004a418b9..5ae62e11185 100644 --- a/src/Generated/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php b/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php index b4b10864a0c..d9402469745 100644 --- a/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an externalGroup object. This API is available in the following national cloud deployments. + * Delete an externalGroup object. * @param ExternalGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ExternalGroupItemRequestBuilderDeleteRequestConfiguratio } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param ExternalGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ExternalGroupItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of an externalGroup object. This API is available in the following national cloud deployments. + * Update the properties of an externalGroup object. * @param ExternalGroup $body The request body * @param ExternalGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ExternalGroup $body, ?ExternalGroupItemRequestBuilderPatch } /** - * Delete an externalGroup object. This API is available in the following national cloud deployments. + * Delete an externalGroup object. * @param ExternalGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ExternalGroupItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param ExternalGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ExternalGroupItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an externalGroup object. This API is available in the following national cloud deployments. + * Update the properties of an externalGroup object. * @param ExternalGroup $body The request body * @param ExternalGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ExternalGroup $body, ?ExternalGroupIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php index bea71e07258..1da51818811 100644 --- a/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. */ class ExternalGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php b/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php index 4e8e7d06046..c4a044175aa 100644 --- a/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an identity resource to remove the corresponding member from an externalGroup. This API is available in the following national cloud deployments. + * Delete an identity resource to remove the corresponding member from an externalGroup. * @param IdentityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(Identity $body, ?IdentityItemRequestBuilderPatchRequestCon } /** - * Delete an identity resource to remove the corresponding member from an externalGroup. This API is available in the following national cloud deployments. + * Delete an identity resource to remove the corresponding member from an externalGroup. * @param IdentityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?IdentityItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?IdentityItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Identity $body, ?IdentityItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php b/src/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php index 22b33280a21..3855a9c8505 100644 --- a/src/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create an identity resource for a new member in an externalGroup. This API is available in the following national cloud deployments. + * Create an identity resource for a new member in an externalGroup. * @param Identity $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an identity resource for a new member in an externalGroup. This API is available in the following national cloud deployments. + * Create an identity resource for a new member in an externalGroup. * @param Identity $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Identity $body, ?MembersRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php index 9a790f6b1d1..55f570fd0f4 100644 --- a/src/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ExternalActivity $body, ?ActivitiesRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php b/src/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php index e997bbe5503..0be6f556b91 100644 --- a/src/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ExternalActivityItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ExternalActivityItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ExternalActivity $body, ?ExternalActiv $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php b/src/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php index 4c79881bfc2..a5bfc686912 100644 --- a/src/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PerformedByRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index aab4c27ec77..03bcbf5e6b2 100644 --- a/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an externalItem object. This API is available in the following national cloud deployments. + * Delete an externalItem object. * @param ExternalItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?ExternalItemItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ExternalItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutReques } /** - * Delete an externalItem object. This API is available in the following national cloud deployments. + * Delete an externalItem object. * @param ExternalItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?ExternalItemItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ExternalItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPutRequestInformation(ExternalItem $body, ?ExternalItemItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php index 58dbfd1350e..e9e84be9a89 100644 --- a/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. */ class ExternalItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php b/src/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php index 937db7862f9..4142ec53075 100644 --- a/src/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(AddActivitiesPostRequestBody $body, ?Mi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/ItemsRequestBuilder.php b/src/Generated/Connections/Item/Items/ItemsRequestBuilder.php index 78ed63bba48..1ad07eee1bc 100644 --- a/src/Generated/Connections/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Connections/Item/Items/ItemsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(ExternalItem $body, ?ItemsRequestBuilderPostRequestConfigur } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ExternalItem $body, ?ItemsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php index 4457204321b..4691da3cba6 100644 --- a/src/Generated/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. */ class ItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php b/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php index fb82a50cf27..9633dbbf799 100644 --- a/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php +++ b/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ConnectionOperationItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param ConnectionOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ConnectionOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param ConnectionOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ConnectionOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(ConnectionOperation $body, ?Connection $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php index cab52bbd669..53c959f84f7 100644 --- a/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. */ class ConnectionOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Connections/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Connections/Item/Operations/OperationsRequestBuilder.php index 561ebc02881..b61b7efd823 100644 --- a/src/Generated/Connections/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Connections/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(ConnectionOperation $body, ?OperationsRequestBuilderPostReq } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ConnectionOperation $body, ?OperationsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index 25652892805..d3bd257c9d1 100644 --- a/src/Generated/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php b/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php index 4b3c87562ec..b1b9b38946c 100644 --- a/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/Connections/Item/Schema/SchemaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a schema object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a schema object. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?SchemaRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new schema object. This API is available in the following national cloud deployments. + * Create a new schema object. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -64,7 +64,7 @@ public function patch(Schema $body, ?SchemaRequestBuilderPatchRequestConfigurati } /** - * Read the properties and relationships of a schema object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a schema object. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -80,12 +80,12 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new schema object. This API is available in the following national cloud deployments. + * Create a new schema object. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -99,7 +99,7 @@ public function toPatchRequestInformation(Schema $body, ?SchemaRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php b/src/Generated/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php index 5a8c6d01e65..1ba0f534b2f 100644 --- a/src/Generated/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a schema object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a schema object. */ class SchemaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Contacts/ContactsRequestBuilder.php b/src/Generated/Contacts/ContactsRequestBuilder.php index 5cb6b309c56..c411c8e2f30 100644 --- a/src/Generated/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Contacts/ContactsRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of organizational contacts for this organization. This API is available in the following national cloud deployments. + * Get the list of organizational contacts for this organization. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function post(OrgContact $body, ?ContactsRequestBuilderPostRequestConfigu } /** - * Get the list of organizational contacts for this organization. This API is available in the following national cloud deployments. + * Get the list of organizational contacts for this organization. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,7 +132,7 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toPostRequestInformation(OrgContact $body, ?ContactsRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php b/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php index 760ac5d3f82..af98168407a 100644 --- a/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Contacts/ContactsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of organizational contacts for this organization. This API is available in the following national cloud deployments. + * Get the list of organizational contacts for this organization. */ class ContactsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Contacts/Delta/DeltaRequestBuilder.php b/src/Generated/Contacts/Delta/DeltaRequestBuilder.php index 628bac49175..7f41f104223 100644 --- a/src/Generated/Contacts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Contacts/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index f2de3e2c9f5..3c58b1fda86 100644 --- a/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.php index 98b40c9712c..92f31261c92 100644 --- a/src/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 2f4d7ee2cb2..e92bdf6b604 100644 --- a/src/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index d6be557b150..a31d7024afe 100644 --- a/src/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.php b/src/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.php index b50882cb8c9..6435b567bf9 100644 --- a/src/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.php +++ b/src/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DirectReportsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php index da41fe60aa0..1242229ad93 100644 --- a/src/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php index 235c122faee..9e926fd47f3 100644 --- a/src/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php index ac6e61c060d..e2d893d3696 100644 --- a/src/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index af494839d65..af85d694856 100644 --- a/src/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php index ff945a52c38..28bbd88bdb2 100644 --- a/src/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 849426ee519..64c86de0444 100644 --- a/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index 03fe65c596c..730f1502a3b 100644 --- a/src/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/Manager/ManagerRequestBuilder.php b/src/Generated/Contacts/Item/Manager/ManagerRequestBuilder.php index 083088ac2ac..58a17dd16ee 100644 --- a/src/Generated/Contacts/Item/Manager/ManagerRequestBuilder.php +++ b/src/Generated/Contacts/Item/Manager/ManagerRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get this organizational contact's manager. This API is available in the following national cloud deployments. + * Get this organizational contact's manager. * @param ManagerRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?ManagerRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get this organizational contact's manager. This API is available in the following national cloud deployments. + * Get this organizational contact's manager. * @param ManagerRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?ManagerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/Manager/ManagerRequestBuilderGetQueryParameters.php b/src/Generated/Contacts/Item/Manager/ManagerRequestBuilderGetQueryParameters.php index 9ecb91d1ab6..7796cbe9c36 100644 --- a/src/Generated/Contacts/Item/Manager/ManagerRequestBuilderGetQueryParameters.php +++ b/src/Generated/Contacts/Item/Manager/ManagerRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get this organizational contact's manager. This API is available in the following national cloud deployments. + * Get this organizational contact's manager. */ class ManagerRequestBuilderGetQueryParameters { diff --git a/src/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 14232e7f9a4..f520f5ffbf0 100644 --- a/src/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php index 9f5b77a8b80..335435a5fe7 100644 --- a/src/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php index 30db0124138..5ddd4fc7e31 100644 --- a/src/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 8c6ffaa7312..acb43fac335 100644 --- a/src/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index 0144fd5a25c..33a051b9eef 100644 --- a/src/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.php b/src/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.php index 3a288fa9a2d..992dc0085de 100644 --- a/src/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.php +++ b/src/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MemberOfRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php b/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php index 0d9c8d88ef0..ba0e8493487 100644 --- a/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php +++ b/src/Generated/Contacts/Item/OrgContactItemRequestBuilder.php @@ -134,7 +134,7 @@ public function delete(?OrgContactItemRequestBuilderDeleteRequestConfiguration $ } /** - * Get the properties and relationships of an organizational contact. This API is available in the following national cloud deployments. + * Get the properties and relationships of an organizational contact. * @param OrgContactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -179,12 +179,12 @@ public function toDeleteRequestInformation(?OrgContactItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of an organizational contact. This API is available in the following national cloud deployments. + * Get the properties and relationships of an organizational contact. * @param OrgContactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -200,7 +200,7 @@ public function toGetRequestInformation(?OrgContactItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -219,7 +219,7 @@ public function toPatchRequestInformation(OrgContact $body, ?OrgContactItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/OrgContactItemRequestBuilderGetQueryParameters.php b/src/Generated/Contacts/Item/OrgContactItemRequestBuilderGetQueryParameters.php index c6e6e377335..cf597b23bcb 100644 --- a/src/Generated/Contacts/Item/OrgContactItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Contacts/Item/OrgContactItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of an organizational contact. This API is available in the following national cloud deployments. + * Get the properties and relationships of an organizational contact. */ class OrgContactItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php index 72b9a1962d6..359f5d7ece0 100644 --- a/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php b/src/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php index 6b19a805de7..c62ced35656 100644 --- a/src/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php +++ b/src/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RetryServiceProvisioningRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 8d8ab362d5d..87b8f8f4d37 100644 --- a/src/Generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Contacts/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index c34b0f3e537..ad54dac65cf 100644 --- a/src/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php index 09b7a78084f..14d2b3eebc8 100644 --- a/src/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php index 9f7cf626376..bffa86b5b55 100644 --- a/src/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 4e7a7671e5f..c88a3cd02d6 100644 --- a/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index 546546c5813..a205634ddfa 100644 --- a/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php b/src/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php index 6a14b05dd41..f30f759ef15 100644 --- a/src/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php +++ b/src/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TransitiveMemberOfRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.php index f11cdb6e8a0..8f34b96aeab 100644 --- a/src/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/ContractsRequestBuilder.php b/src/Generated/Contracts/ContractsRequestBuilder.php index c00881efb1f..9a4aec185ca 100644 --- a/src/Generated/Contracts/ContractsRequestBuilder.php +++ b/src/Generated/Contracts/ContractsRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of contract objects associated to a partner tenant. This API is available in the following national cloud deployments. + * Retrieve a list of contract objects associated to a partner tenant. * @param ContractsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function post(Contract $body, ?ContractsRequestBuilderPostRequestConfigur } /** - * Retrieve a list of contract objects associated to a partner tenant. This API is available in the following national cloud deployments. + * Retrieve a list of contract objects associated to a partner tenant. * @param ContractsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,7 +132,7 @@ public function toGetRequestInformation(?ContractsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toPostRequestInformation(Contract $body, ?ContractsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/ContractsRequestBuilderGetQueryParameters.php b/src/Generated/Contracts/ContractsRequestBuilderGetQueryParameters.php index 804176f3870..e7244cdcf29 100644 --- a/src/Generated/Contracts/ContractsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Contracts/ContractsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of contract objects associated to a partner tenant. This API is available in the following national cloud deployments. + * Retrieve a list of contract objects associated to a partner tenant. */ class ContractsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Contracts/Delta/DeltaRequestBuilder.php b/src/Generated/Contracts/Delta/DeltaRequestBuilder.php index 6884a7446ff..57dda96870c 100644 --- a/src/Generated/Contracts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Contracts/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index ff431b0e8f3..0064cc55b5d 100644 --- a/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.php index 5d08ca9ced6..53a7f65a4a8 100644 --- a/src/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index fda7bd4f058..d381224afaa 100644 --- a/src/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 1361ba162cb..295845ff405 100644 --- a/src/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/ContractItemRequestBuilder.php b/src/Generated/Contracts/Item/ContractItemRequestBuilder.php index 742f9fb8a38..2576f882107 100644 --- a/src/Generated/Contracts/Item/ContractItemRequestBuilder.php +++ b/src/Generated/Contracts/Item/ContractItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ContractItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of contract object. * @param ContractItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ContractItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of contract object. * @param ContractItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ContractItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(Contract $body, ?ContractItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/ContractItemRequestBuilderGetQueryParameters.php b/src/Generated/Contracts/Item/ContractItemRequestBuilderGetQueryParameters.php index 7973129c1c7..5c61f5193c0 100644 --- a/src/Generated/Contracts/Item/ContractItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Contracts/Item/ContractItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of contract object. */ class ContractItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index fb9f6a540a8..e9732403a69 100644 --- a/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index 585c24fb758..fa67ab3a5db 100644 --- a/src/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php index f5c071da4e1..5b6081f4b72 100644 --- a/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Contracts/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.php index e536afb4431..7ce42c081f6 100644 --- a/src/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.php b/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.php index a557083a645..03a0749c195 100644 --- a/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.php +++ b/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties of a dataPolicyOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties of a dataPolicyOperation object. * @param DataPolicyOperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(DataPolicyOperation $body, ?DataPolicyOperationsRequestBuil } /** - * Retrieve the properties of a dataPolicyOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties of a dataPolicyOperation object. * @param DataPolicyOperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DataPolicyOperationsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DataPolicyOperation $body, ?DataPolicyO $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilderGetQueryParameters.php b/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilderGetQueryParameters.php index 7dfb2f7b21f..d874b2ebfb5 100644 --- a/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a dataPolicyOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties of a dataPolicyOperation object. */ class DataPolicyOperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php b/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php index 3adda6c549d..d883e50d9b0 100644 --- a/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php +++ b/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DataPolicyOperationItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties of a dataPolicyOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties of a dataPolicyOperation object. * @param DataPolicyOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?DataPolicyOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a dataPolicyOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties of a dataPolicyOperation object. * @param DataPolicyOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?DataPolicyOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(DataPolicyOperation $body, ?DataPolicy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilderGetQueryParameters.php index 4486839a6a2..e0650311bdd 100644 --- a/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a dataPolicyOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties of a dataPolicyOperation object. */ class DataPolicyOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.php index 7281a2dbda4..4501aa6d22f 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AndroidManagedAppProtectionsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(AndroidManagedAppProtection $body, ?And $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.php index e0b7f799d6f..56dafff920d 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.php @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?AndroidManagedAppProtectionItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?AndroidManagedAppProtectionItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -157,7 +157,7 @@ public function toPatchRequestInformation(AndroidManagedAppProtection $body, ?An $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.php index 992f65bfb4a..0e214f4e642 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AppsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ManagedMobileApp $body, ?AppsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php index 87943c4819a..04e0f81acc0 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ManagedMobileAppItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ManagedMobileAppItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ManagedMobileApp $body, ?ManagedMobile $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php index 42fc279c407..181ba60e245 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TargetedManagedAppPolicyAssignment $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php index 3e90f440a2e..3368d993547 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TargetedManagedAppPolicyAssignmentIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TargetedManagedAppPolicyAssignmentItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TargetedManagedAppPolicyAssignment $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php index cc300eb3c99..40f273b5819 100644 --- a/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeploymentSummaryRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeploymentSummaryRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ManagedAppPolicyDeploymentSummary $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.php b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.php index af2cc17ee3e..9b7e0e9dd9d 100644 --- a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DefaultManagedAppProtectionsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DefaultManagedAppProtection $body, ?Def $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.php b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.php index ed70d082ef3..180d4cb72aa 100644 --- a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AppsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ManagedMobileApp $body, ?AppsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php index fbaa3a7896c..32b78d593df 100644 --- a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ManagedMobileAppItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ManagedMobileAppItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ManagedMobileApp $body, ?ManagedMobile $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.php b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.php index 268ddd2fe22..f98437785f0 100644 --- a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.php @@ -109,7 +109,7 @@ public function toDeleteRequestInformation(?DefaultManagedAppProtectionItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?DefaultManagedAppProtectionItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -149,7 +149,7 @@ public function toPatchRequestInformation(DefaultManagedAppProtection $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php index 3bb43b358fb..68e582b1e4f 100644 --- a/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeploymentSummaryRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeploymentSummaryRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ManagedAppPolicyDeploymentSummary $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index 5c0b14d02a0..f69f11fb6a9 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -200,7 +200,7 @@ public function toGetRequestInformation(?DeviceAppManagementRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -219,7 +219,7 @@ public function toPatchRequestInformation(DeviceAppManagement $body, ?DeviceAppM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.php index eb080aa5c93..92db01086ef 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?IosManagedAppProtectionsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(IosManagedAppProtection $body, ?IosMana $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.php index a373336fdee..9fc17ce6094 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedMobileApp $body, ?AppsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php index 1d047956314..e5d168b7fa2 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedMobileAppItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ManagedMobileAppItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ManagedMobileApp $body, ?ManagedMobile $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php index afd531d8e91..e4377a76cae 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TargetedManagedAppPolicyAssignment $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php index 1732de2b391..d3a39663113 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TargetedManagedAppPolicyAssignmentIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TargetedManagedAppPolicyAssignmentItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TargetedManagedAppPolicyAssignment $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php index 5488d1bdd61..53dc39e5534 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeploymentSummaryRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeploymentSummaryRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ManagedAppPolicyDeploymentSummary $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.php b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.php index 7d2209ba1e3..c3f7a699739 100644 --- a/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.php @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?IosManagedAppProtectionItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?IosManagedAppProtectionItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -157,7 +157,7 @@ public function toPatchRequestInformation(IosManagedAppProtection $body, ?IosMan $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index 0cf08a3e097..101370f5f8a 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the windowsInformationProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the windowsInformationProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ManagedAppPolicyItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ManagedAppPolicy $body, ?ManagedAppPol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index 612793385c9..01409153916 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the windowsInformationProtection object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index e09c0c07d04..6350fc5ede7 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TargetAppsPostRequestBody $body, ?Targe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index 42b6583de6f..2861ad311a6 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the managedAppConfiguration objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +84,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the managedAppConfiguration objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ManagedAppPoliciesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ManagedAppPolicy $body, ?ManagedAppPoli $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php index 4df728afddc..cc1020bd8d9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the managedAppConfiguration objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.php index 2338f8a977a..c45fd746c0d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetUserIdsWithFlaggedAppRegistrationReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.php index 80834d4a981..4a9c6d47e52 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AppliedPoliciesRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ManagedAppPolicy $body, ?AppliedPolicie $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index a6c50a484e7..0e5c465a6ba 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ManagedAppPolicyItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ManagedAppPolicy $body, ?ManagedAppPol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index d552c9e3ac3..fd1a5c40d70 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TargetAppsPostRequestBody $body, ?Targe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.php index 269bfbbbde5..63fbc2d514b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?IntendedPoliciesRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ManagedAppPolicy $body, ?IntendedPolici $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index 3ec82784928..5e5d9fdedb0 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ManagedAppPolicyItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ManagedAppPolicy $body, ?ManagedAppPol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 5da3f476bc5..97bcbd1dde5 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TargetAppsPostRequestBody $body, ?Targe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index 745a000037a..f61929b4333 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?ManagedAppRegistrationItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(ManagedAppRegistration $body, ?Managed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php index 83949e72d79..bae004f29fe 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.php index e375d33925c..89afa7f5f1b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ManagedAppOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ManagedAppOperation $body, ?ManagedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.php index 2a46a1b6c2b..31ec146ab33 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedAppOperation $body, ?OperationsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 7b0302ad2d9..4a6a5114138 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosManagedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the iosManagedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ManagedAppRegistrationsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toPostRequestInformation(ManagedAppRegistration $body, ?ManagedA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index 17965c935c3..327ac218e6b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosManagedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 47a32bddced..a51220469b8 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ManagedAppStatusItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(ManagedAppStatus $body, ?ManagedAppSta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php index e257e0cbe70..1a778e35b25 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index 15737b232d3..7e47dcd709d 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +84,7 @@ public function post(ManagedAppStatus $body, ?ManagedAppStatusesRequestBuilderPo } /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ManagedAppStatusesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ManagedAppStatus $body, ?ManagedAppStat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php index f23cbad0621..fee5614f9e6 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. */ class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.php index 73132cafd60..d2f3e62aa92 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index f8f0af5f265..2511370b763 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -68,12 +68,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedEBookAssignment $body, ?Assignme $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index b88d0bbeafa..c20cc95faba 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -63,12 +63,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ManagedEBookAssignment $body, ?Managed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.php index 4dc5865d9f6..137e2fd0bf6 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceStatesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceInstallState $body, ?DeviceStates $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php index 0122a5383e7..283aed94dc1 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceInstallStateItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceInstallStateItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceInstallState $body, ?DeviceInsta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.php index bdeea3287f9..05ad1826f7b 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?InstallSummaryRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?InstallSummaryRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EBookInstallSummary $body, ?InstallSum $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php index 08ad0803dc7..1724c948e3f 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php @@ -87,11 +87,11 @@ public function delete(?ManagedEBookItemRequestBuilderDeleteRequestConfiguration } /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?ManagedEBookItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,7 +154,7 @@ public function toGetRequestInformation(?ManagedEBookItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -173,7 +173,7 @@ public function toPatchRequestInformation(ManagedEBook $body, ?ManagedEBookItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php index 271c28a403d..5270a02e617 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. */ class ManagedEBookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.php index f814938c5e1..c86781a8d18 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceStatesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceInstallState $body, ?DeviceStates $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php index 9db909cc07b..dc4383066c9 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceInstallStateItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceInstallStateItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceInstallState $body, ?DeviceInsta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.php index 33b08e549ac..fc6bda1a86a 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?UserInstallStateSummaryItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?UserInstallStateSummaryItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(UserInstallStateSummary $body, ?UserIn $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.php index 7b7fcb43e6b..c805e020b5f 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UserStateSummaryRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(UserInstallStateSummary $body, ?UserSta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php index 64f7b9ca980..5e748ccec1d 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ManagedEBooksRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedEBook $body, ?ManagedEBooksReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php index 826ea606a38..5b967375da7 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TargetedManagedAppPolicyAssignment $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php index 1c038e6ff5c..6ffd886a3fe 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TargetedManagedAppPolicyAssignmentIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TargetedManagedAppPolicyAssignmentItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TargetedManagedAppPolicyAssignment $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php index ff8bd44cf84..e559f16670a 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExemptAppLockerFilesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WindowsInformationProtectionAppLockerFi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php index 4cec4a3229a..3e2053facb0 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionAppLocke $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionAppLockerFi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionAppLockerF $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.php index baabf9b75b7..f148a2587dd 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.php @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?MdmWindowsInformationProtectionPolic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?MdmWindowsInformationProtectionPolicyIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -157,7 +157,7 @@ public function toPatchRequestInformation(MdmWindowsInformationProtectionPolicy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php index 953646317e0..7d504e254e8 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionAppLocke $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionAppLockerFi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionAppLockerF $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php index d432a8c4494..4787238bf96 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ProtectedAppLockerFilesRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WindowsInformationProtectionAppLockerFi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.php index 4fe6e683db8..18747200036 100644 --- a/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MdmWindowsInformationProtectionPolicies } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MdmWindowsInformationProtectionPolicy $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.php index ee91f3fe4eb..3184339f44f 100644 --- a/src/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppCategoryItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppCategory $body, ?MobileAppCat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.php index 947c40cd8ad..2f9a654f010 100644 --- a/src/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MobileAppCategoriesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppCategory $body, ?MobileAppCate $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.php index 0cf646493d7..543ce0e4f71 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php index 392cc8613fb..41e186faec6 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedDeviceMobileAppConfigurationAssi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.php index c52d6ed03f4..2f71454f980 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ManagedDeviceMobileAppConfigurationAssi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ManagedDeviceMobileAppConfigurationAss $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.php index 7ca7b22830b..15a93bf5c4b 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceStatusSummaryRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceStatusSummaryRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ManagedDeviceMobileAppConfigurationDev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php index 7f39d7c8e05..66dcbd0c69b 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceStatusesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedDeviceMobileAppConfigurationDevi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.php index 8c8f7eac15d..00a97e69b11 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ManagedDeviceMobileAppConfigurationDevi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ManagedDeviceMobileAppConfigurationDev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 3c61a8c5323..619cf97abf3 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -141,7 +141,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toGetRequestInformation(?ManagedDeviceMobileAppConfigurationItem } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -181,7 +181,7 @@ public function toPatchRequestInformation(ManagedDeviceMobileAppConfiguration $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.php index abedf6ad954..4382d805981 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?UserStatusSummaryRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?UserStatusSummaryRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ManagedDeviceMobileAppConfigurationUse $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.php index 95bb2e5d538..e2896261568 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ManagedDeviceMobileAppConfigurationUser } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ManagedDeviceMobileAppConfigurationUse $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php index c913b5d4370..76b4187b9cc 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UserStatusesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedDeviceMobileAppConfigurationUser $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index 891da87da6e..46ff2936e26 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MobileAppConfigurationsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedDeviceMobileAppConfiguration $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php index 8c8804db219..a9121bd5666 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAndroidLobAppRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php index 45132fb4961..d68b83c716e 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAndroidStoreAppRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.php index da773c982b6..cb4c4531e78 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphIosLobAppRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php index 838e504e61f..a7eca4a0233 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphIosStoreAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php index 75a719e76e7..5f4cd5e35ed 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphIosVppAppRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php index f9ef339b428..3defdd0151d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphMacOSDmgAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php index 2d062189e1c..807891cd05f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphMacOSLobAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php index 6c260219cff..80ac78bc4ef 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphManagedAndroidLobAppRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php index b11a108ce9a..f51dfcfc039 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphManagedIOSLobAppRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php index 9ffde8a759a..ba55e95c511 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphManagedMobileLobAppRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php index 8b60f13a713..fe96491fc73 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphMicrosoftStoreForBusinessAppReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php index 0ae42f28ed2..6a6b4cfff74 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphWin32LobAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php index b0ecaedd3bf..93b1b11797e 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphWindowsAppXRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php index b0c4a435310..6ea0fa6e44f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphWindowsMobileMSIRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php index 805dd7f01c5..2bab6e18a69 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphWindowsUniversalAppXRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php index c4eebbed4ed..b453f88e1d4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphWindowsWebAppRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.php index 9740ec80fd6..c8ba4d9076d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.php index 57597e70c73..6e251561d39 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 15c91dbd78c..454f7a538a6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.php index 647bcf92caf..297741f088b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 875ea2998da..ee788375294 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.php index e5282995a26..a732172c385 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 230971a1ab1..4d23781644f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.php index 81c0bb782a0..6af6d81bb8d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index e56cf93818a..41c779f08ca 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php index d9db093e3bb..fb599eb01fe 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index 0aeba7e152d..0c3b8e4ad22 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 394d426ad2f..f22f3db5bee 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index 77c0e77745b..63247053c7e 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 3e1303be57b..a74a74b85f4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index d6bb64e03e8..6983db3ebd4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 27b92afbfcd..a62585d2a6f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index c4ad2f1a3af..83bd5a8b283 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php index e452ce83634..6f60a0aa00b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphAndroidLobAppRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.php index dba4577cbde..fa6ba132a81 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index e44fbf6200b..3ceca9f15f6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.php index 9496d08d3a5..679e13da884 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 7b38e0fe606..5d00a45fcef 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php index c3be0b61712..51d111efade 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?GraphAndroidStoreAppRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.php index 9885814642c..73f40598720 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 8e1daf52fff..bfb2d8d95a2 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.php index 13d219f2186..7de09e8c2c6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 4bfd98e326f..dd4e49f1a1a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.php index b5430091db1..7106e1a0df7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index d9c685c2ad3..3064bad2dbb 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index be6e2dc4571..db953b10151 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index d6cc985309c..94eef547175 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 5ad2b413688..01fe8c1a7ff 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 6380ccf5b17..7ca26acd1c3 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 24fbcdc00b4..90bc4b118c2 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index fbe89ab030c..4204c36ba1f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php index 930fc4ca65f..bb8e365d443 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/GraphIosLobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphIosLobAppRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.php index 86ca7a29196..da90bb2fd64 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 343ef9b3283..3a29765f0c3 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.php index 0293ca82bf4..6c1168b5293 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index bd456a345e3..6415710d652 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php index f0630a40750..4b538a8dfbf 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?GraphIosStoreAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.php index 236561f743b..59531deb377 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index b46ac75062a..f74faf4c273 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.php index fd3ba9004cb..b3c191803ea 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index af84cc802eb..39b9a830438 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php index cf77c61edb6..7a1d8c041ff 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?GraphIosVppAppRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.php index 33318b40668..5fb80393dc5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index eaff1c555bf..dd0e981f530 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.php index 389f5a76f1e..cede4a772f4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 14b69b69af5..b8a3078a805 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.php index 3f519393a97..9cce5a7428a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index 2483e3c4e0c..ccecebc5fd7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 2f5ccb571af..7871b4073b6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.php index b9b034602d2..fe2d93efb26 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 1d3bbb2fbe9..be14ea76a5a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index b665f4eae0e..0e0a8613abc 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 64f5243ec65..b0734103fd3 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index 7708bf463d7..95671c85efb 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php index 0ae59a53930..28a20a66ba4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphMacOSDmgAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.php index 410d717a6ea..28d2e0c51c6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 346165bd772..5a0cb4b4827 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.php index 5d3c6a800eb..5c2907e1316 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 92f7f6240c9..7b93c67c080 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php index 7e979723406..745f3516168 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index 769a0ac58a9..134b5ef1ad4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 993c2338129..560f24d2400 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index 3b662e95e65..603d44593fb 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 3d45f0c242e..394b65c9d4f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 8e0296a4000..45d3c41aade 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index ba9118b6aed..76d42ca5d3d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index ce50c940a8e..1e2fd402a68 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php index b6dda902854..93596f18380 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphMacOSLobAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.php index 2d5712820c6..36ca8a5c824 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index a1e304d3c90..8037a9a0528 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.php index b0a7b191018..7981585fa2a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 37eee1ef8aa..8265274d594 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php index 4dc3ad45b06..23dd347bd2d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index 684fe98613f..5d50774385e 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 1b492b67389..2ebe4624b56 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index 2000752a1c8..c0c11b35795 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 155048e9296..3832d241257 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 92bcdab5643..e3eaabc3438 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 433da91437d..9f451073c93 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index 7763e28dade..c2338aa1dcb 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php index 518a404aa25..247f0abea9b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphManagedAndroidLobAppRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.php index e8331999eae..0bef95e8539 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index f63de32718a..404b9155b89 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.php index a883dd46fcd..baaacb7ff1f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index a254907fc11..38b333b442f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php index 5901c7f80f9..e5aa4ef9668 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index 879fdff48c0..7f2344e4c78 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index faa6684a6fe..5ec8563637a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index 9503357a819..9c7d3bae099 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 0338d234294..7f2d71cc2c0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index efe7f1a5bcf..8c5450a9bc6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 15b0c8dfbf3..2bfa84832be 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index 603f703135c..ac6c24dc920 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php index 06c2d2a9ae4..98ecd3c2973 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphManagedIOSLobAppRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.php index 949055262e5..d48390f900a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index c05bedbce18..f23de2594fa 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.php index ac3f491080f..71baef21e4b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 777c5255be4..26c578f8035 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.php index 001ea51cce7..e199ee37d40 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index c01920799ef..8837dcd3171 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index c2b4a5f717c..703fddac319 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index 828ba4fdd24..b07a4b80923 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index a68545cda62..1ee9478f564 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index fbea3a0d5d7..d7b33c752a6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 4b7eae8a03f..f056594fa0f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index 2988e30f172..0d09993e7d2 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php index 78d2e5e16cb..18ab21ef5f0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphManagedMobileLobAppRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.php index ad69c7e3ac1..039d4ca7c6b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index b2a74e97c48..f5bc1cece8a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.php index 248852f260d..72a65f9f112 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 4fca22de83d..0f794065b23 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php index b1429ca4d25..23c5cd2a186 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?GraphMicrosoftStoreForBusinessAppReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.php index af011b00041..c2528af8203 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 7fa0f3220a8..ea83a283fe5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.php index c18237a1896..662538e0784 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index a0747f00c9b..450e128fe0d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.php index 48746c7d05a..1441752298a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index d3cb7e83d33..4698d256eef 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 91641439d6d..4be7ab1ec03 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.php index 151596652fc..c6cb6819025 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index ce4fa576e43..89725b8ceee 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 7e9db2b0cd0..d0d23c8e209 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 90c7a12b5a4..73f4cd12e44 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index 455383a0b7f..bc3d8212857 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php index 5b5b9caadf3..162db64bb46 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphWin32LobAppRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.php index 422ebf7ae91..359f63fbc0f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 766a3356d11..d3997992967 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.php index 82d7f8649a2..cd9c6bbbf74 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 334a3b1034c..8d50c9d3f4b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.php index 8f7195a75f7..c860ccbd341 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index 548143c59d1..8b1f5b6e1fa 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 43a57e463e6..f43f5df0cdd 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.php index d37ff4787e5..737b925025f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 8eb806cbe5e..fc8242dcdfc 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 4c16b66d682..1ff55465998 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index 2a1ed8b8aa4..5474137a8c9 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index b8cb4a6afd5..a127c61a80b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php index 28a6195dbdf..9cac3cb0d0d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphWindowsAppXRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.php index a1d2fd1f25f..25983e14b1f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index f8708daeeb8..75ddfa9bf20 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.php index 6e6d37561ab..2b8bcf35f1a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.php index b7664571b50..d787422106d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.php index e2db316cc10..3d7b0907c9a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index bc0df17d79c..dc55d23b560 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 60c3a12e2c4..224171e263e 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.php index db05be2b3af..bf8437da801 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 2b5de003cdb..1b12b3a7280 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 4857cc7fd9a..4d8e8f6d5ee 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index f80dc45b8e6..acb63e098e4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index e0eec7a21fd..c367660dfe7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php index 353fdf30343..59cd57babc6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?GraphWindowsMobileMSIRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.php index 807b3bae72b..4480309b36b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index 33377076d06..ab664fc5673 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.php index 27af2dc6408..8aa9b2f1b93 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php index 3a23df1cabc..84341fb7589 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.php index 1dcb97eb398..1f43286ad83 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/CommittedContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?CommittedContainedAppsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?CommittedCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 2dafeb53fb1..8ef85e1aaa9 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/CommittedContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.php index 9b00fa21f03..865d27faaf1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/ContentVersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContentVersionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContent $body, ?ContentVersion $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php index d5d570643bd..c7509650427 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/ContainedAppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ContainedAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileContainedApp $body, ?ContainedApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php index 46a29734aef..1066eea2db1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/ContainedApps/Item/MobileContainedAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?MobileContainedAppItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?MobileContainedAppItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(MobileContainedApp $body, ?MobileConta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.php index 01e7c0ed9cb..750233d01d8 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/FilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(MobileAppContentFile $body, ?FilesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php index 15de7753c6d..7cb9095c53a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/Commit/CommitRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CommitPostRequestBody $body, ?CommitReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php index 3219c06f4ee..ab0fa599bdd 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/MobileAppContentFileItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentFileItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentFileItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContentFile $body, ?MobileApp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php index d93eb6598ec..7b999a63db1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/Files/Item/RenewUpload/RenewUploadRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RenewUploadRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php index c08876542b4..91724002b60 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/ContentVersions/Item/MobileAppContentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?MobileAppContentItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?MobileAppContentItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(MobileAppContent $body, ?MobileAppCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php index 44605c839a9..5e004c0aad0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.php @@ -94,7 +94,7 @@ public function toGetRequestInformation(?GraphWindowsUniversalAppXRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.php index 9e876ed0ba8..3c6c5bd38d4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php index bd96612f03a..27ff736fc14 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Assignments/Item/MobileAppAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileAppAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileAppAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileAppAssignment $body, ?MobileAppA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.php index c906368cc8e..727cd01cebe 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/CategoriesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php index f3c7c6224df..b5ab3c9758b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Categories/Item/MobileAppCategoryItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MobileAppCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php index f18b035def7..1f1392d041c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?GraphWindowsWebAppRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 4cbaaa25c6f..fc8d13dd334 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a macOSMicrosoftEdgeApp. + * Deletes a windowsMicrosoftEdgeApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -199,11 +199,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the mobileApp object. + * Read properties and relationships of the iosStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-mobileapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -215,12 +215,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a microsoftStoreForBusinessApp object. + * Update the properties of a managedAndroidLobApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -232,7 +232,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a macOSMicrosoftEdgeApp. + * Deletes a windowsMicrosoftEdgeApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -245,12 +245,12 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the mobileApp object. + * Read properties and relationships of the iosStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -266,12 +266,12 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a microsoftStoreForBusinessApp object. + * Update the properties of a managedAndroidLobApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -285,7 +285,7 @@ public function toPatchRequestInformation(MobileApp $body, ?MobileAppItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index 97cb9d0fe65..0c383048134 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the mobileApp object. + * Read properties and relationships of the iosStoreApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index f393f266c10..d42504694a0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windowsUniversalAppX objects. + * List properties and relationships of the managedIOSStoreApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -196,12 +196,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new androidStoreApp object. + * Create a new webApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -213,7 +213,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the windowsUniversalAppX objects. + * List properties and relationships of the managedIOSStoreApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -229,12 +229,12 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new androidStoreApp object. + * Create a new webApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -248,7 +248,7 @@ public function toPostRequestInformation(MobileApp $body, ?MobileAppsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php index 733f15dc8d9..b8e83f69939 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the windowsUniversalAppX objects. + * List properties and relationships of the managedIOSStoreApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.php index e565ffb1da9..73344bd45c0 100644 --- a/src/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SyncMicrosoftStoreForBusinessAppsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.php index 2b793bfb72d..52d5924df8c 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AppsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ManagedMobileApp $body, ?AppsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php index 4268451471b..c3f771aeb8e 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ManagedMobileAppItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ManagedMobileAppItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ManagedMobileApp $body, ?ManagedMobile $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.php index 8344e3be711..a42dfc15bc0 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php index 7a2e11365fe..ccc4c9caa53 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TargetedManagedAppPolicyAssignment $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php index 7e858e573fa..6d05deda6e6 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TargetedManagedAppPolicyAssignmentIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TargetedManagedAppPolicyAssignmentItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TargetedManagedAppPolicyAssignment $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php index 29e8ba47916..98335b63f99 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeploymentSummaryRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeploymentSummaryRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ManagedAppPolicyDeploymentSummary $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.php index b3dac55bcc7..33978a5be4f 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TargetAppsPostRequestBody $body, ?Targe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.php index d239b3e92e6..43833a3c817 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.php @@ -133,7 +133,7 @@ public function toDeleteRequestInformation(?TargetedManagedAppConfigurationItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toGetRequestInformation(?TargetedManagedAppConfigurationItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -173,7 +173,7 @@ public function toPatchRequestInformation(TargetedManagedAppConfiguration $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.php index 2a2d4fccbb7..3fc338ddfee 100644 --- a/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TargetedManagedAppConfigurationsRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(TargetedManagedAppConfiguration $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.php b/src/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.php index b9fa90bf49b..86b3edf4760 100644 --- a/src/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SyncLicensesRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.php b/src/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.php index dbe30508354..59a360da4a6 100644 --- a/src/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?VppTokenItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?VppTokenItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(VppToken $body, ?VppTokenItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.php b/src/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.php index 4cb70130cb9..ff4b5c03b68 100644 --- a/src/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?VppTokensRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(VppToken $body, ?VppTokensRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php index feaf85f075f..ac4297917b0 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TargetedManagedAppPolicyAssignment $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php index 109053ac94d..5b866c4f281 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TargetedManagedAppPolicyAssignmentIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TargetedManagedAppPolicyAssignmentItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TargetedManagedAppPolicyAssignment $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php index 9933c8c6f94..c9b90b9c3ac 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExemptAppLockerFilesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WindowsInformationProtectionAppLockerFi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php index a5e91ea205a..15383f3523c 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionAppLocke $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionAppLockerFi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionAppLockerF $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php index fbd9389e4e4..e7c2d210a52 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionAppLocke $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionAppLockerFi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionAppLockerF $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php index d856b6ab636..e8374ef61b6 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ProtectedAppLockerFilesRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WindowsInformationProtectionAppLockerFi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.php index 3dd9cc96851..acbe34a92c5 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.php @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionPolicyIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionPolicyItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -157,7 +157,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionPolicy $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.php index 2d1cdff4cbd..78b6fdc6019 100644 --- a/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionPoliciesReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsInformationProtectionPolicy $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.php b/src/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.php index ea5a684745b..88ce83558e3 100644 --- a/src/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.php +++ b/src/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.php @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?ApplePushNotificationCertificateRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?ApplePushNotificationCertificateRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(ApplePushNotificationCertificate $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.php b/src/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.php index f17af960608..7d274447c18 100644 --- a/src/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.php +++ b/src/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?DownloadApplePushNotificationCertificat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.php b/src/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.php index a52652b1f86..e67cee72b3e 100644 --- a/src/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.php +++ b/src/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.php @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AuditEventsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPostRequestInformation(AuditEvent $body, ?AuditEventsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.php b/src/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.php index ec50075ebc2..993223a475f 100644 --- a/src/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.php +++ b/src/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetAuditActivityTypesWithCategoryReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.php b/src/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.php index 8a3ba1907a9..5d770c33f58 100644 --- a/src/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.php +++ b/src/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAuditCategoriesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.php b/src/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.php index dc70483dbaa..ef160f66f78 100644 --- a/src/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?AuditEventItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AuditEventItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(AuditEvent $body, ?AuditEventItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.php b/src/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.php index 9bf38fe4d0f..c9961147473 100644 --- a/src/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.php +++ b/src/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ComplianceManagementPartnersRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ComplianceManagementPartner $body, ?Com $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.php b/src/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.php index 8730afe9070..5cb4651f88a 100644 --- a/src/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ComplianceManagementPartnerItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ComplianceManagementPartnerItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ComplianceManagementPartner $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.php b/src/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.php index 5e3d4d176e0..bcccc4355ec 100644 --- a/src/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.php +++ b/src/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?ConditionalAccessSettingsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ConditionalAccessSettingsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(OnPremisesConditionalAccessSettings $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.php b/src/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.php index 97fefc7911e..9bacbf1bdb7 100644 --- a/src/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DetectedAppsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DetectedApp $body, ?DetectedAppsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.php b/src/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.php index 971fe5e0fc2..781ce25a097 100644 --- a/src/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?DetectedAppItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?DetectedAppItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(DetectedApp $body, ?DetectedAppItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php b/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php index 69bcdf013b9..88f392d115a 100644 --- a/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ManagedDeviceItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.php b/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.php index 50639dea0bc..b4f52d126f7 100644 --- a/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ManagedDevicesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.php index 730fedaa348..1038c1e56d2 100644 --- a/src/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceCategoriesRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceCategory $body, ?DeviceCategories $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.php index fb1a8aba541..8335dda9b59 100644 --- a/src/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceCategoryItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceCategoryItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceCategory $body, ?DeviceCategoryI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 2cd559cdad1..ccba1b71cbf 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -68,12 +68,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windowsPhone81CompliancePolicy object. + * Create a new iosCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new windowsPhone81CompliancePolicy object. + * Create a new iosCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceCompliancePolicy $body, ?DeviceCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.php index c00e3cd32b1..b33a86f751a 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.php index fba26baeacd..b712a014b6b 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceCompliancePolicyAssignment $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.php index 97fd4c940a7..b37cea2983b 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyAssignmentItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyAssignmentItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceCompliancePolicyAssignment $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 3bcfb47ef83..822783d49d1 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a macOSCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -119,11 +119,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the androidCompliancePolicy object. + * Read properties and relationships of the windows10MobileCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -135,12 +135,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windows81CompliancePolicy object. + * Update the properties of a macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -152,7 +152,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a macOSCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -165,12 +165,12 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the androidCompliancePolicy object. + * Read properties and relationships of the windows10MobileCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -186,12 +186,12 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a windows81CompliancePolicy object. + * Update the properties of a macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -205,7 +205,7 @@ public function toPatchRequestInformation(DeviceCompliancePolicy $body, ?DeviceC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index b82c2607b8a..688a52078ab 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the androidCompliancePolicy object. + * Read properties and relationships of the windows10MobileCompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php index fd964a1a3d2..46ee49708e9 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceSettingStateSummariesRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(SettingStateDeviceSummary $body, ?Devic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php index f1a205e0473..38f9e564a33 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?SettingStateDeviceSummaryItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?SettingStateDeviceSummaryItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(SettingStateDeviceSummary $body, ?Sett $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php index 70c134e1ce0..819b84b4a10 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceStatusOverviewRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceStatusOverviewRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceComplianceDeviceOverview $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php index 8dd799787c9..9b14096b483 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceStatusesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceComplianceDeviceStatus $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.php index 305d01631cc..623333f1315 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceComplianceDeviceStatusItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceComplianceDeviceStatusItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceComplianceDeviceStatus $body, ?D $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.php index 2695c348125..d9a798222ad 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ScheduleActionsForRulesPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php index db4d9dcf406..dd6c376a6de 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?DeviceComplianceScheduledActionForRu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?DeviceComplianceScheduledActionForRuleI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(DeviceComplianceScheduledActionForRule $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php index 0f2bd1b1414..7da6cf3780d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceComplianceActionItemItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceComplianceActionItemItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceComplianceActionItem $body, ?Dev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php index 7ea8826c5d8..fc5a2bcda94 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ScheduledActionConfigurationsRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceComplianceActionItem $body, ?Sche $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php index 59eb5b4099d..21e29a13763 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ScheduledActionsForRuleRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceComplianceScheduledActionForRule $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php index b7e0aa52e61..f4ba2367d3a 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?UserStatusOverviewRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?UserStatusOverviewRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceComplianceUserOverview $body, ?U $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.php index 0a460070b45..be454821323 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceComplianceUserStatusItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceComplianceUserStatusItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceComplianceUserStatus $body, ?Dev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.php index a9d13f62f3c..55a01531b5b 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UserStatusesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceComplianceUserStatus $body, ?User $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.php index 1c2a82b7bcf..13564672654 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyDeviceStateSum $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyDeviceStateSummar } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceCompliancePolicyDeviceStateSumma $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.php index 57ced8a10a8..2e28994e6d5 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicySettingStateSumma } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceCompliancePolicySettingStateSumma $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.php index 54a81b219ca..5b00a41c727 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicySettingStateSu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicySettingStateSumma } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(DeviceCompliancePolicySettingStateSumm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.php index ab47ca1f2fe..7c820896576 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceComplianceSettingStatesRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceComplianceSettingState $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.php index 20b30b291de..a3ab8f5ea46 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceComplianceSettingStateItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceComplianceSettingStateItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceComplianceSettingState $body, ?D $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.php index 31b16e1d2f7..64eaa6e3c88 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationDeviceStateSummar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceConfigurationDeviceStateSummaries } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceConfigurationDeviceStateSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index 27c6d2bdc22..4de2b96ec3b 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the editionUpgradeConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new macOSDeviceFeaturesConfiguration object. + * Create a new windows10EnterpriseModernAppManagementConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the editionUpgradeConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new macOSDeviceFeaturesConfiguration object. + * Create a new windows10EnterpriseModernAppManagementConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceConfiguration $body, ?DeviceConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php index c9c41786e54..7e5c9788ee4 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the editionUpgradeConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.php index 1cb0d53b48c..ed5cc796405 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.php index 080cbc7fc8c..1ba9f03e960 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceConfigurationAssignment $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.php index 791cf8d68b1..170e014cd7b 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationAssignmentItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceConfigurationAssignmentItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceConfigurationAssignment $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index d952839b9b1..fc168b2f941 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a androidWorkProfileGeneralDeviceConfiguration. + * Deletes a androidCustomConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -104,11 +104,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the iosCertificateProfile object. + * Read properties and relationships of the iosGeneralDeviceConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -129,12 +129,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windows10TeamGeneralConfiguration object. + * Update the properties of a iosCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -146,7 +146,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a androidWorkProfileGeneralDeviceConfiguration. + * Deletes a androidCustomConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -159,12 +159,12 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the iosCertificateProfile object. + * Read properties and relationships of the iosGeneralDeviceConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -180,12 +180,12 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a windows10TeamGeneralConfiguration object. + * Update the properties of a iosCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -199,7 +199,7 @@ public function toPatchRequestInformation(DeviceConfiguration $body, ?DeviceConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index 94f7943a648..02f9361c4fb 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosCertificateProfile object. + * Read properties and relationships of the iosGeneralDeviceConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php index e8ce84040fc..fafa5f8eb89 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceSettingStateSummariesRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(SettingStateDeviceSummary $body, ?Devic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php index 015e164e45d..5c4dfb8907c 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?SettingStateDeviceSummaryItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?SettingStateDeviceSummaryItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(SettingStateDeviceSummary $body, ?Sett $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php index 85c11c8a8a4..6118452a8df 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceStatusOverviewRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceStatusOverviewRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceConfigurationDeviceOverview $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php index 66f3065aba8..e1e2a3c91c0 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceStatusesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceConfigurationDeviceStatus $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.php index 29cdbb72c4e..5a155ac977e 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationDeviceStatusItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceConfigurationDeviceStatusItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceConfigurationDeviceStatus $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.php index 2367b7fbe38..615167f0d42 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetOmaSettingPlainTextValueWithSecretRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php index ebca1fd4f42..00c534a0bbf 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?UserStatusOverviewRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?UserStatusOverviewRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceConfigurationUserOverview $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.php index 2feaad43687..7873256ce2f 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationUserStatusItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceConfigurationUserStatusItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceConfigurationUserStatus $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php index 22757a32c8f..c5e055b4def 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?UserStatusesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceConfigurationUserStatus $body, ?U $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index 6d866174e2f..8d4e722776f 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentLimitConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new deviceEnrollmentLimitConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceEnrollmentConfiguration $body, ?D $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php index e91f50d06be..0e1a5b8ac93 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.php index 9fdb5715d3d..ad013b82989 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignPostRequestBody $body, ?AssignReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.php index 38d937f9466..f935512e10b 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(EnrollmentConfigurationAssignment $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.php index e5963f50598..00c14372e4f 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?EnrollmentConfigurationAssignmentIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?EnrollmentConfigurationAssignmentItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(EnrollmentConfigurationAssignment $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index ba5366957f7..ee571ea404a 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -71,11 +71,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,7 +138,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -157,7 +157,7 @@ public function toPatchRequestInformation(DeviceEnrollmentConfiguration $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 12796689b55..3eb55aa0e82 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.php index ea054bdf5c6..8536ddbf826 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetPriorityPostRequestBody $body, ?SetP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.php index 444652b6efb..4d9933aa401 100644 --- a/src/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceManagementPartnersRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceManagementPartner $body, ?DeviceM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.php index 2d70b9c414f..f3438eb4016 100644 --- a/src/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?DeviceManagementPartnerItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?DeviceManagementPartnerItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(DeviceManagementPartner $body, ?Device $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.php index 8e8dc4bd6f2..09868adcefb 100644 --- a/src/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?TerminateRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 5944b53399a..9b84f45d2c6 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -527,7 +527,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-gpanalyticsservice-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -555,7 +555,7 @@ public function toGetRequestInformation(?DeviceManagementRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -574,7 +574,7 @@ public function toPatchRequestInformation(DeviceManagement $body, ?DeviceManagem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.php b/src/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.php index d8a37161800..6c23252cbf6 100644 --- a/src/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.php +++ b/src/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ExchangeConnectorsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceManagementExchangeConnector $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.php b/src/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.php index 5ed85004e4e..df6d0f9bb20 100644 --- a/src/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?DeviceManagementExchangeConnectorIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?DeviceManagementExchangeConnectorItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(DeviceManagementExchangeConnector $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.php b/src/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.php index a575988161e..0d707dce0d1 100644 --- a/src/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.php +++ b/src/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SyncPostRequestBody $body, ?SyncRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.php b/src/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.php index 79afd968def..9306e3388e2 100644 --- a/src/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.php +++ b/src/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEffectivePermissionsWithScopeRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.php b/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.php index fb1e95a975f..abc212e5bfd 100644 --- a/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.php +++ b/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImportPostRequestBody $body, ?ImportReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.php b/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.php index 833e2dca860..d8326589a60 100644 --- a/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.php +++ b/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?ImportedWindowsAutopilotDeviceIdentitie } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toPostRequestInformation(ImportedWindowsAutopilotDeviceIdentity $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.php b/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.php index 5cb6efa2029..20a8b65b3d5 100644 --- a/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?ImportedWindowsAutopilotDeviceIdenti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ImportedWindowsAutopilotDeviceIdentityI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ImportedWindowsAutopilotDeviceIdentity $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.php b/src/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.php index fff14808c3b..9cbbc90c4ba 100644 --- a/src/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.php +++ b/src/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?IosUpdateStatusesRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(IosUpdateDeviceStatus $body, ?IosUpdate $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.php b/src/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.php index 9fece3b5891..1e1c1efd71b 100644 --- a/src/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?IosUpdateDeviceStatusItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?IosUpdateDeviceStatusItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(IosUpdateDeviceStatus $body, ?IosUpdat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.php index 224634d7f73..d5cf7815fb0 100644 --- a/src/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.php @@ -63,7 +63,7 @@ public function toGetRequestInformation(?ManagedDeviceOverviewRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php index 3d2a8e713c6..519fbc98f2b 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?BypassActivationLockRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php index 4922108db10..9780d51d942 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CleanWindowsDevicePostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php index a0b04ff7831..9d275ea2a1c 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeleteUserFromSharedAppleDevicePostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php index d2de7945110..f3a2bbb248b 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceCategoryRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceCategoryRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceCategory $body, ?DeviceCategoryR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php index 3d4fabcf6a7..ea950050fb4 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyStatesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceCompliancePolicyState $body, ?Dev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php index 2e79b61f5b0..4dde6cc7831 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyStateItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyStateItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceCompliancePolicyState $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php index ecc0485eee0..29c4db94edb 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceConfigurationStatesRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceConfigurationState $body, ?Device $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php index 5ed9cb43b1e..173411dae10 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationStateItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceConfigurationStateItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceConfigurationState $body, ?Devic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php index 137e45c2b7d..0e03b76b00e 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DisableLostModeRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php index 4caa04082b5..745de0b1f04 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?LocateDeviceRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php index 910472f3419..4c4b6d929c8 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?CreateDownloadUrlRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php index 01f2588c47f..1e56bb495cd 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DeviceLogCollectionResponseItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DeviceLogCollectionResponseItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DeviceLogCollectionResponse $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php index f4c26921129..9d1ef3af43d 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?LogCollectionRequestsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceLogCollectionResponse $body, ?Log $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php index 22c731139c1..e6ac5d23207 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?LogoutSharedAppleDeviceActiveUserReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php index 9fda112242a..1675f8cb047 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php @@ -285,7 +285,7 @@ public function toDeleteRequestInformation(?ManagedDeviceItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -306,7 +306,7 @@ public function toGetRequestInformation(?ManagedDeviceItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -325,7 +325,7 @@ public function toPatchRequestInformation(ManagedDevice $body, ?ManagedDeviceIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php index 90d6ce7ebba..377fc17a0c5 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RebootNowRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php index d677f875b72..4cecdb1d9d3 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RecoverPasscodeRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php index 4a43a19face..ce8fbf33e47 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoteLockRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php index 6ee4c94ebe8..87f8be89b43 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RequestRemoteAssistanceRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php index 79b19e89e58..1456eedc59e 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ResetPasscodeRequestBuilderPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.php index 8c367dd2a85..b8fd0860367 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RetireRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php index 78f16d25fb2..5be05232a05 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ShutDownRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php index d9b1ba2cae5..4bec0d89183 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SyncDeviceRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php index ec99bf7c2ca..76341461cda 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpdateWindowsDeviceAccountPostRequestBo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.php index 7d6bf7cb66e..4c52cb6095b 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.php @@ -63,7 +63,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php index 16dc6845dc3..fda014d2c93 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WindowsDefenderScanPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php index 137ec3c42f2..bd9b6a07a9e 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?WindowsDefenderUpdateSignaturesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php index 700223801dd..552bf40f57e 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DetectedMalwareStateRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsDeviceMalwareState $body, ?Detec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php index 3b00ecddd3f..02b46e2cf0d 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?WindowsDeviceMalwareStateItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?WindowsDeviceMalwareStateItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(WindowsDeviceMalwareState $body, ?Wind $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php index df144858174..1470713dee6 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?WindowsProtectionStateRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?WindowsProtectionStateRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WindowsProtectionState $body, ?Windows $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.php index 5e1faee68ec..c5c37208e22 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WipePostRequestBody $body, ?WipeRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.php index e9e72d225d8..7114607a9a6 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ManagedDevicesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ManagedDevice $body, ?ManagedDevicesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php index d48fb064ce0..4f357cfa221 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AppLogCollectionRequestsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(AppLogCollectionRequest $body, ?AppLogC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php index 3788fc6b296..19bd21e8bdd 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?AppLogCollectionRequestItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?AppLogCollectionRequestItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(AppLogCollectionRequest $body, ?AppLog $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php index 3898e73f33e..dd5282c4404 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(?CreateDownloadUrlRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.php index f40cba7b181..4dfd18957ab 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?MobileAppTroubleshootingEventItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?MobileAppTroubleshootingEventItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(MobileAppTroubleshootingEvent $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.php index 16dab3f63d4..faca3c1ddbc 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MobileAppTroubleshootingEventsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileAppTroubleshootingEvent $body, ?M $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.php b/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.php index f5b63361e0f..0dc28da847e 100644 --- a/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MobileThreatDefenseConnectorItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MobileThreatDefenseConnectorItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MobileThreatDefenseConnector $body, ?M $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.php b/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.php index 94769efea19..fef6025054e 100644 --- a/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?MobileThreatDefenseConnectorsRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MobileThreatDefenseConnector $body, ?Mo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.php b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.php index 5a7ab5a6d45..1136031c630 100644 --- a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?LocalizedNotificationMessageItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?LocalizedNotificationMessageItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(LocalizedNotificationMessage $body, ?L $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.php b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.php index de7e9cd3745..d4f0590edc1 100644 --- a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.php +++ b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?LocalizedNotificationMessagesRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(LocalizedNotificationMessage $body, ?Lo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.php b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.php index 7fc7ad20065..907ee428649 100644 --- a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.php @@ -109,7 +109,7 @@ public function toDeleteRequestInformation(?NotificationMessageTemplateItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?NotificationMessageTemplateItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -149,7 +149,7 @@ public function toPatchRequestInformation(NotificationMessageTemplate $body, ?No $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.php b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.php index 1bb048d434f..1a602c80d3f 100644 --- a/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.php +++ b/src/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SendTestMessageRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.php b/src/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.php index 231e9aa979c..e860cc8a4eb 100644 --- a/src/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.php +++ b/src/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?NotificationMessageTemplatesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(NotificationMessageTemplate $body, ?Not $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.php b/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.php index b62c405542b..c1eb595bcbf 100644 --- a/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.php +++ b/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?BeginOnboardingRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.php b/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.php index 2cee6ca3721..07e945626ab 100644 --- a/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.php +++ b/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DisconnectRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.php b/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.php index 6493344abf9..785f14977d6 100644 --- a/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.php @@ -109,7 +109,7 @@ public function toDeleteRequestInformation(?RemoteAssistancePartnerItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?RemoteAssistancePartnerItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -149,7 +149,7 @@ public function toPatchRequestInformation(RemoteAssistancePartner $body, ?Remote $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.php b/src/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.php index fddfb6f3184..d74bd816813 100644 --- a/src/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.php +++ b/src/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RemoteAssistancePartnersRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(RemoteAssistancePartner $body, ?RemoteA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.php b/src/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.php index 5d34feb8436..1b77ee72bd5 100644 --- a/src/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ExportJobsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceManagementExportJob $body, ?Expor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.php b/src/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.php index 04cb0d5df95..d1229c2b874 100644 --- a/src/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?DeviceManagementExportJobItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?DeviceManagementExportJobItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DeviceManagementExportJob $body, ?Devi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.php index 7d6cae5c016..fff634e6496 100644 --- a/src/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetCachedReportPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.php index f491bf5d7a3..a37bd88ce99 100644 --- a/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetCompliancePolicyNonComplianceReportP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.php index bfdafd6cce6..7f09b136b15 100644 --- a/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetCompliancePolicyNonComplianceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.php index 556c0aa01af..07a86ea428f 100644 --- a/src/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetComplianceSettingNonComplianceReport $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.php index 4a92bb0d9ec..cd23cbfc7a1 100644 --- a/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetConfigurationPolicyNonComplianceRepo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.php index 88baf794bf9..025542cdeb6 100644 --- a/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetConfigurationPolicyNonComplianceSumm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.php index 7a174f49fe6..b92e0d72461 100644 --- a/src/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetConfigurationSettingNonComplianceRep $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.php index 2bf291499f9..169027aff69 100644 --- a/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetDeviceManagementIntentPerSettingCont $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.php index 69d4e6df37a..7a99fa604eb 100644 --- a/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetDeviceManagementIntentSettingsReport $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.php index 964c6f90d6d..04ff425e4c7 100644 --- a/src/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetDeviceNonComplianceReportPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.php index 1409e04df89..7a98e72a311 100644 --- a/src/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetDevicesWithoutCompliancePolicyReport $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.php index 6e100bf7a7b..1853fcb69d5 100644 --- a/src/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetHistoricalReportPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.php index d22b0a986e5..2f02dff893d 100644 --- a/src/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetNoncompliantDevicesAndSettingsReport $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.php index a4ae84b1800..d0688fd6953 100644 --- a/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetPolicyNonComplianceMetadataPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.php index 5135755bd8c..f535da58672 100644 --- a/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetPolicyNonComplianceReportPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.php index 7ae0d1629cf..4fcf7b32122 100644 --- a/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetPolicyNonComplianceSummaryReportPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.php index 84e5d8ebc77..433b0742664 100644 --- a/src/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetReportFiltersPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.php b/src/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.php index 08ad9488e04..ffe0cf360f7 100644 --- a/src/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.php @@ -64,7 +64,7 @@ public function toPostRequestInformation(GetSettingNonComplianceReportPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/Reports/ReportsRequestBuilder.php b/src/Generated/DeviceManagement/Reports/ReportsRequestBuilder.php index 795a5735a0c..7cf711168dc 100644 --- a/src/Generated/DeviceManagement/Reports/ReportsRequestBuilder.php +++ b/src/Generated/DeviceManagement/Reports/ReportsRequestBuilder.php @@ -244,7 +244,7 @@ public function toDeleteRequestInformation(?ReportsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -265,7 +265,7 @@ public function toGetRequestInformation(?ReportsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -284,7 +284,7 @@ public function toPatchRequestInformation(DeviceManagementReports $body, ?Report $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.php b/src/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.php index 827d6b15031..34df971d8ca 100644 --- a/src/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ResourceOperationItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ResourceOperationItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ResourceOperation $body, ?ResourceOper $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.php b/src/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.php index 922e2a40679..304a5ce6eb5 100644 --- a/src/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ResourceOperationsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(ResourceOperation $body, ?ResourceOpera $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.php index d233403cb53..062fed6c386 100644 --- a/src/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?DeviceAndAppManagementRoleAssignment $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?DeviceAndAppManagementRoleAssignmentIte } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(DeviceAndAppManagementRoleAssignment $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index bbebf9a1f80..be47263b3e8 100644 --- a/src/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php index 3cadb42dd62..359ae5dba8c 100644 --- a/src/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RoleAssignmentsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DeviceAndAppManagementRoleAssignment $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.php index b95eadc7eb1..7bd12f2a078 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?RoleAssignmentItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?RoleAssignmentItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(RoleAssignment $body, ?RoleAssignmentI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 4f95d6635e0..1a0235b7bde 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.php index 2b5e466275a..1425d4a220a 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?RoleAssignmentsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(RoleAssignment $body, ?RoleAssignmentsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index c73f9791624..710af524134 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a roleDefinition. + * Deletes a deviceAndAppManagementRoleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 Find more info here */ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -55,11 +55,11 @@ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfigurati } /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -71,12 +71,12 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -88,7 +88,7 @@ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPat } /** - * Deletes a roleDefinition. + * Deletes a deviceAndAppManagementRoleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?RoleDefinitionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(RoleDefinition $body, ?RoleDefinitionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php index 66802fd4f88..6ab7af424b5 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. */ class RoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index c4ab09c572e..02cd19ad956 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -68,12 +68,12 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 Find more info here */ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(RoleDefinition $body, ?RoleDefinitionsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.php b/src/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.php index 965d050ff89..f1d859f10ed 100644 --- a/src/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.php +++ b/src/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.php @@ -63,7 +63,7 @@ public function toGetRequestInformation(?SoftwareUpdateStatusSummaryRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.php b/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.php index 94cd9439295..bb374ef7d80 100644 --- a/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?TelecomExpenseManagementPartnerItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TelecomExpenseManagementPartnerItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TelecomExpenseManagementPartner $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.php b/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.php index eb96ec1b308..514d1ec0672 100644 --- a/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.php +++ b/src/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TelecomExpenseManagementPartnersRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(TelecomExpenseManagementPartner $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.php index b3849cd3419..87672212405 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AcceptanceStatusesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(TermsAndConditionsAcceptanceStatus $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.php index 6a54a72fe6e..cb63e020e3c 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TermsAndConditionsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.php index ceed515a987..7619a6010e6 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?TermsAndConditionsAcceptanceStatusIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?TermsAndConditionsAcceptanceStatusItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TermsAndConditionsAcceptanceStatus $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.php index 94e06efb91e..71bfb95efd7 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(TermsAndConditionsAssignment $body, ?As $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.php index 45f36dba0a9..1383c90bfa2 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?TermsAndConditionsAssignmentItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TermsAndConditionsAssignmentItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TermsAndConditionsAssignment $body, ?T $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.php index c89bf349818..d8fd377287b 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.php @@ -109,7 +109,7 @@ public function toDeleteRequestInformation(?TermsAndConditionsItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toGetRequestInformation(?TermsAndConditionsItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -149,7 +149,7 @@ public function toPatchRequestInformation(TermsAndConditions $body, ?TermsAndCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.php b/src/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.php index 9ae1a029eb6..cb0a73f77eb 100644 --- a/src/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TermsAndConditionsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(TermsAndConditions $body, ?TermsAndCond $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php b/src/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php index ba082f4e4e0..a64322d63e1 100644 --- a/src/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceManagementTroubleshootingEvent $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceManagementTroubleshootingEventIte } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceManagementTroubleshootingEvent $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.php b/src/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.php index d42aeb17b04..cb644ff3ccf 100644 --- a/src/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.php +++ b/src/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TroubleshootingEventsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceManagementTroubleshootingEvent $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.php index 79222f70982..07f791eb471 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthAppl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthApplica } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthApplic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.php index 56c61e2fc80..4abb8a1ec6e 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthApplica } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthApplica $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.php index 1fb122e95a6..1f025a73688 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthAppP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthAppPerf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthAppPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.php index c881ed13430..a3447301902 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthApplica } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthAppPerf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.php index 77d58d5d3a8..48dc9eb8183 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthAppP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthAppPerf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthAppPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.php index 22096c38e45..ffed8c4b5de 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthApplica } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthAppPerf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.php index b2aa292a15f..cfaf43d945e 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthAppP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthAppPerf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthAppPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.php index 001e7c0fa38..7faa70afde1 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthApplica } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthAppPerf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.php index 540d1d00ca9..a1055efab48 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthDevi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthDeviceM } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthDevice $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.php index aef4d6ee69c..9829fbd1fec 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthDeviceM } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthDeviceM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.php index 14a85b26262..1fffcf63075 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthDevi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthDeviceP } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthDevice $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.php index 7a3aab19b6a..b746adbacc8 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthDeviceP } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthDeviceP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.php index 85f670da15a..0e46479445d 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthDevi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthDeviceP } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthDevice $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.php index 2067e07b298..c1803300d82 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthDeviceP } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthDeviceP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.php index be12c49dcab..b0b33a7bcab 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthOSVe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthOSVersi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsAppHealthOSVers $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.php index 6a4a1f48ed7..78df258975f 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthOSVersi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsAppHealthOSVersi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php index c8d5d43aae6..4f71c74834f 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsMetricItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsMetricItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsMetric $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.php index d8e97641065..57d8aa3c3fa 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MetricValuesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsMetric $body, ?M $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.php index e62baead06a..ab2ecf34a15 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsAppHealthOver $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsAppHealthOvervie } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsCategory $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.php index 9c3b1d631c8..a23e443736a 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppHealthMetricsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.php index 1012db7bcbc..55ac0e2e74b 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BatteryHealthMetricsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.php index 3e5b7ff949c..0f7dd2bcbab 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BestPracticesMetricsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.php index a539b2332a9..a7ae2269505 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeviceBootPerformanceMetricsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.php index 7032440be96..0edc9813c17 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RebootAnalyticsMetricsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.php index 4e28d8ac79a..f07e83ae2bb 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ResourcePerformanceMetricsRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.php index 424b14b6e69..778ea93b910 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.php @@ -146,7 +146,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsBaselineItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -167,7 +167,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsBaselineItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -186,7 +186,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsBaseline $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.php index 92584abc992..ed08e4dff2a 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorkFromAnywhereMetricsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.php index ceb8bed2359..84f44e004af 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsBaselinesRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsBaseline $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php index 7b72c734e13..5e25df5266c 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsMetricItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsMetricItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsMetric $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.php index e9e278237e6..c70c392c052 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MetricValuesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsMetric $body, ?M $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.php index 7c62e5a892b..67af97670b6 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsCategoryItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsCategoryItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsCategory $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.php index 264ca9588f4..3ce29ab7aad 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsCategoriesReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsCategory $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.php index 6938fd5e492..df6b337475e 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsDevicePerform $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDevicePerformanc } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsDevicePerforman $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.php index 2e8e68adc21..2463b07fa23 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?SummarizeDevicePerformanceDevicesWithSu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.php index 6858fbe5eb3..9fc5f891317 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDevicePerformanc } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsDevicePerformanc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.php index 97402baba54..50e4dbbec7e 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsDeviceScoresI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceScoresItem } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsDeviceScores $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.php index 5ee6b2235d5..170508f02ae 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceScoresRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsDeviceScores $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.php index 20a16458ac7..bd680e33189 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsDeviceStartup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceStartupHis } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsDeviceStartupHi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.php index 3d373718158..dc80ddb9ef1 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceStartupHis } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsDeviceStartupHis $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.php index 8504e13aa91..560fab7658f 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsDeviceStartup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceStartupPro } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsDeviceStartupPr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.php index ee3a930fc90..09f34b375e2 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceStartupPro } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsDeviceStartupPro $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.php index 07dbcb6b67f..32fbaceb26a 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsDeviceStartup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceStartupPro } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsDeviceStartupPr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.php index 6a16ea7874f..a571237cffa 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsDeviceStartupPro } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsDeviceStartupPro $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.php index 45b5a78f160..daaaed3b08c 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsMetricHistory $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsMetricHistoryIte } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsMetricHistory $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.php index f9fdf45e4a2..96d4d2185e9 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsMetricHistoryReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsMetricHistory $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.php index 56155deaf9f..3b09af981c3 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsModelScoresIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsModelScoresItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsModelScores $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.php index bcfa6de4198..bd3f3a6bfd3 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsModelScoresReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsModelScores $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.php index 6ca37ba6487..f3f9bdee7f8 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsOverviewReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsOverviewRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsOverview $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.php index 5d47f0e72cc..93a631de743 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsScoreHistoryI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsScoreHistoryItem } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsScoreHistory $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.php index c90beee5586..7f1c86b74ca 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsScoreHistoryRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsScoreHistory $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.php index c53c8b7aa46..5c2f7e95092 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsSummarizeWorkFro $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.php index 097a9154ba7..2688a934fd6 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsWorkFromAnywh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsWorkFromAnywhere } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsWorkFromAnywher $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.php index 8e0cddeb53c..b697713646c 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsWorkFromAnywh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsWorkFromAnywhere } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsWorkFromAnywher $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.php index 8142b76e9f7..d18a3a56e14 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MetricDevicesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsWorkFromAnywhere $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.php index 2dd952849a6..5e82c54ffd5 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsWorkFromAnywh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsWorkFromAnywhere } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsWorkFromAnywher $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.php index f427e24dc8f..bd6e8a1e62f 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsWorkFromAnywhere } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsWorkFromAnywhere $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.php index b79dcddaf19..54ee7b4e573 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserExperienceAnalyticsWorkFromAnywh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsWorkFromAnywhere } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserExperienceAnalyticsWorkFromAnywher $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.php b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.php index f8c433525be..35feef9566a 100644 --- a/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.php +++ b/src/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?UserExperienceAnalyticsWorkFromAnywhere } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserExperienceAnalyticsWorkFromAnywhere $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.php b/src/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.php index d4e3109bd30..17dadb738f3 100644 --- a/src/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.php +++ b/src/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?VerifyWindowsEnrollmentAutoDiscoveryWit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.php b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.php index 0a058c83646..5203ee04238 100644 --- a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssignUserToDevicePostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.php b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.php index 094c58b85d5..ab04b9f4d7b 100644 --- a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnassignUserFromDeviceRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.php b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.php index f6676775e4b..9dc1a745646 100644 --- a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpdateDevicePropertiesPostRequestBody $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.php b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.php index aff858aa513..d43deb745ae 100644 --- a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.php @@ -116,7 +116,7 @@ public function toDeleteRequestInformation(?WindowsAutopilotDeviceIdentityItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -137,7 +137,7 @@ public function toGetRequestInformation(?WindowsAutopilotDeviceIdentityItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(WindowsAutopilotDeviceIdentity $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.php b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.php index dd8e66d6ee5..284c8b9216a 100644 --- a/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WindowsAutopilotDeviceIdentitiesRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsAutopilotDeviceIdentity $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.php b/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.php index 24815c898b2..86d304c54aa 100644 --- a/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionAppLearn $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionAppLearning } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionAppLearnin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.php b/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.php index c716d7f1125..c0e24126e23 100644 --- a/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionAppLearning } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsInformationProtectionAppLearning $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.php b/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.php index 26f074e8d3e..c2739ae25ef 100644 --- a/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?WindowsInformationProtectionNetworkL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionNetworkLear } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(WindowsInformationProtectionNetworkLea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.php b/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.php index 26a8cc8fb4a..bf2c799fe75 100644 --- a/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WindowsInformationProtectionNetworkLear } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsInformationProtectionNetworkLear $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.php b/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.php index d9817aa6be5..33417558191 100644 --- a/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DeviceMalwareStatesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(MalwareStateForWindowsDevice $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.php b/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.php index f3a4a6f5780..5ae3ac5d47c 100644 --- a/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?MalwareStateForWindowsDeviceItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?MalwareStateForWindowsDeviceItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MalwareStateForWindowsDevice $body, ?M $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.php b/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.php index 79a2dfa5fb5..e26f600c1d4 100644 --- a/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?WindowsMalwareInformationItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?WindowsMalwareInformationItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(WindowsMalwareInformation $body, ?Wind $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.php b/src/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.php index 2b3bcd5ea70..1da5422b84c 100644 --- a/src/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.php +++ b/src/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?WindowsMalwareInformationRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsMalwareInformation $body, ?Windo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Delta/DeltaRequestBuilder.php b/src/Generated/Devices/Delta/DeltaRequestBuilder.php index 0d4700bcec2..7849dca5e9d 100644 --- a/src/Generated/Devices/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Devices/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/DevicesRequestBuilder.php b/src/Generated/Devices/DevicesRequestBuilder.php index 65a55e82798..044945bf575 100644 --- a/src/Generated/Devices/DevicesRequestBuilder.php +++ b/src/Generated/Devices/DevicesRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of device objects registered in the organization. This API is available in the following national cloud deployments. + * Retrieve a list of device objects registered in the organization. * @param DevicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function get(?DevicesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create and register a new device in the organization. This API is available in the following national cloud deployments. + * Create and register a new device in the organization. * @param Device $body The request body * @param DevicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -117,7 +117,7 @@ public function post(Device $body, ?DevicesRequestBuilderPostRequestConfiguratio } /** - * Retrieve a list of device objects registered in the organization. This API is available in the following national cloud deployments. + * Retrieve a list of device objects registered in the organization. * @param DevicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toGetRequestInformation(?DevicesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create and register a new device in the organization. This API is available in the following national cloud deployments. + * Create and register a new device in the organization. * @param Device $body The request body * @param DevicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -152,7 +152,7 @@ public function toPostRequestInformation(Device $body, ?DevicesRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/DevicesRequestBuilderGetQueryParameters.php b/src/Generated/Devices/DevicesRequestBuilderGetQueryParameters.php index 0c69354f040..93561fbaf86 100644 --- a/src/Generated/Devices/DevicesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Devices/DevicesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of device objects registered in the organization. This API is available in the following national cloud deployments. + * Retrieve a list of device objects registered in the organization. */ class DevicesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 87e02428eac..2f29fc763cc 100644 --- a/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Devices/GetByIds/GetByIdsRequestBuilder.php index 5380f59bcdd..861e9adb148 100644 --- a/src/Generated/Devices/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Devices/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 1e7296acc59..eb72246a40d 100644 --- a/src/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index aa7ace8605e..6f426350b7a 100644 --- a/src/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/DeviceItemRequestBuilder.php b/src/Generated/Devices/Item/DeviceItemRequestBuilder.php index 4bdeed41750..30dc35d34bf 100644 --- a/src/Generated/Devices/Item/DeviceItemRequestBuilder.php +++ b/src/Generated/Devices/Item/DeviceItemRequestBuilder.php @@ -111,7 +111,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a registered device. This API is available in the following national cloud deployments. + * Delete a registered device. * @param DeviceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function delete(?DeviceItemRequestBuilderDeleteRequestConfiguration $requ } /** - * Get the properties and relationships of a device object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a device object. * @param DeviceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -143,7 +143,7 @@ public function get(?DeviceItemRequestBuilderGetRequestConfiguration $requestCon } /** - * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. This API is available in the following national cloud deployments. + * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. * @param Device $body The request body * @param DeviceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -160,7 +160,7 @@ public function patch(Device $body, ?DeviceItemRequestBuilderPatchRequestConfigu } /** - * Delete a registered device. This API is available in the following national cloud deployments. + * Delete a registered device. * @param DeviceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -173,12 +173,12 @@ public function toDeleteRequestInformation(?DeviceItemRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a device object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a device object. * @param DeviceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -194,12 +194,12 @@ public function toGetRequestInformation(?DeviceItemRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. This API is available in the following national cloud deployments. + * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. * @param Device $body The request body * @param DeviceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -213,7 +213,7 @@ public function toPatchRequestInformation(Device $body, ?DeviceItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/DeviceItemRequestBuilderGetQueryParameters.php b/src/Generated/Devices/Item/DeviceItemRequestBuilderGetQueryParameters.php index 13e8a47ac17..19757b024a2 100644 --- a/src/Generated/Devices/Item/DeviceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Devices/Item/DeviceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a device object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a device object. */ class DeviceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.php index af7d8f2da59..9e6f04528b0 100644 --- a/src/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 2a5308d7ffe..76fda7d086b 100644 --- a/src/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 958b0d1df13..001568a74d5 100644 --- a/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index d9b0c04739f..2ba45d0e913 100644 --- a/src/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index f52cf867cfe..f8f21d681fe 100644 --- a/src/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php index 5c00119489e..944627a7a67 100644 --- a/src/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php index fc07729e847..a3a4683c9ac 100644 --- a/src/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index a21b453a4eb..5cf774e9b3b 100644 --- a/src/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index b5a41d99fa3..7edcb90b5e9 100644 --- a/src/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.php b/src/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.php index ef141db3554..f46be49902a 100644 --- a/src/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.php +++ b/src/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MemberOfRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index ffcd3705d87..e723943803f 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.php index 44aa8596560..1918d625461 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 29007d3576b..72cc43fb8e2 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.php index 28799703213..6e0a0f4aeee 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index c7524dc5115..e43d2517c8e 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index b99a7b2e1c4..81dc8a49152 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 32342bb0231..8182283af35 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.php index 3856624f126..deb58bafa44 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.php index 65dfa8ed7cf..ebc8b56153d 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + * Remove a user as a registered owner of the device. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + * Remove a user as a registered owner of the device. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 16f4ed054ef..b175574b69e 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + * Remove a user as a registered owner of the device. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php index 29754d40142..2c0fca13062 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a user as a registered owner of the device. This API is available in the following national cloud deployments. + * Add a user as a registered owner of the device. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a user as a registered owner of the device. This API is available in the following national cloud deployments. + * Add a user as a registered owner of the device. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php index d9227e3296c..1a06a378d44 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php @@ -123,7 +123,7 @@ public function toGetRequestInformation(?RegisteredOwnersRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index 40cd557f3c1..ece86e055ab 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.php index 50552a605c0..562bd089ff0 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index e87ba65319c..1b175060383 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.php index 5fa1a7df5ef..a0d7c24603e 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index f6e4b36b6c8..208bf6fb378 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index ee9e9603445..e05c22b9764 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 629b84e409b..06a03d44eb2 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.php index ec2b9f97cbe..d58214250e2 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.php index 49613f2dfdf..142a0c4a519 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + * Remove a user as a registered user of the device. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + * Remove a user as a registered user of the device. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index cbbe25e34a6..41be97d65cc 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + * Remove a user as a registered user of the device. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php index 12bbb97e336..97f92d888b7 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a registered user for the device. This API is available in the following national cloud deployments. + * Add a registered user for the device. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a registered user for the device. This API is available in the following national cloud deployments. + * Add a registered user for the device. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php index 979fa48b1d9..ce67d2d73bc 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php @@ -123,7 +123,7 @@ public function toGetRequestInformation(?RegisteredUsersRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php index 8aca41b35df..a6f5bff3cea 100644 --- a/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Devices/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 0c43fdf5eaf..3d94d3e6d19 100644 --- a/src/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php index 62f6abd1d4f..c25677d81c6 100644 --- a/src/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php index d8b364b0fa8..38a8483e453 100644 --- a/src/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 9c9ecc08b13..a527571c937 100644 --- a/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index dd49a5f17c3..815b1d94f30 100644 --- a/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php b/src/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php index 6069796b51a..89f4fb8ebb1 100644 --- a/src/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php +++ b/src/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TransitiveMemberOfRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.php index 2470bcb9b24..1fe8cf82b01 100644 --- a/src/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.php b/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.php index d8def5439fa..e1b3319c1c5 100644 --- a/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.php +++ b/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.php @@ -34,7 +34,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a registered device. This API is available in the following national cloud deployments. + * Delete a registered device. * @param DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -50,7 +50,7 @@ public function delete(?DevicesWithDeviceIdRequestBuilderDeleteRequestConfigurat } /** - * Get the properties and relationships of a device object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a device object. * @param DevicesWithDeviceIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -66,7 +66,7 @@ public function get(?DevicesWithDeviceIdRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. This API is available in the following national cloud deployments. + * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. * @param Device $body The request body * @param DevicesWithDeviceIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -83,7 +83,7 @@ public function patch(Device $body, ?DevicesWithDeviceIdRequestBuilderPatchReque } /** - * Delete a registered device. This API is available in the following national cloud deployments. + * Delete a registered device. * @param DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,12 +96,12 @@ public function toDeleteRequestInformation(?DevicesWithDeviceIdRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a device object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a device object. * @param DevicesWithDeviceIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?DevicesWithDeviceIdRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. This API is available in the following national cloud deployments. + * Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. * @param Device $body The request body * @param DevicesWithDeviceIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPatchRequestInformation(Device $body, ?DevicesWithDeviceIdRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilderGetQueryParameters.php b/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilderGetQueryParameters.php index 5f0fb5b3dca..a49f51dd8c5 100644 --- a/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilderGetQueryParameters.php +++ b/src/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a device object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a device object. */ class DevicesWithDeviceIdRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php index 8eea22224cf..bdbe4851cda 100644 --- a/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of administrativeUnit objects. This API is available in the following national cloud deployments. + * Retrieve a list of administrativeUnit objects. * @param AdministrativeUnitsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?AdministrativeUnitsRequestBuilderGetRequestConfiguration $r } /** - * Use this API to create a new administrativeUnit. This API is available in the following national cloud deployments. + * Use this API to create a new administrativeUnit. * @param AdministrativeUnit $body The request body * @param AdministrativeUnitsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(AdministrativeUnit $body, ?AdministrativeUnitsRequestBuilde } /** - * Retrieve a list of administrativeUnit objects. This API is available in the following national cloud deployments. + * Retrieve a list of administrativeUnit objects. * @param AdministrativeUnitsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AdministrativeUnitsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new administrativeUnit. This API is available in the following national cloud deployments. + * Use this API to create a new administrativeUnit. * @param AdministrativeUnit $body The request body * @param AdministrativeUnitsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(AdministrativeUnit $body, ?Administrati $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilderGetQueryParameters.php index dee1757d7aa..ad4cb609b3f 100644 --- a/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/AdministrativeUnits/AdministrativeUnitsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of administrativeUnit objects. This API is available in the following national cloud deployments. + * Retrieve a list of administrativeUnit objects. */ class AdministrativeUnitsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/AdministrativeUnits/Delta/DeltaRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Delta/DeltaRequestBuilder.php index fe22e7fe43e..a75eabcce54 100644 --- a/src/Generated/Directory/AdministrativeUnits/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.php index 93265830e4f..72de61340fd 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an administrativeUnit. This API is available in the following national cloud deployments. + * Delete an administrativeUnit. * @param AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?AdministrativeUnitItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve the properties and relationships of an administrativeUnit object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an administrativeUnit object. * @param AdministrativeUnitItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?AdministrativeUnitItemRequestBuilderGetRequestConfiguration } /** - * Update the properties of an administrativeUnit object. This API is available in the following national cloud deployments. + * Update the properties of an administrativeUnit object. * @param AdministrativeUnit $body The request body * @param AdministrativeUnitItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(AdministrativeUnit $body, ?AdministrativeUnitItemRequestBu } /** - * Delete an administrativeUnit. This API is available in the following national cloud deployments. + * Delete an administrativeUnit. * @param AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?AdministrativeUnitItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an administrativeUnit object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an administrativeUnit object. * @param AdministrativeUnitItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?AdministrativeUnitItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an administrativeUnit object. This API is available in the following national cloud deployments. + * Update the properties of an administrativeUnit object. * @param AdministrativeUnit $body The request body * @param AdministrativeUnitItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(AdministrativeUnit $body, ?Administrat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilderGetQueryParameters.php index 3fb99aaed36..7b84bf03aca 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an administrativeUnit object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an administrativeUnit object. */ class AdministrativeUnitItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.php index e8334e505a2..5f4b7e8613d 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 8b983f968aa..bb4d61c6ad3 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php index 8073712508f..bbbe3976ad7 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php index d7e0f0ebb26..3ccccec1cd1 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.php index 8cdec1f485d..a5d4e352a81 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php index 7579851d666..b67d41fdc9a 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 3d3614fc2c8..45a15912569 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.php index eb63721e461..7a956b9a1fa 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php index 8d5adbf2c6b..2c9afe026cf 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php index 645d5c283f9..5af1e465b4c 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php index d4e4e2e2b2f..cfc49a6e3aa 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index 798dd7727b6..2035d045c5d 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 12a7f0cfd0b..a49166973e8 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php index f6b7b9ddd06..c7d6ca256b6 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.php index 0f1b2f2f75f..22938ae35f4 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to remove a member (user, group, or device) from an administrative unit. This API is available in the following national cloud deployments. + * Use this API to remove a member (user, group, or device) from an administrative unit. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Use this API to remove a member (user, group, or device) from an administrative unit. This API is available in the following national cloud deployments. + * Use this API to remove a member (user, group, or device) from an administrative unit. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index c76a3ee9610..29f2d6b4f0a 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Use this API to remove a member (user, group, or device) from an administrative unit. This API is available in the following national cloud deployments. + * Use this API to remove a member (user, group, or device) from an administrative unit. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php index 1a9721ee071..2795cab1f5f 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php @@ -157,7 +157,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -176,7 +176,7 @@ public function toPostRequestInformation(DirectoryObject $body, ?MembersRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.php index 1415f199b46..ed0f1bc6015 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.php index 5fac38e0f9d..02ce275d47e 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + * Remove a Microsoft Entra role assignment with administrative unit scope. * @param ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ScopedRoleMembershipItemRequestBuilderDeleteRequestConfi } /** - * Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + * Get a Microsoft Entra role assignment with administrative unit scope. * @param ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(ScopedRoleMembership $body, ?ScopedRoleMembershipItemReque } /** - * Remove a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + * Remove a Microsoft Entra role assignment with administrative unit scope. * @param ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ScopedRoleMembershipItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + * Get a Microsoft Entra role assignment with administrative unit scope. * @param ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ScopedRoleMembershipItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ScopedRoleMembership $body, ?ScopedRol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilderGetQueryParameters.php index bc75e6f7d4e..f2f5242349b 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + * Get a Microsoft Entra role assignment with administrative unit scope. */ class ScopedRoleMembershipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php index 2eaed64b667..9c2b30da715 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + * List Microsoft Entra role assignments with administrative unit scope. * @param ScopedRoleMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ScopedRoleMembersRequestBuilderGetRequestConfiguration $req } /** - * Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. This API is available in the following national cloud deployments. + * Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. * @param ScopedRoleMembership $body The request body * @param ScopedRoleMembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ScopedRoleMembership $body, ?ScopedRoleMembersRequestBuilde } /** - * List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + * List Microsoft Entra role assignments with administrative unit scope. * @param ScopedRoleMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ScopedRoleMembersRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. This API is available in the following national cloud deployments. + * Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. * @param ScopedRoleMembership $body The request body * @param ScopedRoleMembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ScopedRoleMembership $body, ?ScopedRole $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilderGetQueryParameters.php b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilderGetQueryParameters.php index 4f6561d7ab2..d3527413396 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + * List Microsoft Entra role assignments with administrative unit scope. */ class ScopedRoleMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php b/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php index 07420db30cd..d129bbd88dd 100644 --- a/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php +++ b/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the attributeSet objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the attributeSet objects and their properties. * @param AttributeSetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AttributeSetsRequestBuilderGetRequestConfiguration $request } /** - * Create a new attributeSet object. This API is available in the following national cloud deployments. + * Create a new attributeSet object. * @param AttributeSet $body The request body * @param AttributeSetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AttributeSet $body, ?AttributeSetsRequestBuilderPostRequest } /** - * Get a list of the attributeSet objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the attributeSet objects and their properties. * @param AttributeSetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AttributeSetsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new attributeSet object. This API is available in the following national cloud deployments. + * Create a new attributeSet object. * @param AttributeSet $body The request body * @param AttributeSetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AttributeSet $body, ?AttributeSetsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilderGetQueryParameters.php index cbbd2560ffc..c99284c2468 100644 --- a/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/AttributeSets/AttributeSetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the attributeSet objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the attributeSet objects and their properties. */ class AttributeSetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php b/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php index 58feaf024e0..5f82ca6ab30 100644 --- a/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php +++ b/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AttributeSetItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an attributeSet object. * @param AttributeSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttributeSetItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of an attributeSet object. This API is available in the following national cloud deployments. + * Update the properties of an attributeSet object. * @param AttributeSet $body The request body * @param AttributeSetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AttributeSetItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an attributeSet object. * @param AttributeSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?AttributeSetItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an attributeSet object. This API is available in the following national cloud deployments. + * Update the properties of an attributeSet object. * @param AttributeSet $body The request body * @param AttributeSetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(AttributeSet $body, ?AttributeSetItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilderGetQueryParameters.php index 15cfad72dff..b29b19c0e77 100644 --- a/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/AttributeSets/Item/AttributeSetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an attributeSet object. */ class AttributeSetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php index d0fb35fe7be..1ccac5710fe 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the customSecurityAttributeDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the customSecurityAttributeDefinition objects and their properties. * @param CustomSecurityAttributeDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CustomSecurityAttributeDefinitionsRequestBuilderGetRequestC } /** - * Create a new customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Create a new customSecurityAttributeDefinition object. * @param CustomSecurityAttributeDefinition $body The request body * @param CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CustomSecurityAttributeDefinition $body, ?CustomSecurityAtt } /** - * Get a list of the customSecurityAttributeDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the customSecurityAttributeDefinition objects and their properties. * @param CustomSecurityAttributeDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CustomSecurityAttributeDefinitionsReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Create a new customSecurityAttributeDefinition object. * @param CustomSecurityAttributeDefinition $body The request body * @param CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CustomSecurityAttributeDefinition $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters.php index 955792ebcc2..962a702a4ca 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the customSecurityAttributeDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the customSecurityAttributeDefinition objects and their properties. */ class CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php index d64d451ba64..b45440667e0 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the allowedValue objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the allowedValue objects and their properties. * @param AllowedValuesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AllowedValuesRequestBuilderGetRequestConfiguration $request } /** - * Create a new allowedValue object. This API is available in the following national cloud deployments. + * Create a new allowedValue object. * @param AllowedValue $body The request body * @param AllowedValuesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AllowedValue $body, ?AllowedValuesRequestBuilderPostRequest } /** - * Get a list of the allowedValue objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the allowedValue objects and their properties. * @param AllowedValuesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AllowedValuesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new allowedValue object. This API is available in the following national cloud deployments. + * Create a new allowedValue object. * @param AllowedValue $body The request body * @param AllowedValuesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AllowedValue $body, ?AllowedValuesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilderGetQueryParameters.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilderGetQueryParameters.php index 36bbb213d17..6fca57798a6 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the allowedValue objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the allowedValue objects and their properties. */ class AllowedValuesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php index fe91bf1fab6..108809be2a0 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AllowedValueItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an allowedValue object. * @param AllowedValueItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AllowedValueItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of an allowedValue object. This API is available in the following national cloud deployments. + * Update the properties of an allowedValue object. * @param AllowedValue $body The request body * @param AllowedValueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AllowedValueItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an allowedValue object. * @param AllowedValueItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?AllowedValueItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an allowedValue object. This API is available in the following national cloud deployments. + * Update the properties of an allowedValue object. * @param AllowedValue $body The request body * @param AllowedValueItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(AllowedValue $body, ?AllowedValueItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilderGetQueryParameters.php index 741785d5301..adddfd9a6be 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an allowedValue object. */ class AllowedValueItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php index 11957466b06..67af34ca940 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?CustomSecurityAttributeDefinitionItemRequestBuilderDelet } /** - * Read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a customSecurityAttributeDefinition object. * @param CustomSecurityAttributeDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?CustomSecurityAttributeDefinitionItemRequestBuilderGetReque } /** - * Update the properties of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Update the properties of a customSecurityAttributeDefinition object. * @param CustomSecurityAttributeDefinition $body The request body * @param CustomSecurityAttributeDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?CustomSecurityAttributeDefinitionIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a customSecurityAttributeDefinition object. * @param CustomSecurityAttributeDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?CustomSecurityAttributeDefinitionItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Update the properties of a customSecurityAttributeDefinition object. * @param CustomSecurityAttributeDefinition $body The request body * @param CustomSecurityAttributeDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(CustomSecurityAttributeDefinition $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters.php index 06aa9618864..6fecf3ee9e6 100644 --- a/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a customSecurityAttributeDefinition object. */ class CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php b/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php index 97e545197be..39b691d8ae9 100644 --- a/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilder.php @@ -123,7 +123,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. This API is available in the following national cloud deployments. + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. * @param DeletedItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -138,7 +138,7 @@ public function get(?DeletedItemsRequestBuilderGetRequestConfiguration $requestC } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. This API is available in the following national cloud deployments. + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. * @param DeletedItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,7 +154,7 @@ public function toGetRequestInformation(?DeletedItemsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilderGetQueryParameters.php index 6ed98e6f969..92f3694a99f 100644 --- a/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/DeletedItems/DeletedItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. This API is available in the following national cloud deployments. + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. */ class DeletedItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 2340f36cc73..9f4db413921 100644 --- a/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Directory/DeletedItems/GetByIds/GetByIdsRequestBuilder.php index 7ff6559142a..cc4582c49df 100644 --- a/src/Generated/Directory/DeletedItems/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Directory/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 72787403866..11ca049b05a 100644 --- a/src/Generated/Directory/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Directory/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.php index 4b10c45cbbb..a19cdc6c270 100644 --- a/src/Generated/Directory/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Directory/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.php index 85afa87bd64..13f66e4abb5 100644 --- a/src/Generated/Directory/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Directory/DeletedItems/GraphGroup/GraphGroupRequestBuilder.php index 120b7503671..b5eb1674a5b 100644 --- a/src/Generated/Directory/DeletedItems/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Directory/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 6aa27e6445c..6f73b9fb194 100644 --- a/src/Generated/Directory/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Directory/DeletedItems/GraphUser/GraphUserRequestBuilder.php index db6e5a83502..7d63650cc80 100644 --- a/src/Generated/Directory/DeletedItems/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 6967efa229a..f24f881ecdf 100644 --- a/src/Generated/Directory/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 59ea9328796..bf22d69c93b 100644 --- a/src/Generated/Directory/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilder.php index ef7b3709628..fe7333db345 100644 --- a/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilder.php @@ -119,7 +119,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. This API is available in the following national cloud deployments. + * Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @param DirectoryObjectItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function delete(?DirectoryObjectItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. This API is available in the following national cloud deployments. + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. * @param DirectoryObjectItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -151,7 +151,7 @@ public function get(?DirectoryObjectItemRequestBuilderGetRequestConfiguration $r } /** - * Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. This API is available in the following national cloud deployments. + * Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @param DirectoryObjectItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -164,12 +164,12 @@ public function toDeleteRequestInformation(?DirectoryObjectItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. This API is available in the following national cloud deployments. + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. * @param DirectoryObjectItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -185,7 +185,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php index fa00dad8175..682a67df295 100644 --- a/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/DeletedItems/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. This API is available in the following national cloud deployments. + * Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. */ class DirectoryObjectItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 4c81e2d0a39..6869211b425 100644 --- a/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index 0c2ae8a359e..050eccec1f5 100644 --- a/src/Generated/Directory/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index ab051b21d60..92fa569e5bd 100644 --- a/src/Generated/Directory/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.php index 932c356f9db..772aaa95327 100644 --- a/src/Generated/Directory/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.php index 14b715bfdc2..ad9648999e4 100644 --- a/src/Generated/Directory/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.php index 9e75d2b1887..6010b0432b5 100644 --- a/src/Generated/Directory/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index e7a00ca4bb0..900a6e6f8b2 100644 --- a/src/Generated/Directory/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.php index 5d8f39ee36b..fb4d7b3a748 100644 --- a/src/Generated/Directory/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php index 94caf07f51a..cac3b895a18 100644 --- a/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Directory/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.php index 6f3c86d9d0e..4b041745aba 100644 --- a/src/Generated/Directory/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Directory/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php index 2b44be43885..cffc10881d3 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php +++ b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?DeviceLocalCredentialsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DeviceLocalCredentialInfo $body, ?Devic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php index 1fca2c46208..bcb9231960a 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php +++ b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?DeviceLocalCredentialInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?DeviceLocalCredentialInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(DeviceLocalCredentialInfo $body, ?Devi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/DirectoryRequestBuilder.php b/src/Generated/Directory/DirectoryRequestBuilder.php index 6c69398a6db..ee45d39b4ab 100644 --- a/src/Generated/Directory/DirectoryRequestBuilder.php +++ b/src/Generated/Directory/DirectoryRequestBuilder.php @@ -134,7 +134,7 @@ public function toGetRequestInformation(?DirectoryRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -153,7 +153,7 @@ public function toPatchRequestInformation(Directory $body, ?DirectoryRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php b/src/Generated/Directory/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php index ea4ed3142cd..9a4f4931922 100644 --- a/src/Generated/Directory/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php +++ b/src/Generated/Directory/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?AvailableProviderTypesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Directory/FederationConfigurations/FederationConfigurationsRequestBuilder.php b/src/Generated/Directory/FederationConfigurations/FederationConfigurationsRequestBuilder.php index 2c2ec4ee602..ff38b1157c8 100644 --- a/src/Generated/Directory/FederationConfigurations/FederationConfigurationsRequestBuilder.php +++ b/src/Generated/Directory/FederationConfigurations/FederationConfigurationsRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?FederationConfigurationsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -126,7 +126,7 @@ public function toPostRequestInformation(IdentityProviderBase $body, ?Federation $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.php b/src/Generated/Directory/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.php index 0e067ec0399..effcf6f3e59 100644 --- a/src/Generated/Directory/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.php +++ b/src/Generated/Directory/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a samlOrWsFedExternalDomainFederation object. This API is available in the following national cloud deployments. + * Delete a samlOrWsFedExternalDomainFederation object. * @param IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(IdentityProviderBase $body, ?IdentityProviderBaseItemReque } /** - * Delete a samlOrWsFedExternalDomainFederation object. This API is available in the following national cloud deployments. + * Delete a samlOrWsFedExternalDomainFederation object. * @param IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?IdentityProviderBaseItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?IdentityProviderBaseItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(IdentityProviderBase $body, ?IdentityP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.php b/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.php index 66c9505f614..6af18cc7311 100644 --- a/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.php +++ b/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OnPremisesDirectorySynchronizationItemRequestBuilderDele } /** - * Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an onPremisesDirectorySynchronization object. * @param OnPremisesDirectorySynchronizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?OnPremisesDirectorySynchronizationItemRequestBuilderGetRequ } /** - * Update the properties of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Update the properties of an onPremisesDirectorySynchronization object. * @param OnPremisesDirectorySynchronization $body The request body * @param OnPremisesDirectorySynchronizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?OnPremisesDirectorySynchronizationIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an onPremisesDirectorySynchronization object. * @param OnPremisesDirectorySynchronizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?OnPremisesDirectorySynchronizationItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Update the properties of an onPremisesDirectorySynchronization object. * @param OnPremisesDirectorySynchronization $body The request body * @param OnPremisesDirectorySynchronizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(OnPremisesDirectorySynchronization $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters.php index 6055db09e48..4e563428c8e 100644 --- a/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an onPremisesDirectorySynchronization object. */ class OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php b/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php index a8ccbadad73..c003b3b4431 100644 --- a/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php +++ b/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an onPremisesDirectorySynchronization object. * @param OnPremisesSynchronizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(OnPremisesDirectorySynchronization $body, ?OnPremisesSynchr } /** - * Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an onPremisesDirectorySynchronization object. * @param OnPremisesSynchronizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OnPremisesSynchronizationRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnPremisesDirectorySynchronization $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilderGetQueryParameters.php b/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilderGetQueryParameters.php index 21e06409f56..73c1d64e5a4 100644 --- a/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an onPremisesDirectorySynchronization object. */ class OnPremisesSynchronizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.php b/src/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.php index 0c16d0a30b7..2970ef4bfd0 100644 --- a/src/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.php b/src/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.php index fde0d63e388..47b9c4ed47f 100644 --- a/src/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.php @@ -131,7 +131,7 @@ public function toGetRequestInformation(?DirectoryObjectsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -150,7 +150,7 @@ public function toPostRequestInformation(DirectoryObject $body, ?DirectoryObject $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 7eca633789e..e9aff0a8a85 100644 --- a/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.php index cd39b07a6fe..bd57218c72d 100644 --- a/src/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 938fca01161..4a9041222c9 100644 --- a/src/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 0b351976794..18c9371fd3f 100644 --- a/src/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.php index 09229e6c40b..c0f166874e4 100644 --- a/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a directory object, for example, a group, user, application, or service principal. This API is available in the following national cloud deployments. + * Delete a directory object, for example, a group, user, application, or service principal. * @param DirectoryObjectItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?DirectoryObjectItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a directoryObject object. * @param DirectoryObjectItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function patch(DirectoryObject $body, ?DirectoryObjectItemRequestBuilderP } /** - * Delete a directory object, for example, a group, user, application, or service principal. This API is available in the following national cloud deployments. + * Delete a directory object, for example, a group, user, application, or service principal. * @param DirectoryObjectItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,12 +132,12 @@ public function toDeleteRequestInformation(?DirectoryObjectItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a directoryObject object. * @param DirectoryObjectItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -153,7 +153,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -172,7 +172,7 @@ public function toPatchRequestInformation(DirectoryObject $body, ?DirectoryObjec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php index 48ca0f41d3d..deb730874d4 100644 --- a/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a directoryObject object. */ class DirectoryObjectItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 7efb08c7658..0ff60a542f8 100644 --- a/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index c22422d62d8..ede2e450b49 100644 --- a/src/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php index b69ae4f29ca..48a6cc29433 100644 --- a/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.php index 563a7f8bb52..85cc5da5b06 100644 --- a/src/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.php index 8c321224549..5fde75e9e0c 100644 --- a/src/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.php index 9d6c295d00a..e1946406a84 100644 --- a/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of directoryRoleTemplate objects. This API is available in the following national cloud deployments. + * Retrieve a list of directoryRoleTemplate objects. * @param DirectoryRoleTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function post(DirectoryRoleTemplate $body, ?DirectoryRoleTemplatesRequest } /** - * Retrieve a list of directoryRoleTemplate objects. This API is available in the following national cloud deployments. + * Retrieve a list of directoryRoleTemplate objects. * @param DirectoryRoleTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,7 +132,7 @@ public function toGetRequestInformation(?DirectoryRoleTemplatesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toPostRequestInformation(DirectoryRoleTemplate $body, ?Directory $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilderGetQueryParameters.php index ef797cfc940..a4d97c08240 100644 --- a/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of directoryRoleTemplate objects. This API is available in the following national cloud deployments. + * Retrieve a list of directoryRoleTemplate objects. */ class DirectoryRoleTemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index dcba892ce0c..f2a1ad3c68c 100644 --- a/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.php index 05f9919fd3c..0066f6a9561 100644 --- a/src/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index d1875ca5e51..912dd29d258 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 2a49b2b7a17..90efba7881f 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.php index ced34cdd0f5..b0b672ec73e 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?DirectoryRoleTemplateItemRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a directoryroletemplate object. * @param DirectoryRoleTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?DirectoryRoleTemplateItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a directoryroletemplate object. * @param DirectoryRoleTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?DirectoryRoleTemplateItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(DirectoryRoleTemplate $body, ?Director $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilderGetQueryParameters.php index fd72234eee7..bd3a1bb0a13 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a directoryroletemplate object. */ class DirectoryRoleTemplateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index fe9aa018286..c1c6fc28e16 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index faad7d42870..f88b25881ad 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php index 1f7a28996e6..d94185ee125 100644 --- a/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php index e55095263ce..64815439534 100644 --- a/src/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.php b/src/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.php index 6a9b6414f4f..000f7974eed 100644 --- a/src/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.php b/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.php index 9d1b3d9cefd..5369e615506 100644 --- a/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates. This API is available in the following national cloud deployments. + * List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates. * @param DirectoryRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function get(?DirectoryRolesRequestBuilderGetRequestConfiguration $reques } /** - * Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. This API is available in the following national cloud deployments. + * Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. * @param DirectoryRole $body The request body * @param DirectoryRolesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -117,7 +117,7 @@ public function post(DirectoryRole $body, ?DirectoryRolesRequestBuilderPostReque } /** - * List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates. This API is available in the following national cloud deployments. + * List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates. * @param DirectoryRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toGetRequestInformation(?DirectoryRolesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. This API is available in the following national cloud deployments. + * Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. * @param DirectoryRole $body The request body * @param DirectoryRolesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -152,7 +152,7 @@ public function toPostRequestInformation(DirectoryRole $body, ?DirectoryRolesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilderGetQueryParameters.php index c26522b21cc..24fe6961965 100644 --- a/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryRoles/DirectoryRolesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates. This API is available in the following national cloud deployments. + * List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra ID, use List directoryRoleTemplates. */ class DirectoryRolesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index d30db64184d..0fb5e8df93a 100644 --- a/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.php index 11f6423cc72..8beb1394f25 100644 --- a/src/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 5c11c3e9f44..315dd91ee72 100644 --- a/src/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index f2df7441354..b314e58445e 100644 --- a/src/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.php b/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.php index 7a131bedbbf..89820c3d4e9 100644 --- a/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.php @@ -102,7 +102,7 @@ public function delete(?DirectoryRoleItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param DirectoryRoleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -147,12 +147,12 @@ public function toDeleteRequestInformation(?DirectoryRoleItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param DirectoryRoleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,7 +168,7 @@ public function toGetRequestInformation(?DirectoryRoleItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -187,7 +187,7 @@ public function toPatchRequestInformation(DirectoryRole $body, ?DirectoryRoleIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilderGetQueryParameters.php index 9682dadd207..4a3f3be11a2 100644 --- a/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. */ class DirectoryRoleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 10b3b516bc3..de1d0fb42d5 100644 --- a/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index dd6c057f97a..425f3cac066 100644 --- a/src/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php index 17123424969..2c002cdf977 100644 --- a/src/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php index 9d2fb7f15ce..d13f69cf465 100644 --- a/src/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.php index 6e48b98a565..84e954b8674 100644 --- a/src/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php index aad244b0d01..856b195dd0e 100644 --- a/src/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index ebd106a3e78..1568b4b6cdb 100644 --- a/src/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.php index 9762ee4a3c5..7d722f8363d 100644 --- a/src/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php index b3917d8cbb5..1841b4612f3 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php index 482b57081e5..da13c8697ce 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php index d9d5189fd1d..298d7838c27 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index cf34ce0cfc7..7550c076933 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 3c39b7b3b22..5228e376b4f 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php index 132d47e5a0c..b000919a000 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.php index 476c3e8e117..34ab5a542d9 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 5fae8248f35..5f518dfd3f2 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php index 927210f66e9..34e51996282 100644 --- a/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php @@ -139,7 +139,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.php index 271f3423fff..14655d325ce 100644 --- a/src/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php index 703b89fe70b..17c88c1aee7 100644 --- a/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.php b/src/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.php index a6736789441..dc5daab4131 100644 --- a/src/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ScopedRoleMembershipItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ScopedRoleMembershipItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ScopedRoleMembership $body, ?ScopedRol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.php b/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.php index bf417fd34b1..081e204a255 100644 --- a/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of scopedRoleMembership objects for a directory role. This API is available in the following national cloud deployments. + * Retrieve a list of scopedRoleMembership objects for a directory role. * @param ScopedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ScopedRoleMembership $body, ?ScopedMembersRequestBuilderPos } /** - * Retrieve a list of scopedRoleMembership objects for a directory role. This API is available in the following national cloud deployments. + * Retrieve a list of scopedRoleMembership objects for a directory role. * @param ScopedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ScopedMembersRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ScopedRoleMembership $body, ?ScopedMemb $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilderGetQueryParameters.php index e025cc33371..342727710e6 100644 --- a/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of scopedRoleMembership objects for a directory role. This API is available in the following national cloud deployments. + * Retrieve a list of scopedRoleMembership objects for a directory role. */ class ScopedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php index f18c37f25e4..144e17958e8 100644 --- a/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.php b/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.php index 6cf1b09fe81..133a74cc9a5 100644 --- a/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.php +++ b/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.php @@ -49,7 +49,7 @@ public function delete(?DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequ } /** - * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,12 +94,12 @@ public function toDeleteRequestInformation(?DirectoryRolesWithRoleTemplateIdRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. * @param DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -115,7 +115,7 @@ public function toGetRequestInformation(?DirectoryRolesWithRoleTemplateIdRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -134,7 +134,7 @@ public function toPatchRequestInformation(DirectoryRole $body, ?DirectoryRolesWi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters.php b/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters.php index 5eadf468d38..81eeaec6f15 100644 --- a/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters.php +++ b/src/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + * Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. */ class DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters { diff --git a/src/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.php b/src/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.php index 6f6da81e952..1ad788fa801 100644 --- a/src/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.php +++ b/src/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DomainDnsRecordsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DomainDnsRecord $body, ?DomainDnsRecord $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php b/src/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php index 7251aca8c31..3c1cef17b6a 100644 --- a/src/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php +++ b/src/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DomainDnsRecordItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DomainDnsRecordItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DomainDnsRecord $body, ?DomainDnsRecor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/DomainsRequestBuilder.php b/src/Generated/Domains/DomainsRequestBuilder.php index a8bdf77ea8c..d7a6a8025f4 100644 --- a/src/Generated/Domains/DomainsRequestBuilder.php +++ b/src/Generated/Domains/DomainsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of domain objects. This API is available in the following national cloud deployments. + * Retrieve a list of domain objects. * @param DomainsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DomainsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + * Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. * @param Domain $body The request body * @param DomainsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Domain $body, ?DomainsRequestBuilderPostRequestConfiguratio } /** - * Retrieve a list of domain objects. This API is available in the following national cloud deployments. + * Retrieve a list of domain objects. * @param DomainsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DomainsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + * Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. * @param Domain $body The request body * @param DomainsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Domain $body, ?DomainsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/DomainsRequestBuilderGetQueryParameters.php b/src/Generated/Domains/DomainsRequestBuilderGetQueryParameters.php index a86a1dcfb88..a02dcda80d0 100644 --- a/src/Generated/Domains/DomainsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/DomainsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of domain objects. This API is available in the following national cloud deployments. + * Retrieve a list of domain objects. */ class DomainsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/DomainItemRequestBuilder.php b/src/Generated/Domains/Item/DomainItemRequestBuilder.php index 58e0799fd2e..bcf6803fec0 100644 --- a/src/Generated/Domains/Item/DomainItemRequestBuilder.php +++ b/src/Generated/Domains/Item/DomainItemRequestBuilder.php @@ -87,7 +87,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a domain from a tenant. This API is available in the following national cloud deployments. + * Deletes a domain from a tenant. * @param DomainItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function delete(?DomainItemRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of domain object. * @param DomainItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function get(?DomainItemRequestBuilderGetRequestConfiguration $requestCon } /** - * Update the properties of domain object. This API is available in the following national cloud deployments. + * Update the properties of domain object. * @param Domain $body The request body * @param DomainItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -136,7 +136,7 @@ public function patch(Domain $body, ?DomainItemRequestBuilderPatchRequestConfigu } /** - * Deletes a domain from a tenant. This API is available in the following national cloud deployments. + * Deletes a domain from a tenant. * @param DomainItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -149,12 +149,12 @@ public function toDeleteRequestInformation(?DomainItemRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of domain object. * @param DomainItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,12 +170,12 @@ public function toGetRequestInformation(?DomainItemRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of domain object. This API is available in the following national cloud deployments. + * Update the properties of domain object. * @param Domain $body The request body * @param DomainItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -189,7 +189,7 @@ public function toPatchRequestInformation(Domain $body, ?DomainItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/DomainItemRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/DomainItemRequestBuilderGetQueryParameters.php index d59719b2bed..888bde2517a 100644 --- a/src/Generated/Domains/Item/DomainItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/Item/DomainItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of domain object. */ class DomainItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php b/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php index a8682d1d143..88568542c4c 100644 --- a/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php +++ b/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. This API is available in the following national cloud deployments. + * Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. * @param DomainNameReferencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?DomainNameReferencesRequestBuilderGetRequestConfiguration $ } /** - * Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. This API is available in the following national cloud deployments. + * Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. * @param DomainNameReferencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?DomainNameReferencesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilderGetQueryParameters.php index 3a12eee524e..0de3408c689 100644 --- a/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. This API is available in the following national cloud deployments. + * Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. */ class DomainNameReferencesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.php index a75b8596b36..4638f0cacd8 100644 --- a/src/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.php b/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.php index 627ba0c3993..d41da736446 100644 --- a/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.php +++ b/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. * @param FederationConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?FederationConfigurationRequestBuilderGetRequestConfiguratio } /** - * Create a new internalDomainFederation object. This API is available in the following national cloud deployments. + * Create a new internalDomainFederation object. * @param InternalDomainFederation $body The request body * @param FederationConfigurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(InternalDomainFederation $body, ?FederationConfigurationReq } /** - * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. * @param FederationConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?FederationConfigurationRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new internalDomainFederation object. This API is available in the following national cloud deployments. + * Create a new internalDomainFederation object. * @param InternalDomainFederation $body The request body * @param FederationConfigurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(InternalDomainFederation $body, ?Federa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilderGetQueryParameters.php index 029fb25460b..3419a996a3a 100644 --- a/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. */ class FederationConfigurationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php b/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php index 6742cf6d73c..cd5d2f7196e 100644 --- a/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php +++ b/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an internalDomainFederation object. This API is available in the following national cloud deployments. + * Delete an internalDomainFederation object. * @param InternalDomainFederationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?InternalDomainFederationItemRequestBuilderDeleteRequestC } /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an internalDomainFederation object. * @param InternalDomainFederationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?InternalDomainFederationItemRequestBuilderGetRequestConfigu } /** - * Update the properties of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Update the properties of an internalDomainFederation object. * @param InternalDomainFederation $body The request body * @param InternalDomainFederationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(InternalDomainFederation $body, ?InternalDomainFederationI } /** - * Delete an internalDomainFederation object. This API is available in the following national cloud deployments. + * Delete an internalDomainFederation object. * @param InternalDomainFederationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?InternalDomainFederationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an internalDomainFederation object. * @param InternalDomainFederationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?InternalDomainFederationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Update the properties of an internalDomainFederation object. * @param InternalDomainFederation $body The request body * @param InternalDomainFederationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(InternalDomainFederation $body, ?Inter $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilderGetQueryParameters.php index 4f70de74d9e..fb7d7fb61c0 100644 --- a/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an internalDomainFederation object. */ class InternalDomainFederationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php b/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php index 8fc1bf77048..4b6f5c05360 100644 --- a/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php +++ b/src/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. This API is available in the following national cloud deployments. + * Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. * @param ForceDeletePostRequestBody $body The request body * @param ForceDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForceDeletePostRequestBody $body, ?ForceDeleteRequestBuilde } /** - * Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. This API is available in the following national cloud deployments. + * Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return an HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. * @param ForceDeletePostRequestBody $body The request body * @param ForceDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForceDeletePostRequestBody $body, ?Forc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/Promote/PromoteRequestBuilder.php b/src/Generated/Domains/Item/Promote/PromoteRequestBuilder.php index de9ba7dab1e..322fb235154 100644 --- a/src/Generated/Domains/Item/Promote/PromoteRequestBuilder.php +++ b/src/Generated/Domains/Item/Promote/PromoteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. This API is available in the following national cloud deployments. + * Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. * @param PromoteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PromoteRequestBuilderPostRequestConfiguration $requestConf } /** - * Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. This API is available in the following national cloud deployments. + * Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. * @param PromoteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PromoteRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.php b/src/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.php index 809743efa35..4baad99968e 100644 --- a/src/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.php +++ b/src/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DomainDnsRecordItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DomainDnsRecordItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DomainDnsRecord $body, ?DomainDnsRecor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.php b/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.php index ccbb47b0c30..1d92c733451 100644 --- a/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.php +++ b/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. This API is available in the following national cloud deployments. + * Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. * @param ServiceConfigurationRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DomainDnsRecord $body, ?ServiceConfigurationRecordsRequestB } /** - * Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. This API is available in the following national cloud deployments. + * Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. * @param ServiceConfigurationRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ServiceConfigurationRecordsRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DomainDnsRecord $body, ?ServiceConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilderGetQueryParameters.php index ddcfeaa43bf..e5748e98292 100644 --- a/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. This API is available in the following national cloud deployments. + * Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. */ class ServiceConfigurationRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php b/src/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php index 8c8ed68fb1b..65caa3cdfcb 100644 --- a/src/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php +++ b/src/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DomainDnsRecordItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DomainDnsRecordItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DomainDnsRecord $body, ?DomainDnsRecor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.php b/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.php index ecbff57eae9..62ee3f9aeca 100644 --- a/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.php +++ b/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. * @param VerificationDnsRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DomainDnsRecord $body, ?VerificationDnsRecordsRequestBuilde } /** - * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. * @param VerificationDnsRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?VerificationDnsRecordsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DomainDnsRecord $body, ?VerificationDns $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilderGetQueryParameters.php index b6886291bd2..c73af25f24e 100644 --- a/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + * Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. */ class VerificationDnsRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php b/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php index f6792a960e9..48d0a9a2138 100644 --- a/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php +++ b/src/Generated/Domains/Item/Verify/VerifyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validates the ownership of the domain. This API is available in the following national cloud deployments. + * Validates the ownership of the domain. * @param VerifyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?VerifyRequestBuilderPostRequestConfiguration $requestConfi } /** - * Validates the ownership of the domain. This API is available in the following national cloud deployments. + * Validates the ownership of the domain. * @param VerifyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?VerifyRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/DrivesRequestBuilder.php b/src/Generated/Drives/DrivesRequestBuilder.php index e809f36454a..130b5d69acb 100644 --- a/src/Generated/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Drives/DrivesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -110,7 +110,7 @@ public function toPostRequestInformation(Drive $body, ?DrivesRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Bundles/BundlesRequestBuilder.php b/src/Generated/Drives/Item/Bundles/BundlesRequestBuilder.php index 118a51466ad..100bf041536 100644 --- a/src/Generated/Drives/Item/Bundles/BundlesRequestBuilder.php +++ b/src/Generated/Drives/Item/Bundles/BundlesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?BundlesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DriveItem $body, ?BundlesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.php index 3cc8f7743b6..d4fba5c3a02 100644 --- a/src/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.php b/src/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.php index 7be061e5e25..596f1a137ba 100644 --- a/src/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 77036624482..b44f26336ac 100644 --- a/src/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index bc5d890b73d..c4e66fc8a84 100644 --- a/src/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 0eb08d339ac..43823fd9c1a 100644 --- a/src/Generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/DriveItemRequestBuilder.php b/src/Generated/Drives/Item/DriveItemRequestBuilder.php index a70cb86de3e..c9aea97c76d 100644 --- a/src/Generated/Drives/Item/DriveItemRequestBuilder.php +++ b/src/Generated/Drives/Item/DriveItemRequestBuilder.php @@ -180,7 +180,7 @@ public function toDeleteRequestInformation(?DriveItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -201,7 +201,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -220,7 +220,7 @@ public function toPatchRequestInformation(Drive $body, ?DriveItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilder.php index 5412270dba1..c6e485b3776 100644 --- a/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php index ec8e7b253f8..dba0e5b859b 100644 --- a/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 1133ffd6af5..cfbf6e7ed68 100644 --- a/src/Generated/Drives/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 096bbcd88fa..2142dbfbc7c 100644 --- a/src/Generated/Drives/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php index 917aec1c2dc..d7036d06fcf 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostReq } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php index 16da33ba95a..c87173dc6b4 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFro } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php index b939e8f9af2..eb72cbd5359 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestCo } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toPostRequestInformation(ContentType $body, ?ContentTypesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php index af8206b4dc0..8ba22ba89ab 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. */ class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php index b1df090d45e..627363e5ff3 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php index 066c4885615..dee3e31e0fc 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithH } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php index 6dfe6b28392..c67ac68a308 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php index e481f07c0a0..27fca734986 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php index 611665a0e99..c63a363fc59 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php index 426d2f23d7e..7f5ba0caa3b 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php index 35fbfd1667b..b890984db70 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php index c1dd19eba12..1bdd92b2bab 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php index 344a54cd1b9..1537a1c935e 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php index ef9bec757a1..c8ae39ed422 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 3213ad1cc4f..aae007249bf 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 57fc01d13d8..536ce5836b1 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $ } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilde } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php index 035da6f4e5b..8eb7d0c8311 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. */ class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 4db3d2c1b5d..51a4aee72ba 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php index 1c6704554f0..78e06fb47e9 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -170,7 +170,7 @@ public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -191,7 +191,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -210,7 +210,7 @@ public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index dd57216ed06..5d1bcd538e5 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToD } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CopyToDefaultContentLocationPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php index c007ca8650d..d3afdced8ce 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php index fe285592f8c..9a682660d08 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php index ffeb24aaa53..411739d29b5 100644 --- a/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php index de5c47c596f..3fa148b8761 100644 --- a/src/Generated/Drives/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 1745335af0a..3c14c3dfe53 100644 --- a/src/Generated/Drives/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 8645cf32477..d2959e9236d 100644 --- a/src/Generated/Drives/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Drive/DriveRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Drive/DriveRequestBuilder.php index 89f215e668b..7cc4463f699 100644 --- a/src/Generated/Drives/Item/EscapedList/Drive/DriveRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php index d164b268c80..18835881198 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php index a6b94ab2710..d91e9773952 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 79820fcb1ae..c9771c79351 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index b2247f400bf..e965bc40ab1 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php index f004291d2d5..8c32565f405 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $r } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilde } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DocumentSetVersion $body, ?DocumentSetV $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php index d1243092bb9..5cccc0f4556 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. */ class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index b6985955018..245d96381b3 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBu } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?DocumentSetVersionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?DocumentSetVersionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(DocumentSetVersion $body, ?DocumentSet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php index 5e6a59134ac..ce057a82c12 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. */ class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php index 545da7d7299..ce2dafca347 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php index 9d781f8da94..67f3a7f479c 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php index 88018ba9bac..803f658596c 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php index 2e397e283ae..4764e591674 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php index d2b119f69a7..a24a4067566 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,12 +112,12 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -131,7 +131,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index 56379a0478b..25194c5e953 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index 546ab7d5e4a..6e93edb32b7 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index a2c7c7c7ac1..47cc0ee5302 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 8fe6990b15b..18d197766ad 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index b6af9079852..a4cf2eea849 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php index 6d3479aa9e1..91ce821d0ed 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php @@ -96,7 +96,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -112,7 +112,7 @@ public function delete(?ListItemItemRequestBuilderDeleteRequestConfiguration $re } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,7 +155,7 @@ public function patch(ListItem $body, ?ListItemItemRequestBuilderPatchRequestCon } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,12 +168,12 @@ public function toDeleteRequestInformation(?ListItemItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -189,7 +189,7 @@ public function toGetRequestInformation(?ListItemItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -208,7 +208,7 @@ public function toPatchRequestInformation(ListItem $body, ?ListItemItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php index 69334e60dce..58ed27de6c2 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. */ class ListItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php index 28568c1a99a..74b47e7d0b5 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php index 51497ac36df..ebad2c16f74 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?ListItemVersionItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?ListItemVersionItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ListItemVersionItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(ListItemVersion $body, ?ListItemVersio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php index 270bb20cb12..2029481fbf6 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. */ class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index d4f71f0bfba..618ba0a9382 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requ } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreVersionRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php index 6afecdfe079..89e45d92e96 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ListItemVersion $body, ?VersionsRequestBuilderPostRequestCo } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ListItemVersion $body, ?VersionsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index 1d7df22943c..f7255647e55 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php index 86c6906af2a..3d308bc3b18 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ListItem $body, ?ItemsRequestBuilderPostRequestConfiguratio } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ListItem $body, ?ItemsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php index d7ebf868f8d..258cf1a0cf9 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. */ class ItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index 6fe459a9b49..093205f5145 100644 --- a/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 7ecfbd4b99b..f224cdf18df 100644 --- a/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 3ad6961e25b..56fda244efc 100644 --- a/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/ListRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/ListRequestBuilder.php index 62305a6dd09..15250e82e65 100644 --- a/src/Generated/Drives/Item/EscapedList/ListRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/ListRequestBuilder.php @@ -154,7 +154,7 @@ public function toDeleteRequestInformation(?ListRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -175,7 +175,7 @@ public function toGetRequestInformation(?ListRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -194,7 +194,7 @@ public function toPatchRequestInformation(EscapedList $body, ?ListRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index ae3c75948c9..6a0aab37d7b 100644 --- a/src/Generated/Drives/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Operations/OperationsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Operations/OperationsRequestBuilder.php index 7a0714c0cd7..8f7bce7c3fc 100644 --- a/src/Generated/Drives/Item/EscapedList/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index 84651f6ce20..b2a29ae1c6e 100644 --- a/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $request } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php index 46dc28ea329..592cba3f7fa 100644 --- a/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php index 140bb2a84de..24716cd18cd 100644 --- a/src/Generated/Drives/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Subscription $body, ?SubscriptionsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Following/FollowingRequestBuilder.php b/src/Generated/Drives/Item/Following/FollowingRequestBuilder.php index 02e2fe0814e..30f384a23bb 100644 --- a/src/Generated/Drives/Item/Following/FollowingRequestBuilder.php +++ b/src/Generated/Drives/Item/Following/FollowingRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. This API is available in the following national cloud deployments. + * List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. * @param FollowingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?FollowingRequestBuilderGetRequestConfiguration $requestConf } /** - * List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. This API is available in the following national cloud deployments. + * List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. * @param FollowingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?FollowingRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Following/FollowingRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Following/FollowingRequestBuilderGetQueryParameters.php index 812abd9958f..a247543dbde 100644 --- a/src/Generated/Drives/Item/Following/FollowingRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Following/FollowingRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. This API is available in the following national cloud deployments. + * List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. */ class FollowingRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.php index b215843fbfb..3fd733624ca 100644 --- a/src/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.php b/src/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.php index 934b5a964ef..fe31a697229 100644 --- a/src/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php index 80e0cd1b7a3..f4eb7d1d561 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?AllTimeRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?AllTimeRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php index 79033267b10..5e98c42cb5b 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. */ class AllTimeRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php index 1bed7c8fde1..eae580a94fc 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AnalyticsRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(ItemAnalytics $body, ?AnalyticsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php index c4116c068a1..f53dce5c6e9 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ItemActivity $body, ?ActivitiesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php index 424171aca2e..8678c350491 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php index e403e63d6ba..15b6d23e8b3 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php index c1b51a6da9f..c03098cd1e1 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ItemActivityItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ItemActivityItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ItemActivity $body, ?ItemActivityItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php index eb3d506605d..bd3d99ae366 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ItemActivityStatItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ItemActivityStatItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ItemActivityStat $body, ?ItemActivityS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php index 1cf044cdbfc..3d9e9364009 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ItemActivityStatsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ItemActivityStat $body, ?ItemActivitySt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php index cc57aa3a14f..c4427da5673 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LastSevenDaysRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php index 7bf62a8ec4e..5743146dcd6 100644 --- a/src/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(AssignSensitivityLabelPostRequestBody $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.php index d0ac3612bd6..492759b4e34 100644 --- a/src/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check in a checked out driveItem resource, which makes the version of the document available to others. This API is available in the following national cloud deployments. + * Check in a checked out driveItem resource, which makes the version of the document available to others. * @param CheckinPostRequestBody $body The request body * @param CheckinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckinPostRequestBody $body, ?CheckinRequestBuilderPostReq } /** - * Check in a checked out driveItem resource, which makes the version of the document available to others. This API is available in the following national cloud deployments. + * Check in a checked out driveItem resource, which makes the version of the document available to others. * @param CheckinPostRequestBody $body The request body * @param CheckinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckinPostRequestBody $body, ?CheckinR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.php index 4898d1cac39..cc454535a5c 100644 --- a/src/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. This API is available in the following national cloud deployments. + * Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. * @param CheckoutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CheckoutRequestBuilderPostRequestConfiguration $requestCon } /** - * Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. This API is available in the following national cloud deployments. + * Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. * @param CheckoutRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CheckoutRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.php index 92739610c17..7c0ee9af555 100644 --- a/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. This API is available in the following national cloud deployments. + * Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -85,7 +85,7 @@ public function post(DriveItem $body, ?ChildrenRequestBuilderPostRequestConfigur } /** - * Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. This API is available in the following national cloud deployments. + * Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,7 +101,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(DriveItem $body, ?ChildrenRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 1da8eaccf2b..f20adf594aa 100644 --- a/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. This API is available in the following national cloud deployments. + * Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.php index 086f0053010..49e6eaffeeb 100644 --- a/src/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.php index c2091a513dc..6aaf8c8f4ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.php index 53c10c4ba0a..7f7a463f383 100644 --- a/src/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php index a5d80fe1bb7..55d323094c3 100644 --- a/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Asynchronously creates a copy of an driveItem][item-resource] (including any children), under a new parent item or with a new name. This API is available in the following [national cloud deployments. + * Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Asynchronously creates a copy of an driveItem][item-resource] (including any children), under a new parent item or with a new name. This API is available in the following [national cloud deployments. + * Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php index edd1c64cc8b..dffdf4bc867 100644 --- a/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. This API is available in the following national cloud deployments. + * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. * @param CreateLinkPostRequestBody $body The request body * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderP } /** - * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. This API is available in the following national cloud deployments. + * You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. * @param CreateLinkPostRequestBody $body The request body * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateLinkPostRequestBody $body, ?Creat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 4d63c927147..70118d8bc5c 100644 --- a/src/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 52ac742f52c..3ff9f899f41 100644 --- a/src/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 86f4e90b0cb..9a3dfd77a8b 100644 --- a/src/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 465e97022bf..0ebfcc63a20 100644 --- a/src/Generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.php index 8c72c693eab..97ce8077e22 100644 --- a/src/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php index 4d66a64cbea..f3f75c29aae 100644 --- a/src/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?DeltaWithTokenRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php index e6b800963d0..852c4ae54d9 100644 --- a/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.php @@ -27,6 +27,7 @@ use Microsoft\Graph\Generated\Drives\Item\Items\Item\Permissions\PermissionsRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\Items\Item\Preview\PreviewRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\Items\Item\Restore\RestoreRequestBuilder; +use Microsoft\Graph\Generated\Drives\Item\Items\Item\RetentionLabel\RetentionLabelRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\Items\Item\SearchWithQ\SearchWithQRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\Items\Item\Subscriptions\SubscriptionsRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\Items\Item\Thumbnails\ThumbnailsRequestBuilder; @@ -193,6 +194,13 @@ public function restore(): RestoreRequestBuilder { return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. + */ + public function retentionLabel(): RetentionLabelRequestBuilder { + return new RetentionLabelRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. */ @@ -250,7 +258,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. This API is available in the following national cloud deployments. + * Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. * @param DriveItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -301,12 +309,12 @@ public function getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInter } /** - * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. + * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. * @param DriveItem $body The request body * @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0 Find more info here */ public function patch(DriveItem $body, ?DriveItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -327,7 +335,7 @@ public function searchWithQ(string $q): SearchWithQRequestBuilder { } /** - * Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. This API is available in the following national cloud deployments. + * Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. * @param DriveItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -340,7 +348,7 @@ public function toDeleteRequestInformation(?DriveItemItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -361,12 +369,12 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. + * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. * @param DriveItem $body The request body * @param DriveItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -380,7 +388,7 @@ public function toPatchRequestInformation(DriveItem $body, ?DriveItemItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php index 4cb1875fb99..2f30bc701ff 100644 --- a/src/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ExtractSensitivityLabelsRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.php index ea9a0acce6b..feca260f29d 100644 --- a/src/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Follow a driveItem. This API is available in the following national cloud deployments. + * Follow a driveItem. * @param FollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?FollowRequestBuilderPostRequestConfiguration $requestConfi } /** - * Follow a driveItem. This API is available in the following national cloud deployments. + * Follow a driveItem. * @param FollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?FollowRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index 3e90cb33376..0cf2e99aa40 100644 --- a/src/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index c01e1b10761..aff1480fb7e 100644 --- a/src/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.php index f03abf1eafb..ea5909846ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link][]. This API is available in the following [national cloud deployments. + * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a [sharing link][]. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link][]. This API is available in the following [national cloud deployments. + * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a [sharing link][]. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(InvitePostRequestBody $body, ?InviteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index e74a32b8397..176550a35e1 100644 --- a/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 45e199aeba5..64060e7c598 100644 --- a/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 3ba520fa410..e7247adf2fa 100644 --- a/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.php index 7cad0cf2f37..d9784b005d6 100644 --- a/src/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ListItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php index bec34a775e0..b621a7a8b81 100644 --- a/src/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?PermanentDeleteRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php index 730015c6852..ef09c8f8444 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GrantPostRequestBody $body, ?GrantRequestBuilderPostRequest } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GrantPostRequestBody $body, ?GrantReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php index 8779e75cd7b..98a9d87bfd5 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. This API is available in the following national cloud deployments. + * Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?PermissionItemRequestBuilderDeleteRequestConfiguration $ } /** - * Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. This API is available in the following national cloud deployments. + * Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?PermissionItemRequestBuilderGetRequestConfiguration $reques } /** - * Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. This API is available in the following national cloud deployments. + * Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. * @param Permission $body The request body * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(Permission $body, ?PermissionItemRequestBuilderPatchReques } /** - * Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. This API is available in the following national cloud deployments. + * Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?PermissionItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. This API is available in the following national cloud deployments. + * Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. This API is available in the following national cloud deployments. + * Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. * @param Permission $body The request body * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(Permission $body, ?PermissionItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php index d5f4b2536b0..65a001eea99 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. This API is available in the following national cloud deployments. + * Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. */ class PermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php index e46c7fc6f1b..1d9dc1ea5c6 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the effective sharing permissions on a driveItem. This API is available in the following national cloud deployments. + * List the effective sharing permissions on a driveItem. * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Permission $body, ?PermissionsRequestBuilderPostRequestConf } /** - * List the effective sharing permissions on a driveItem. This API is available in the following national cloud deployments. + * List the effective sharing permissions on a driveItem. * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Permission $body, ?PermissionsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php index a79e90cb7ed..99f73add677 100644 --- a/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the effective sharing permissions on a driveItem. This API is available in the following national cloud deployments. + * List the effective sharing permissions on a driveItem. */ class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.php index 6213bc369e3..f21ac9b062a 100644 --- a/src/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PreviewPostRequestBody $body, ?PreviewR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php index 51008c8fb26..c858d84ebc1 100644 --- a/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. This API is available in the following national cloud deployments. + * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq } /** - * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. This API is available in the following national cloud deployments. + * Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. * @param RestorePostRequestBody $body The request body * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php new file mode 100644 index 00000000000..ccd8ddd99a8 --- /dev/null +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -0,0 +1,149 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/retentionLabel{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * @param RetentionLabelRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/driveitem-removeretentionlabel?view=graph-rest-1.0 Find more info here + */ + public function delete(?RetentionLabelRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Information about retention label and settings enforced on the driveItem. Read-write. + * @param RetentionLabelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ItemRetentionLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * 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. + * @param ItemRetentionLabel $body The request body + * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here + */ + public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ItemRetentionLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * @param RetentionLabelRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RetentionLabelRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Information about retention label and settings enforced on the driveItem. Read-write. + * @param RetentionLabelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * 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. + * @param ItemRetentionLabel $body The request body + * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RetentionLabelRequestBuilder + */ + public function withUrl(string $rawUrl): RetentionLabelRequestBuilder { + return new RetentionLabelRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..2a67b572e06 --- /dev/null +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5615507c706 --- /dev/null +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new retentionLabelRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c50acaa9823 --- /dev/null +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RetentionLabelRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RetentionLabelRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new retentionLabelRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RetentionLabelRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RetentionLabelRequestBuilderGetQueryParameters { + return new RetentionLabelRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..8f0cbb5954e --- /dev/null +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php index 376dfa09540..9f7a12cabb2 100644 --- a/src/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?SearchWithQRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index 929668e1886..37b76879162 100644 --- a/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $request } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php index 0a5d7fc4909..ae87d3a8199 100644 --- a/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php index 4bba86c342e..368ed2b4d30 100644 --- a/src/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Subscription $body, ?SubscriptionsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php index fc1f6efe3a1..2b1d7d3f0fb 100644 --- a/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ThumbnailSetItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ThumbnailSetItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ThumbnailSet $body, ?ThumbnailSetItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php index 112223f654e..67872db4e4f 100644 --- a/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: This API is available in the following national cloud deployments. + * Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: * @param ThumbnailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ThumbnailSet $body, ?ThumbnailsRequestBuilderPostRequestCon } /** - * Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: This API is available in the following national cloud deployments. + * Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: * @param ThumbnailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ThumbnailsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ThumbnailSet $body, ?ThumbnailsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php index e548dd1b436..98c54f3642c 100644 --- a/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: This API is available in the following national cloud deployments. + * Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: */ class ThumbnailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php index 5a3bd889161..9265a747646 100644 --- a/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unfollow a driveItem. This API is available in the following national cloud deployments. + * Unfollow a driveItem. * @param UnfollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnfollowRequestBuilderPostRequestConfiguration $requestCon } /** - * Unfollow a driveItem. This API is available in the following national cloud deployments. + * Unfollow a driveItem. * @param UnfollowRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnfollowRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php index d0baaf9b9a3..7b170b9be0c 100644 --- a/src/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ValidatePermissionPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.php index 2c8a6de22de..a2247a86bd2 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php index 0c74b160e64..cec06f9bec0 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?DriveItemVersionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a DriveItem. * @param DriveItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?DriveItemVersionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a DriveItem. * @param DriveItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?DriveItemVersionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(DriveItemVersion $body, ?DriveItemVers $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php index bbbe8a56a74..c559d5f5b02 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a DriveItem. */ class DriveItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index 258b0451ba2..4a6a036f0df 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. This API is available in the following national cloud deployments. + * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requ } /** - * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. This API is available in the following national cloud deployments. + * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreVersionRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.php index dc4288aaac0..4b58eb85692 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. This API is available in the following national cloud deployments. + * OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DriveItemVersion $body, ?VersionsRequestBuilderPostRequestC } /** - * OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. This API is available in the following national cloud deployments. + * OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DriveItemVersion $body, ?VersionsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index c9a3442b8f2..e140568e468 100644 --- a/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. This API is available in the following national cloud deployments. + * OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php index 83337d1e759..5114616711b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ApplicationRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a workbookApplication object. * @param ApplicationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ApplicationRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a workbookApplication object. * @param ApplicationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ApplicationRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(WorkbookApplication $body, ?Applicatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php index 12fc5a7579d..744ac1747be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a workbookApplication object. */ class ApplicationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php index 2e85f4910f8..10093e7c26f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Recalculate all currently opened workbooks in Excel. This API is available in the following national cloud deployments. + * Recalculate all currently opened workbooks in Excel. * @param CalculatePostRequestBody $body The request body * @param CalculateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CalculatePostRequestBody $body, ?CalculateRequestBuilderPos } /** - * Recalculate all currently opened workbooks in Excel. This API is available in the following national cloud deployments. + * Recalculate all currently opened workbooks in Excel. * @param CalculatePostRequestBody $body The request body * @param CalculateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CalculatePostRequestBody $body, ?Calcul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php index 2468c56fe5a..89086adbd6d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to close an existing workbook session. This API is available in the following national cloud deployments. + * Use this API to close an existing workbook session. * @param CloseSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CloseSessionRequestBuilderPostRequestConfiguration $reques } /** - * Use this API to close an existing workbook session. This API is available in the following national cloud deployments. + * Use this API to close an existing workbook session. * @param CloseSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CloseSessionRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.php index c8ef3ba04be..8668cde4d94 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?CommentsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WorkbookComment $body, ?CommentsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php index 8542758effe..a9d488d09b2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?WorkbookCommentReplyItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of workbookCommentReply object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookCommentReply object. * @param WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?WorkbookCommentReplyItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of workbookCommentReply object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookCommentReply object. * @param WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?WorkbookCommentReplyItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(WorkbookCommentReply $body, ?WorkbookC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php index 3b87e2f6a8d..948b1d4f0ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of workbookCommentReply object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookCommentReply object. */ class WorkbookCommentReplyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php index 71e750dbcdc..8a548787401 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of workbookCommentReply object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookCommentReply object. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(WorkbookCommentReply $body, ?RepliesRequestBuilderPostReque } /** - * Retrieve the properties and relationships of workbookCommentReply object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookCommentReply object. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WorkbookCommentReply $body, ?RepliesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 47eb0d5b4b3..146a435a4f0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of workbookCommentReply object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookCommentReply object. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php index 6c3960f7256..16053ea1fc5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?WorkbookCommentItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?WorkbookCommentItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookComment $body, ?WorkbookCommen $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php index 8da146f3af7..c26b11a860d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: This API is available in the following national cloud deployments. + * Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: * @param CreateSessionPostRequestBody $body The request body * @param CreateSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateSessionPostRequestBody $body, ?CreateSessionRequestBu } /** - * Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: This API is available in the following national cloud deployments. + * Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: * @param CreateSessionPostRequestBody $body The request body * @param CreateSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateSessionPostRequestBody $body, ?Cr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php index 2af6dc4b03e..e920be8afd9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AbsPostRequestBody $body, ?AbsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php index 11eff9750d3..4ba9f8e34b4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AccrIntPostRequestBody $body, ?AccrIntR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php index 7ca6219a7ff..3ddd529f8d5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AccrIntMPostRequestBody $body, ?AccrInt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php index d2ec6983ed2..783c9d998c6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcosPostRequestBody $body, ?AcosRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php index 9177e80579c..c0adef34e36 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcoshPostRequestBody $body, ?AcoshReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php index edc812ca5ed..e3e2febd476 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcotPostRequestBody $body, ?AcotRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php index 8f9e2999b0b..195dbc204dc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcothPostRequestBody $body, ?AcothReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php index 39723a005be..bbb8ed7c05d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AmorDegrcPostRequestBody $body, ?AmorDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php index e45d10c7e7e..ea0ed893618 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AmorLincPostRequestBody $body, ?AmorLin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php index 55daaae993f..34813e28118 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ArabicPostRequestBody $body, ?ArabicReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php index 7da38c2103f..67c2f18f6d1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AreasPostRequestBody $body, ?AreasReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php index 31d3aae0bc4..8b4be05223d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AscPostRequestBody $body, ?AscRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php index 8f91e458334..ac2a7dcba77 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AsinPostRequestBody $body, ?AsinRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php index 7f3f4e53358..9013b22f2c3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AsinhPostRequestBody $body, ?AsinhReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php index ea5796aad72..cef9b4a5793 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AtanPostRequestBody $body, ?AtanRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php index d07a53249f5..8d04e2c950e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Atan2PostRequestBody $body, ?Atan2Reque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php index 13f4183977a..b2656bf3820 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AtanhPostRequestBody $body, ?AtanhReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php index b6b403cba01..63767d03666 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AveDevPostRequestBody $body, ?AveDevReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php index e761959c194..32ed327fb75 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AveragePostRequestBody $body, ?AverageR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php index 83520d85cf8..922c067edf7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AverageAPostRequestBody $body, ?Average $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php index fe4d73e0f6c..8e69a4c6a5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AverageIfPostRequestBody $body, ?Averag $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php index 360e8301751..e26810b5bcb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AverageIfsPostRequestBody $body, ?Avera $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php index 7a4b7714cbd..92012786664 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BahtTextPostRequestBody $body, ?BahtTex $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php index ec6b1647fa2..44761de02df 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/EscapedBaseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BasePostRequestBody $body, ?BaseRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php index 42e70de9595..3fba329460a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BesselIPostRequestBody $body, ?BesselIR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php index 6f7fa0429d5..cb4a03ee35b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BesselJPostRequestBody $body, ?BesselJR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php index 6828851c54a..394888344cc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BesselKPostRequestBody $body, ?BesselKR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php index 2e6eefa67e4..06a63d201fd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BesselYPostRequestBody $body, ?BesselYR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php index b86ced6a61e..2f30ef8166a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Beta_DistPostRequestBody $body, ?Beta_D $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php index 1835829f779..de98801f8f7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Beta_InvPostRequestBody $body, ?Beta_In $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php index 2e735bde474..af00d84eac0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Bin2DecPostRequestBody $body, ?Bin2DecR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php index 8fa82930b1c..0755dcdcbbb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Bin2HexPostRequestBody $body, ?Bin2HexR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php index 8dc40b1c78c..7b58e1b94c4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Bin2OctPostRequestBody $body, ?Bin2OctR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php index 234ad3b7a2f..ceb75ce8f5e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Binom_DistPostRequestBody $body, ?Binom $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php index 5d2c7f6c0ba..f3a6f210bc8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Binom_Dist_RangePostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php index d09d3ba832a..3d691d13ae2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Binom_InvPostRequestBody $body, ?Binom_ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php index d6a7cbb90da..7082958e8b1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BitandPostRequestBody $body, ?BitandReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php index 56ee2649cd7..5ac24aea0af 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BitlshiftPostRequestBody $body, ?Bitlsh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php index a38163d7dd8..e8b7c8bf633 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BitorPostRequestBody $body, ?BitorReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php index acef846cd43..8529d2920be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BitrshiftPostRequestBody $body, ?Bitrsh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php index 8e601293f47..44d7dbc23d3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(BitxorPostRequestBody $body, ?BitxorReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php index e901a6aa790..ccbba3cefe2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Ceiling_MathPostRequestBody $body, ?Cei $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php index 4c511b78a5f..e5196049763 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Ceiling_PrecisePostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php index 0fd241f1ae9..218fdd24d44 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CharPostRequestBody $body, ?CharRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php index 34c998e6c6a..9baff65751b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChiSq_DistPostRequestBody $body, ?ChiSq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php index f1956dc3189..1b552963bfa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChiSq_Dist_RTPostRequestBody $body, ?Ch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php index 203406d2ebe..af84d11fb35 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChiSq_InvPostRequestBody $body, ?ChiSq_ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php index 04def93ef1e..83d20bf7434 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChiSq_Inv_RTPostRequestBody $body, ?Chi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php index 4f2924bc983..127ef553daf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChoosePostRequestBody $body, ?ChooseReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php index 43017564aa0..5da74b463aa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CleanPostRequestBody $body, ?CleanReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php index 0c9aff7ea2f..39f567ec307 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CodePostRequestBody $body, ?CodeRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php index 46f7278207d..2056aa17604 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ColumnsPostRequestBody $body, ?ColumnsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php index 307fb5333a3..7369a465f39 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CombinPostRequestBody $body, ?CombinReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php index d19214ea1b2..bf4e6a608b5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CombinaPostRequestBody $body, ?CombinaR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php index ff52b2c97e6..ccf85ba313c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ComplexPostRequestBody $body, ?ComplexR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php index 8f1c470d5f3..b457e76d5cb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ConcatenatePostRequestBody $body, ?Conc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php index 6fb7048327f..eb504badc8d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Confidence_NormPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php index 9ce4b3dcccb..2435254f9c3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Confidence_TPostRequestBody $body, ?Con $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php index 5c902ae3c48..70f909db250 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ConvertPostRequestBody $body, ?ConvertR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php index bfc2f55d96b..4d7da32fa29 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CosPostRequestBody $body, ?CosRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php index 83e95f20a88..fbaa9a3f06f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoshPostRequestBody $body, ?CoshRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php index 2ea97b24e35..ce5cf643a84 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CotPostRequestBody $body, ?CotRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php index 8a3a802ac53..02d0515eb5b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CothPostRequestBody $body, ?CothRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php index bc3d7cb713e..efe6cd6d83f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CountPostRequestBody $body, ?CountReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php index 210ea1658fb..423678272a3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CountAPostRequestBody $body, ?CountAReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php index ba562368bbf..5b2ed370c89 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CountBlankPostRequestBody $body, ?Count $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php index fc5fe51940a..b460797ecd7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CountIfPostRequestBody $body, ?CountIfR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php index 3d50e24e065..709b0cecf98 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CountIfsPostRequestBody $body, ?CountIf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php index ace82ca5242..874d9cc257e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoupDayBsPostRequestBody $body, ?CoupDa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php index e3c396fd079..dbecc01bccc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoupDaysPostRequestBody $body, ?CoupDay $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php index 1a461ef795b..1d2558fec16 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoupDaysNcPostRequestBody $body, ?CoupD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php index ff710e2ad29..85456fb5134 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoupNcdPostRequestBody $body, ?CoupNcdR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php index 7ce699cc259..3b85d5bd26f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoupNumPostRequestBody $body, ?CoupNumR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php index 772246f4920..7529d5bb976 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CoupPcdPostRequestBody $body, ?CoupPcdR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php index ab34768e6e9..a166ec42f2b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CscPostRequestBody $body, ?CscRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php index 7d30d107ba1..d3a445f45cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CschPostRequestBody $body, ?CschRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php index 0ba7aeeffec..d257d117587 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CumIPmtPostRequestBody $body, ?CumIPmtR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php index 449539b387d..d069832977a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CumPrincPostRequestBody $body, ?CumPrin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php index 1f779764be2..e6f2d0cfdc7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DateRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DatePostRequestBody $body, ?DateRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php index bd715402e54..d41b8455bcd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DatevaluePostRequestBody $body, ?Dateva $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php index a1b7031e5f4..1b849a8b4fd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DaveragePostRequestBody $body, ?Daverag $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php index 7981db8e48b..86db01d916d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DayPostRequestBody $body, ?DayRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php index f90fb9b47e6..120dadcdacf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DaysPostRequestBody $body, ?DaysRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php index c0c378f113c..e2878f81a20 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Days360PostRequestBody $body, ?Days360R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php index 8095c717c73..c1c0d742daa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DbPostRequestBody $body, ?DbRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php index 0c7af4bb392..3fe586ef6d1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DbcsPostRequestBody $body, ?DbcsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php index a84c8e04730..ea64589770a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DcountPostRequestBody $body, ?DcountReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php index a882ecdd717..309c1d93b5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DcountAPostRequestBody $body, ?DcountAR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php index 700d7e224e9..b4541ed2e5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DdbPostRequestBody $body, ?DdbRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php index 0caf5de9ad4..9225b0a25e0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Dec2BinPostRequestBody $body, ?Dec2BinR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php index 3bc5fdf3739..88f3f04067c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Dec2HexPostRequestBody $body, ?Dec2HexR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php index aa49774eb37..766cbe8390f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Dec2OctPostRequestBody $body, ?Dec2OctR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php index 17f6c7aa568..5f975650bd7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DecimalPostRequestBody $body, ?DecimalR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php index 7b42b2d512b..96de28b02f9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DegreesPostRequestBody $body, ?DegreesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php index 4d9da771bd8..5da1e7d524f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeltaPostRequestBody $body, ?DeltaReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php index 435bee5676a..c5a9d457ed4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DevSqPostRequestBody $body, ?DevSqReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php index 60dbaaf1759..a4c1868386f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DgetPostRequestBody $body, ?DgetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php index 62555d55dec..647be48e7ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DiscPostRequestBody $body, ?DiscRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php index 3104721c697..78f58bcbd2f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DmaxPostRequestBody $body, ?DmaxRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php index c2c5b5d8db8..78f1adb460e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DminPostRequestBody $body, ?DminRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php index 9bf0bf8a46c..fe733a7443c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DollarPostRequestBody $body, ?DollarReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php index 719f1c780c3..128ba9fe854 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DollarDePostRequestBody $body, ?DollarD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php index b05889ed7fd..8fd47122bfd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DollarFrPostRequestBody $body, ?DollarF $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php index 35acf51d600..0c094d63725 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DproductPostRequestBody $body, ?Dproduc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php index e94e9f7ac0a..a2368c60250 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DstDevPostRequestBody $body, ?DstDevReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php index bbc35665fed..4791cd98a1e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DstDevPPostRequestBody $body, ?DstDevPR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php index 9ed58681624..de7b5cc5795 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DsumPostRequestBody $body, ?DsumRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php index 742ca260f9b..5b4a4c74bcf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DurationPostRequestBody $body, ?Duratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php index 51deff87e2a..c1eace2c36e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DvarPostRequestBody $body, ?DvarRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php index 14dd120d1f3..6f84d7e66b7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DvarPPostRequestBody $body, ?DvarPReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php index b39a5f96b60..173bccb015d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Ecma_CeilingPostRequestBody $body, ?Ecm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php index 591597d612e..a126f040741 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(EdatePostRequestBody $body, ?EdateReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php index 8bce888a1ca..13f89dab4ef 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(EffectPostRequestBody $body, ?EffectReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php index 188b9535c1d..9d74718f6d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(EoMonthPostRequestBody $body, ?EoMonthR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php index fbb08588f75..1dd400155ad 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ErfPostRequestBody $body, ?ErfRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php index 2926ecd8c10..5eef464c1b2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ErfCPostRequestBody $body, ?ErfCRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php index 1017217eb76..4bc7bde79a9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ErfC_PrecisePostRequestBody $body, ?Erf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php index 8a2e829ccbe..b10caff3215 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Erf_PrecisePostRequestBody $body, ?Erf_ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php index 51b86e1322c..bf3d7d256e5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Error_TypePostRequestBody $body, ?Error $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php index fbadfd74f68..ffc47cc706d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AndPostRequestBody $body, ?AndRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php index 53989a6438d..5465191d069 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IfPostRequestBody $body, ?IfRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php index 9df28e2d387..c1389db4fdd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(OrPostRequestBody $body, ?OrRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php index ab2d571f0a1..776ed1ebe52 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(XorPostRequestBody $body, ?XorRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php index 50ae579be77..6089b6eaada 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(YieldPostRequestBody $body, ?YieldReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php index 0f245c277fe..79010fc59a0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(EvenPostRequestBody $body, ?EvenRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php index 3e25c233f50..09374376e64 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ExactPostRequestBody $body, ?ExactReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php index 6947a79b2ba..0619165c8b6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ExpPostRequestBody $body, ?ExpRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php index 225bf06ffd2..e524b5729e8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Expon_DistPostRequestBody $body, ?Expon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php index c40e1ca2bcc..316f258de47 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(F_DistPostRequestBody $body, ?F_DistReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php index fc4a22db86e..b0d5336d763 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(F_Dist_RTPostRequestBody $body, ?F_Dist $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php index 22f360818db..11152c4c79c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(F_InvPostRequestBody $body, ?F_InvReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php index ef3a4882039..42891b4b5d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(F_Inv_RTPostRequestBody $body, ?F_Inv_R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php index 1225fac3fd0..6dea5c86bc5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FactPostRequestBody $body, ?FactRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php index 7934f1fe318..9e7f95760bd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FactDoublePostRequestBody $body, ?FactD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php index 69a42b1d245..3655f7c74c2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?FalseRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php index ab844f703e4..87ba3cbba58 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FindPostRequestBody $body, ?FindRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php index d0091514149..b388d0cc16c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FindBPostRequestBody $body, ?FindBReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php index 70cc107b9c9..0e6a8ee8fd1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FisherPostRequestBody $body, ?FisherReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php index 494ed51a5b9..6dc24ab0ec3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FisherInvPostRequestBody $body, ?Fisher $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php index 95ec586189c..c87211be189 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FixedPostRequestBody $body, ?FixedReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php index 74960e8c8ff..e362c006cb5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Floor_MathPostRequestBody $body, ?Floor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php index 30fbcbcde39..33618889b88 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Floor_PrecisePostRequestBody $body, ?Fl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php index 5103162c4a7..2e7101c6966 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.php @@ -3018,7 +3018,7 @@ public function toDeleteRequestInformation(?FunctionsRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -3039,7 +3039,7 @@ public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -3058,7 +3058,7 @@ public function toPatchRequestInformation(WorkbookFunctions $body, ?FunctionsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php index 7a11b46deef..eebdc4a1a49 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FvPostRequestBody $body, ?FvRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php index 0a802f4901f..45c6f881b87 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(FvschedulePostRequestBody $body, ?Fvsch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php index a75bd6c34f1..e1eb0046d82 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GammaPostRequestBody $body, ?GammaReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php index 5b46da01a5d..27d69eba528 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GammaLnPostRequestBody $body, ?GammaLnR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php index 450cac6142c..ec62634fc01 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GammaLn_PrecisePostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php index e74e2e93d5f..1925efb6d7f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Gamma_DistPostRequestBody $body, ?Gamma $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php index 862cea1624b..c11fb58f88e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Gamma_InvPostRequestBody $body, ?Gamma_ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php index 42e0ad55295..c0b4f18b165 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GaussPostRequestBody $body, ?GaussReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php index 8d412ba3f98..c2d54390b65 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GcdPostRequestBody $body, ?GcdRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php index 2368cac0b5c..130eb7fe3be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GeStepPostRequestBody $body, ?GeStepReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php index f624dcc30b2..e9eb8f19f3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(GeoMeanPostRequestBody $body, ?GeoMeanR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php index da346aa266d..85a1af03ce4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(HarMeanPostRequestBody $body, ?HarMeanR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php index 66cec25cb12..c08dc194bd1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Hex2BinPostRequestBody $body, ?Hex2BinR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php index db9e0261844..7af89993d5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Hex2DecPostRequestBody $body, ?Hex2DecR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php index ec40a858a09..27a293300d5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Hex2OctPostRequestBody $body, ?Hex2OctR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php index b9e5bd10a96..8146f7f6136 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(HlookupPostRequestBody $body, ?HlookupR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php index a9ba799473f..aeec3a8ef30 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(HourPostRequestBody $body, ?HourRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php index fee6353d711..bb3a981ebfd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(HypGeom_DistPostRequestBody $body, ?Hyp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php index ad96cb642e5..5625e8e50dc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(HyperlinkPostRequestBody $body, ?Hyperl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php index d163a55d4cd..83965a677ff 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImAbsPostRequestBody $body, ?ImAbsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php index b8ab9c5be23..903b089ac63 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImArgumentPostRequestBody $body, ?ImArg $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php index a35da0bdee1..2342396f5fa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImConjugatePostRequestBody $body, ?ImCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php index 9bc39346a59..1ee475aee75 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImCosPostRequestBody $body, ?ImCosReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php index 380d6a0d8d4..11e811a8079 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImCoshPostRequestBody $body, ?ImCoshReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php index 53f63f4c7fd..bff1c031aba 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImCotPostRequestBody $body, ?ImCotReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php index b3ad9a3352a..d41202b8b6e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImCscPostRequestBody $body, ?ImCscReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php index d8bb0db46a6..bcd3906ce5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImCschPostRequestBody $body, ?ImCschReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php index c23726d5534..44ee838ee56 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImDivPostRequestBody $body, ?ImDivReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php index 3436ceb97fa..e6ecc4588d0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImExpPostRequestBody $body, ?ImExpReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php index 9c2e4dc6e31..35376cbb2c0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImLnPostRequestBody $body, ?ImLnRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php index 4bdc8ee24ab..e19a1f44760 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImLog10PostRequestBody $body, ?ImLog10R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php index 1e5515d2891..5fcf710a3a1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImLog2PostRequestBody $body, ?ImLog2Req $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php index 041d6a0b2c2..d6371bb6b6f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImPowerPostRequestBody $body, ?ImPowerR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php index c05c305b818..3f66b51f940 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImProductPostRequestBody $body, ?ImProd $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php index a5241f7baca..83bfadd48ed 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImRealPostRequestBody $body, ?ImRealReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php index 19bd96f2a70..0b267a1083e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSecPostRequestBody $body, ?ImSecReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php index 61d5cca59b1..1b2aa7c8704 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSechPostRequestBody $body, ?ImSechReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php index 92f257a90f0..8c3bd3cb8a3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSinPostRequestBody $body, ?ImSinReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php index 7b87d752bcf..379395aa0a0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSinhPostRequestBody $body, ?ImSinhReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php index 9ea8e6ffaf0..48ea17038da 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSqrtPostRequestBody $body, ?ImSqrtReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php index 6f8d30715d5..8e9cd9a57cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSubPostRequestBody $body, ?ImSubReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php index 1eac714a824..4aab8a5667b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImSumPostRequestBody $body, ?ImSumReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php index b3d62ffe293..a6d131a3e5b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImTanPostRequestBody $body, ?ImTanReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php index 1d851df13eb..c91216090d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ImaginaryPostRequestBody $body, ?Imagin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php index 8c6988e10f2..2f67b9f4c3c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IntPostRequestBody $body, ?IntRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php index 8226114ecf7..61c61bd6a8e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IntRatePostRequestBody $body, ?IntRateR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php index 6df2fe23cb5..e2e16e347ed 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IpmtPostRequestBody $body, ?IpmtRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php index 755975e29bd..0d086bb489f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IrrPostRequestBody $body, ?IrrRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php index 99efb36ecd2..fe1f6edfce8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsErrPostRequestBody $body, ?IsErrReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php index 03a66249785..00da5d4a33a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsErrorPostRequestBody $body, ?IsErrorR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php index a2ba6a5614d..2b278835961 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsEvenPostRequestBody $body, ?IsEvenReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php index 8c03be7a0af..a411b8dcf4a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsFormulaPostRequestBody $body, ?IsForm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php index 6bd91e198e4..a24d159c865 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsLogicalPostRequestBody $body, ?IsLogi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php index 20972cb96d2..7077e0968f2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsNAPostRequestBody $body, ?IsNARequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php index 890e2eea997..b1ef599f4c2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsNonTextPostRequestBody $body, ?IsNonT $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php index be023a9be56..bbb95d1a343 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsNumberPostRequestBody $body, ?IsNumbe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php index 4426c49fc49..268ef2980a8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsOddPostRequestBody $body, ?IsOddReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php index 89d0fcbb53f..e2bad95bc52 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsTextPostRequestBody $body, ?IsTextReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php index 78d5bd62811..3dcfc39489f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsoWeekNumPostRequestBody $body, ?IsoWe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php index 6ad5f715538..23823bef70b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Iso_CeilingPostRequestBody $body, ?Iso_ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php index 76602332299..328fed7dfae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IspmtPostRequestBody $body, ?IspmtReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php index cad9cdfaa4b..97334f30ecd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(IsrefPostRequestBody $body, ?IsrefReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php index 173169d4745..07006d7034b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(KurtPostRequestBody $body, ?KurtRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php index 15675aa0282..608ef7fe12d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LargePostRequestBody $body, ?LargeReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php index ad0391d1c86..c0d8c0d01fc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LcmPostRequestBody $body, ?LcmRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php index 7bba1d9baed..1c5e89f0301 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LeftPostRequestBody $body, ?LeftRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php index 8a4c4381c2b..2044c7c5f2c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LeftbPostRequestBody $body, ?LeftbReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php index 381f01e0ffe..a75d602ec29 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LenPostRequestBody $body, ?LenRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php index 0a88cdeab41..e9d070b7686 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LenbPostRequestBody $body, ?LenbRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php index c85136bf257..2113c652a97 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LnPostRequestBody $body, ?LnRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php index fcf0441d168..9b702a8a436 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LogPostRequestBody $body, ?LogRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php index 0531d87ee2a..362d62ee34e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Log10PostRequestBody $body, ?Log10Reque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php index cf7e53d9675..56d17ec6958 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LogNorm_DistPostRequestBody $body, ?Log $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php index 3183b0669f0..82cf2e0a763 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LogNorm_InvPostRequestBody $body, ?LogN $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php index 9294d4c422f..f9676295058 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LookupPostRequestBody $body, ?LookupReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php index 7ae9e5cfc88..394c958ecde 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(LowerPostRequestBody $body, ?LowerReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php index dba23dc089e..d7af6aa5350 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MatchPostRequestBody $body, ?MatchReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php index 96951df254d..58755b7f014 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MaxPostRequestBody $body, ?MaxRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php index 746cb182350..608d98c7599 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MaxAPostRequestBody $body, ?MaxARequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php index aa54b52304c..12553bfcdfa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MdurationPostRequestBody $body, ?Mdurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php index 1049096eb73..8613a7e5fdf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MedianPostRequestBody $body, ?MedianReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php index 35e0829a8f5..f29af65081c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MidPostRequestBody $body, ?MidRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php index 4621eb7bb2d..de895ee7d8f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MidbPostRequestBody $body, ?MidbRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php index 334a69186b5..1d4d148797a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MinPostRequestBody $body, ?MinRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php index 2e03e45a4e0..0d451a18870 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MinAPostRequestBody $body, ?MinARequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php index 83b526bb9bc..eb51ce99613 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MinutePostRequestBody $body, ?MinuteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php index 8b564ebd30d..933db7aa9bd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MirrPostRequestBody $body, ?MirrRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php index 420b0a12df0..9dd4d8038d9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ModPostRequestBody $body, ?ModRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php index 9fc1e75c577..ff5dd6e4cc9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MonthPostRequestBody $body, ?MonthReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php index a5471a3b1f6..32b308341d9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MroundPostRequestBody $body, ?MroundReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php index 6889ed0e3e2..4b3a70d8e24 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(MultiNomialPostRequestBody $body, ?Mult $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.php index f716be03980..c2e5eb36a2b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NPostRequestBody $body, ?NRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php index 008ac977041..d5066f10036 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?NaRequestBuilderPostRequestConfigurati $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php index db3e92073ce..4bf31e4c9b4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NegBinom_DistPostRequestBody $body, ?Ne $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php index 9cd4784b3fe..da40a0a7a92 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NetworkDaysPostRequestBody $body, ?Netw $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php index f9e4601618e..cd491cf63eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NetworkDays_IntlPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php index 1e4e49cea50..9212f86a4ba 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NominalPostRequestBody $body, ?NominalR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php index 2727439833c..f1375508ef3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Norm_DistPostRequestBody $body, ?Norm_D $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php index ad4882cd251..817a71dbe8c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Norm_InvPostRequestBody $body, ?Norm_In $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php index 2b7d6dd3a37..8218c96381a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Norm_S_DistPostRequestBody $body, ?Norm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php index 1b873d0cebf..8a60640123c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Norm_S_InvPostRequestBody $body, ?Norm_ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php index 8d7dc5c877e..c48ded02347 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NotPostRequestBody $body, ?NotRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php index 97f9dd2c640..bbd1928a5e4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?NowRequestBuilderPostRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php index 549c39a1f8d..7555ce95fa7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NperPostRequestBody $body, ?NperRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php index 84304cdd34a..c8269551c75 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NpvPostRequestBody $body, ?NpvRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php index 56803d46fd2..05ee80085cb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(NumberValuePostRequestBody $body, ?Numb $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php index 8a299de3281..20e86a3d995 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Oct2BinPostRequestBody $body, ?Oct2BinR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php index f4063d77834..733c33d4078 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Oct2DecPostRequestBody $body, ?Oct2DecR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php index 05ab10863d7..4465f629ecc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Oct2HexPostRequestBody $body, ?Oct2HexR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php index 4e1926f3993..779e6a31fdc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(OddPostRequestBody $body, ?OddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php index 6069e852c4f..640cc3768ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(OddFPricePostRequestBody $body, ?OddFPr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php index ddbd20b1808..007fff52abc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(OddFYieldPostRequestBody $body, ?OddFYi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php index 01ac51035b0..2e8ef57e8dc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(OddLPricePostRequestBody $body, ?OddLPr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php index 7a67f07a5e4..5afc38e3dd8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(OddLYieldPostRequestBody $body, ?OddLYi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php index 474a3a08e81..6db9b81fce8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PdurationPostRequestBody $body, ?Pdurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php index d579370936a..e3b1128fda4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PercentRank_ExcPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php index 7041ee6a503..92c76a0d83b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PercentRank_IncPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php index 1de891fedc2..7133e22d45f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Percentile_ExcPostRequestBody $body, ?P $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php index 7319506ab0f..fff849a6ed0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Percentile_IncPostRequestBody $body, ?P $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php index ed5dc331c1e..afc8abf57b5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PermutPostRequestBody $body, ?PermutReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php index 8f8832498cb..c7632a3e258 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PermutationaPostRequestBody $body, ?Per $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php index fef90285ca9..247a6ed3048 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PhiPostRequestBody $body, ?PhiRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php index 0f84efb2e00..12ed07c9703 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PiRequestBuilderPostRequestConfigurati $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php index 03d2653235a..d9fb30c9fe0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PmtPostRequestBody $body, ?PmtRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php index 07cb1f21479..5784a1fe600 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Poisson_DistPostRequestBody $body, ?Poi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php index c73c8c830c9..f89d044f21c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PowerPostRequestBody $body, ?PowerReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php index fc7a77a911b..1fba38b5b38 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PpmtPostRequestBody $body, ?PpmtRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php index 2a360081d84..1ce4ff7c399 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PricePostRequestBody $body, ?PriceReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php index 4a6afc20691..e44b379c404 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PriceDiscPostRequestBody $body, ?PriceD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php index b12174a46e6..4e925c978eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PriceMatPostRequestBody $body, ?PriceMa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php index 8fed3d28660..8fe75e02007 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ProductPostRequestBody $body, ?ProductR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php index ea3ea4eedd5..91eebd8d8db 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ProperPostRequestBody $body, ?ProperReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php index 56d74fdd779..0013f8c413f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(PvPostRequestBody $body, ?PvRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php index a1c8b358134..02f7211e979 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Quartile_ExcPostRequestBody $body, ?Qua $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php index 3ad91ea18e0..587ab0f7a3b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Quartile_IncPostRequestBody $body, ?Qua $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php index 77f1d20c5e7..5db021a66c9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(QuotientPostRequestBody $body, ?Quotien $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php index e52d36ce7b7..6e4d6512147 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RadiansPostRequestBody $body, ?RadiansR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php index 4c09c595689..78f3aa3dc5b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RandRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php index 4ed9d91e43a..4d1f1cdc1b9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RandBetweenPostRequestBody $body, ?Rand $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php index 7aa4312545d..78fb98db1e5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Rank_AvgPostRequestBody $body, ?Rank_Av $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php index 31ca9e45da1..3acdb31e26c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Rank_EqPostRequestBody $body, ?Rank_EqR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php index 2238ef0b3ae..c4be9fa47ad 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RatePostRequestBody $body, ?RateRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php index baa848c280c..60ce911d9cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReceivedPostRequestBody $body, ?Receive $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php index 0f33fbbd54f..18124eda06f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplacePostRequestBody $body, ?ReplaceR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php index 096d6be9a99..4b33b18c20a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplaceBPostRequestBody $body, ?Replace $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php index f269fac6d12..4230dfb6c7c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReptPostRequestBody $body, ?ReptRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php index 177c4be1d74..1d59dec4a03 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RightPostRequestBody $body, ?RightReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php index 112e7bc4c3e..1377c75c1b8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RightbPostRequestBody $body, ?RightbReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php index 040d6695840..70d5784c913 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RomanPostRequestBody $body, ?RomanReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php index 33be99e7d4b..f15fdfc1089 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RoundPostRequestBody $body, ?RoundReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php index 4dd52d2da2f..ee28203bfd0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RoundDownPostRequestBody $body, ?RoundD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php index ae22c2228e6..ffba693cf83 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RoundUpPostRequestBody $body, ?RoundUpR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php index 7ce6f4ded83..a936ef502a1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RowsPostRequestBody $body, ?RowsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php index 23c6d8438b7..159b13f8935 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RriPostRequestBody $body, ?RriRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php index fb28db58ff0..f3553a012d2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SecPostRequestBody $body, ?SecRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php index 40bd53597fe..1e9faea7e46 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SechPostRequestBody $body, ?SechRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php index 045380a710e..8c79344cec3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SecondPostRequestBody $body, ?SecondReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php index 41fc8b8d11f..57831fc7fd7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SeriesSumPostRequestBody $body, ?Series $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php index bd6edaaca12..5c1f0b38452 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SheetPostRequestBody $body, ?SheetReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php index e5dec3e8627..d7cf89746fe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SheetsPostRequestBody $body, ?SheetsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php index e9874906c7b..afac92da473 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SignPostRequestBody $body, ?SignRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php index 7c2bd66ccf6..4704979197e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SinPostRequestBody $body, ?SinRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php index e6ff8824945..cd0cb0b10eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SinhPostRequestBody $body, ?SinhRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php index 33ad208d24a..d436a935f07 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SkewPostRequestBody $body, ?SkewRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php index 21b0611826e..af2b63fb50e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Skew_pPostRequestBody $body, ?Skew_pReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php index fa455f65f47..47e83c2492e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SlnPostRequestBody $body, ?SlnRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php index 5261d12132e..1b67a72d962 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SmallPostRequestBody $body, ?SmallReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php index 01210e32a5e..3f7dec8c1fd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SqrtPostRequestBody $body, ?SqrtRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php index 6086cbc7145..928ed7c3b1e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SqrtPiPostRequestBody $body, ?SqrtPiReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php index 49e6e624859..cc401975466 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(StDevAPostRequestBody $body, ?StDevAReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php index 282e0660b53..04b8ae7507d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(StDevPAPostRequestBody $body, ?StDevPAR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php index bb8e6c23f0b..6ac9eb1cb55 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(StDev_PPostRequestBody $body, ?StDev_PR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php index 8ce605b91c8..054b7cc72d5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(StDev_SPostRequestBody $body, ?StDev_SR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php index 43643bb9e01..ec233a1da44 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(StandardizePostRequestBody $body, ?Stan $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php index 1305e378d65..fa2864704cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SubstitutePostRequestBody $body, ?Subst $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php index 439b6448ca0..f68c0c2cf98 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SubtotalPostRequestBody $body, ?Subtota $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php index 50e0ac30f37..7773fc44652 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SumPostRequestBody $body, ?SumRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php index fc91b0dfa5b..4aeac2cadf5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SumIfPostRequestBody $body, ?SumIfReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php index 29f317bd5bb..d1c32ad7058 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SumIfsPostRequestBody $body, ?SumIfsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php index e4542ee4c96..4bafd24f5ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SumSqPostRequestBody $body, ?SumSqReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php index af1b0c99297..2b48c234547 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(SydPostRequestBody $body, ?SydRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.php index f3faba93da2..3d303e5c019 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TPostRequestBody $body, ?TRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php index 99bd1a7ae9d..d5a4db80937 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(T_DistPostRequestBody $body, ?T_DistReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php index e159db7d57a..a573a583222 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(T_Dist_2TPostRequestBody $body, ?T_Dist $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php index 0bb917bbe06..a3f7fa467e6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(T_Dist_RTPostRequestBody $body, ?T_Dist $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php index 0628a5da25e..2a3aeb0aed5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(T_InvPostRequestBody $body, ?T_InvReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php index 7e3c976f740..ce5b9041031 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(T_Inv_2TPostRequestBody $body, ?T_Inv_2 $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php index 8f30356a38f..1a68ebb24ad 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TanPostRequestBody $body, ?TanRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php index 1aa1cae3453..363b448f9cc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TanhPostRequestBody $body, ?TanhRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php index b77ed91cc90..fee6bf3420c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TbillEqPostRequestBody $body, ?TbillEqR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php index 71361d2261f..42b98d39270 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TbillPricePostRequestBody $body, ?Tbill $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php index fc4bf3deb23..47d60f981eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TbillYieldPostRequestBody $body, ?Tbill $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php index b4a942ce319..fc76c2596ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TextPostRequestBody $body, ?TextRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php index 5afd7332c8d..2d0e849e53d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TimePostRequestBody $body, ?TimeRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php index eddd0b6486a..d79c8182e93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TimevaluePostRequestBody $body, ?Timeva $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php index 0ddfd4323b8..2131cabeac6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?TodayRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php index 23c4b593cec..e442425c608 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TrimPostRequestBody $body, ?TrimRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php index 0167ed50586..3e064af8e1e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TrimMeanPostRequestBody $body, ?TrimMea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php index b2fc75f05b9..54a967a3845 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?TrueRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php index d588d7e0cd7..080c596e7f7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TruncPostRequestBody $body, ?TruncReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php index 5a6f22787c3..b59a67a8749 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(TypePostRequestBody $body, ?TypeRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php index b87fc14ad3b..e62f77c77f8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UnicharPostRequestBody $body, ?UnicharR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php index 94ab9e14d1a..904b256de05 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UnicodePostRequestBody $body, ?UnicodeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php index 25e59b12bac..4e4bc8e9ecc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpperPostRequestBody $body, ?UpperReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php index 9682cc74e82..bf0abe2c9d1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UsdollarPostRequestBody $body, ?Usdolla $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php index af6e0eaed8c..c0969c8943a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValuePostRequestBody $body, ?ValueReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php index e95de6e57dc..0b4e11504d5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(VarAPostRequestBody $body, ?VarARequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php index 258ddb5f747..b9d035c9be0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(VarPAPostRequestBody $body, ?VarPAReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php index dedb4edcee5..e35afb9d519 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Var_PPostRequestBody $body, ?Var_PReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php index 3a8f4934d65..a4fe52190f1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Var_SPostRequestBody $body, ?Var_SReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php index 45d28c6ba78..dfdab034dbd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(VdbPostRequestBody $body, ?VdbRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php index e99c49dd314..566380e7a7b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(VlookupPostRequestBody $body, ?VlookupR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php index 36e13ea8011..fa7f1db18eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WeekNumPostRequestBody $body, ?WeekNumR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php index 175be9d8363..c7c12d0af2e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WeekdayPostRequestBody $body, ?WeekdayR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php index d3e07fa8756..7504ff14366 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Weibull_DistPostRequestBody $body, ?Wei $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php index b0075637ae8..30c4f01708c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WorkDayPostRequestBody $body, ?WorkDayR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php index e5a0eefa90d..e0da29faee7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WorkDay_IntlPostRequestBody $body, ?Wor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php index 3afce60b421..ad398048396 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(XirrPostRequestBody $body, ?XirrRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php index f99ff90264f..4e14e309be2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(XnpvPostRequestBody $body, ?XnpvRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php index 276f248a3e0..036729af124 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(YearPostRequestBody $body, ?YearRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php index fc255ff6d38..f49bfb05b0b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(YearFracPostRequestBody $body, ?YearFra $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php index 292a65104b7..b473b2c0a9e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(YieldDiscPostRequestBody $body, ?YieldD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php index 937d7ee0993..b1d7dce02b4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(YieldMatPostRequestBody $body, ?YieldMa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php index 4ea921370b1..ccd484e85e5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(Z_TestPostRequestBody $body, ?Z_TestReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.php index 99fc4925b26..830ed3dafa0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php index 7496ca6c8e7..6495fab945d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddFormulaLocalPostRequestBody $body The request body * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddFormulaLocalPostRequestBody $body, ?AddFormulaLocalReque } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddFormulaLocalPostRequestBody $body The request body * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddFormulaLocalPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index f24b634a753..3e73800a2d9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php index 885b1781667..cb8ebbb1ced 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?WorkbookNamedItemItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of nameditem object. * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?WorkbookNamedItemItemRequestBuilderGetRequestConfiguration } /** - * Update the properties of nameditem object. This API is available in the following national cloud deployments. + * Update the properties of nameditem object. * @param WorkbookNamedItem $body The request body * @param WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?WorkbookNamedItemItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of nameditem object. * @param WorkbookNamedItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?WorkbookNamedItemItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of nameditem object. This API is available in the following national cloud deployments. + * Update the properties of nameditem object. * @param WorkbookNamedItem $body The request body * @param WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(WorkbookNamedItem $body, ?WorkbookName $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php index 0274acba274..61fbb974dff 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of nameditem object. */ class WorkbookNamedItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php index 39260c24f18..e4581066da9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php index 4dab7b0e2e6..407bb73613f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of nameditem objects. This API is available in the following national cloud deployments. + * Retrieve a list of nameditem objects. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function post(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestCon } /** - * Retrieve a list of nameditem objects. This API is available in the following national cloud deployments. + * Retrieve a list of nameditem objects. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?NamesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toPostRequestInformation(WorkbookNamedItem $body, ?NamesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php index 6a10a26944b..3b417531c71 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of nameditem objects. This API is available in the following national cloud deployments. + * Retrieve a list of nameditem objects. */ class NamesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php index ab2b1da4faf..51d7b85af3a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?WorkbookOperationItemRequestBuilderDeleteRequestConfigur } /** - * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. * @param WorkbookOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?WorkbookOperationItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. * @param WorkbookOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?WorkbookOperationItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(WorkbookOperation $body, ?WorkbookOper $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php index a5fdf6a061d..1331ccb092a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. */ class WorkbookOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php index e15a2a3e811..6885c7bd5be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(WorkbookOperation $body, ?OperationsRequestBuilderPostReque } /** - * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WorkbookOperation $body, ?OperationsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php index c4c5b7d9386..71fcff1fd6d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + * Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php index 10d671787f7..99aac060fc0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to refresh an existing workbook session. This API is available in the following national cloud deployments. + * Use this API to refresh an existing workbook session. * @param RefreshSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RefreshSessionRequestBuilderPostRequestConfiguration $requ } /** - * Use this API to refresh an existing workbook session. This API is available in the following national cloud deployments. + * Use this API to refresh an existing workbook session. * @param RefreshSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RefreshSessionRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php index 763056d58c7..c4dc2b157a9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SessionInfoResourceWithKeyRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php index 10a7a4bb06b..f72ab3cb06b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TableRowOperationResultWithKeyRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php index efe123143f1..dd0b5c02d50 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php index c72dd68c9f0..f2411523f88 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php index 17fa83b0b57..a0e5d9fc068 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + * Clears all the filters currently applied on the table. * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearFiltersRequestBuilderPostRequestConfiguration $reques } /** - * Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + * Clears all the filters currently applied on the table. * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearFiltersRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php index 7ccbc99f1ae..6f163d92350 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new column to the table. This API is available in the following national cloud deployments. + * Adds a new column to the table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds a new column to the table. This API is available in the following national cloud deployments. + * Adds a new column to the table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php index ceb7292b9c8..6c249ba8e93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php @@ -61,11 +61,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablecolumn objects. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 Find more info here */ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -86,7 +86,7 @@ public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { } /** - * Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + * Use this API to create a new TableColumn. * @param WorkbookTableColumn $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostReques } /** - * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablecolumn objects. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + * Use this API to create a new TableColumn. * @param WorkbookTableColumn $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(WorkbookTableColumn $body, ?ColumnsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 36949614b2e..969dfd765b5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablecolumn objects. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php index 7c39bf38a43..50af513be50 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php index fe7185dc051..189985b8297 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the column. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the column. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php index 005dc5a75f8..6528cd48531 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + * Apply the given filter criteria on the given column. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequest } /** - * Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + * Apply the given filter criteria on the given column. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php index 723a78e928d..b1b65491c2d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyBottomItemsFilterPostRequestBody $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php index b973b7a4a6b..9e49e75de43 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyBottomPercentFilterPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php index b9ba6396d20..22bdd613083 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyCellColorFilterPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php index 6f98ffc9ac6..eb5dc3d6b2d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyCustomFilterPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php index ba37ec225b8..5116c43e940 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyDynamicFilterPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php index bbd243912ee..e6535fe8cec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyFontColorFilterPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php index 4f5052db10a..679d03eac17 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyIconFilterPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php index fad1b6aff26..2cf4ec6d376 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyTopItemsFilterPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php index 2e3f838acd6..3d1131e5d8d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyTopPercentFilterPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php index dc98f1a54e3..8c2be60364f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyValuesFilterPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php index a3ce943736e..17a166ff628 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the filter on the given column. This API is available in the following national cloud deployments. + * Clear the filter on the given column. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the filter on the given column. This API is available in the following national cloud deployments. + * Clear the filter on the given column. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php index a8917b3ea44..a1327a5f9f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php @@ -186,7 +186,7 @@ public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -207,7 +207,7 @@ public function toGetRequestInformation(?FilterRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -226,7 +226,7 @@ public function toPatchRequestInformation(WorkbookFilter $body, ?FilterRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php index f86ae22052a..c06c3bfe701 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the header row of the column. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $reques } /** - * Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the header row of the column. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php index 5b1d070cfb0..24f46fb6f6f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + * Gets the range object associated with the entire column. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + * Gets the range object associated with the entire column. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php index 34fa9f9f96a..96531602c6c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the totals row of the column. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the totals row of the column. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php index 624c3db6b6a..0f10b616770 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the column from the table. This API is available in the following national cloud deployments. + * Deletes the column from the table. * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablecolumn object. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function get(?WorkbookTableColumnItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + * Update the properties of tablecolumn object. * @param WorkbookTableColumn $body The request body * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function patch(WorkbookTableColumn $body, ?WorkbookTableColumnItemRequest } /** - * Deletes the column from the table. This API is available in the following national cloud deployments. + * Deletes the column from the table. * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablecolumn object. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,12 +154,12 @@ public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + * Update the properties of tablecolumn object. * @param WorkbookTableColumn $body The request body * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(WorkbookTableColumn $body, ?WorkbookTa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php index b26ee96cc8d..bb0d465153c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablecolumn object. */ class WorkbookTableColumnItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index 7d35315d333..0db492ef454 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php index 5114c56a903..72c7d9b37f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + * Converts the table into a normal range of cells. All data is preserved. * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ConvertToRangeRequestBuilderPostRequestConfiguration $requ } /** - * Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + * Converts the table into a normal range of cells. All data is preserved. * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ConvertToRangeRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php index b12e4a9eb22..7b62ac3e525 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the table. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the table. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php index e555d625bf9..5389b1bb0e0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with header row of the table. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $reques } /** - * Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with header row of the table. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php index e1611ebb7bd..0279b3f61b4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Range/RangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the range object associated with the entire table. This API is available in the following national cloud deployments. + * Get the range object associated with the entire table. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the range object associated with the entire table. This API is available in the following national cloud deployments. + * Get the range object associated with the entire table. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php index dc7d58903f6..9554567f63b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + * Reapplies all the filters currently on the table. * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReapplyFiltersRequestBuilderPostRequestConfiguration $requ } /** - * Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + * Reapplies all the filters currently on the table. * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReapplyFiltersRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php index 9f0b64f5fe1..4e0fdb0260a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php index cb4d5db025e..34d69c99345 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php index 9678223dd5d..d19205a283c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php index 28e0f4178b5..cd28a3e32ee 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the row from the table. This API is available in the following national cloud deployments. + * Deletes the row from the table. * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?WorkbookTableRowItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablerow object. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?WorkbookTableRowItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of tablerow object. This API is available in the following national cloud deployments. + * Update the properties of tablerow object. * @param WorkbookTableRow $body The request body * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(WorkbookTableRow $body, ?WorkbookTableRowItemRequestBuilde } /** - * Deletes the row from the table. This API is available in the following national cloud deployments. + * Deletes the row from the table. * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?WorkbookTableRowItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablerow object. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?WorkbookTableRowItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of tablerow object. This API is available in the following national cloud deployments. + * Update the properties of tablerow object. * @param WorkbookTableRow $body The request body * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(WorkbookTableRow $body, ?WorkbookTable $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php index 09694d9fc98..e04f96bad2f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablerow object. */ class WorkbookTableRowItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index 499ce320ba5..6c15819736a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php index ad68133c50b..980cc0093e8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php @@ -61,11 +61,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -86,7 +86,7 @@ public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { } /** - * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. * @param WorkbookTableRow $body The request body * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfi } /** - * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. * @param WorkbookTableRow $body The request body * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(WorkbookTableRow $body, ?RowsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php index cccebcb2e2f..e081433bba9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablerow objects. */ class RowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php index 2564414cd8f..0d6162b8f1c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Perform a sort operation. This API is available in the following national cloud deployments. + * Perform a sort operation. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequest } /** - * Perform a sort operation. This API is available in the following national cloud deployments. + * Perform a sort operation. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php index bd3bd8a98e0..627f1b86970 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php index f5ac3df99ba..8443edb62af 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + * Reapplies the current sorting parameters to the table. * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReapplyRequestBuilderPostRequestConfiguration $requestConf } /** - * Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + * Reapplies the current sorting parameters to the table. * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReapplyRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php index 8bf52004173..1df80523652 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablesort object. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablesort object. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?SortRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(WorkbookTableSort $body, ?SortRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php index 9f762e9c412..67c977a7d9a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablesort object. */ class SortRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php index 61e45de3f4e..838bb808720 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with totals row of the table. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with totals row of the table. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php index 321ddb75af6..8e0ebb2d679 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.php @@ -119,7 +119,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the table. This API is available in the following national cloud deployments. + * Deletes the table. * @param WorkbookTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function delete(?WorkbookTableItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of table object. * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -151,7 +151,7 @@ public function get(?WorkbookTableItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of table object. This API is available in the following national cloud deployments. + * Update the properties of table object. * @param WorkbookTable $body The request body * @param WorkbookTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -168,7 +168,7 @@ public function patch(WorkbookTable $body, ?WorkbookTableItemRequestBuilderPatch } /** - * Deletes the table. This API is available in the following national cloud deployments. + * Deletes the table. * @param WorkbookTableItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -181,12 +181,12 @@ public function toDeleteRequestInformation(?WorkbookTableItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of table object. * @param WorkbookTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -202,12 +202,12 @@ public function toGetRequestInformation(?WorkbookTableItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of table object. This API is available in the following national cloud deployments. + * Update the properties of table object. * @param WorkbookTable $body The request body * @param WorkbookTableItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -221,7 +221,7 @@ public function toPatchRequestInformation(WorkbookTable $body, ?WorkbookTableIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php index bd91b4e89cf..2d9bd2961cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of table object. */ class WorkbookTableItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php index 4ebd6e97c34..65044da66c9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index 84ce01abf0b..01250ace4bb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.php index a241ba36b45..25476c1317b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of table objects. This API is available in the following national cloud deployments. + * Retrieve a list of table objects. * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -102,7 +102,7 @@ public function post(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfig } /** - * Retrieve a list of table objects. This API is available in the following national cloud deployments. + * Retrieve a list of table objects. * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -118,7 +118,7 @@ public function toGetRequestInformation(?TablesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -137,7 +137,7 @@ public function toPostRequestInformation(WorkbookTable $body, ?TablesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php index fefc90066da..1f7134f7213 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of table objects. This API is available in the following national cloud deployments. + * Retrieve a list of table objects. */ class TablesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php index ce51ae21ae9..050de8eb664 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.php @@ -190,7 +190,7 @@ public function toDeleteRequestInformation(?WorkbookRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -211,7 +211,7 @@ public function toGetRequestInformation(?WorkbookRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -230,7 +230,7 @@ public function toPatchRequestInformation(Workbook $body, ?WorkbookRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php index 2f6867c0a3f..a64c6fba076 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. This API is available in the following national cloud deployments. + * Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. This API is available in the following national cloud deployments. + * Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php index dd57c8c21ee..7cf16ca6548 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?CellWithRowWithColumnRequestBuilderGetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php index ab6e9686758..86f58a0eada 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Creates a new chart. This API is available in the following national cloud deployments. + * Creates a new chart. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Creates a new chart. This API is available in the following national cloud deployments. + * Creates a new chart. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php index 691189a281d..b69101c6742 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.php @@ -62,11 +62,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of chart objects. This API is available in the following national cloud deployments. + * Retrieve a list of chart objects. * @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chart-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0 Find more info here */ public function get(?ChartsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +96,7 @@ public function itemWithName(string $name): ItemWithNameRequestBuilder { } /** - * Use this API to create a new Chart. This API is available in the following national cloud deployments. + * Use this API to create a new Chart. * @param WorkbookChart $body The request body * @param ChartsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -113,7 +113,7 @@ public function post(WorkbookChart $body, ?ChartsRequestBuilderPostRequestConfig } /** - * Retrieve a list of chart objects. This API is available in the following national cloud deployments. + * Retrieve a list of chart objects. * @param ChartsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?ChartsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Chart. This API is available in the following national cloud deployments. + * Use this API to create a new Chart. * @param WorkbookChart $body The request body * @param ChartsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPostRequestInformation(WorkbookChart $body, ?ChartsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php index 2deb3b64d3c..5ac7bf23e21 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of chart objects. This API is available in the following national cloud deployments. + * Retrieve a list of chart objects. */ class ChartsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php index a2b864ba2dd..d1a5429afe1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php index e874085c2a5..503062cbb68 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AxesRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AxesRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(WorkbookChartAxes $body, ?AxesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php index 20fc30b1869..be88d4db5e6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?CategoryAxisRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?CategoryAxisRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(WorkbookChartAxis $body, ?CategoryAxis $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php index f6fac8fe2a7..aa2385f7bd6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?FontRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Update the properties of chartfont object. This API is available in the following national cloud deployments. + * Update the properties of chartfont object. * @param WorkbookChartFont $body The request body * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartfont object. This API is available in the following national cloud deployments. + * Update the properties of chartfont object. * @param WorkbookChartFont $body The request body * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php index 9a1409a5375..2529940a9ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. */ class FontRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php index 5b220bd58ae..ff0c90c2569 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartAxisFormat $body, ?Format $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php index 784f4cc3ce2..4a4a5e01a11 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php index 0423d865438..b424ebb35ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?LineRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + * Update the properties of chartlineformat object. * @param WorkbookChartLineFormat $body The request body * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + * Update the properties of chartlineformat object. * @param WorkbookChartLineFormat $body The request body * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php index d9d1a00ce64..b99de622873 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. */ class LineRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php index 4e0c83c7bdd..57e8563010f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php index ae1a6bb7054..0c4b29e4822 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php index e03dc3b9527..c5ac2a3efd8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php index fb03181d809..a6de504d69a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?MajorGridlinesRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?MajorGridlinesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MajorGr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php index 6839124a89e..8c3b1c33377 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php index 9cb5a50d80a..fe2bc59bce3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php index 9e8d35dd4e5..eaf7b3ae4d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php index 62d95186fb2..7d7f97fd7b3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?MinorGridlinesRequestBuilderGetRequestConfiguration $reques } /** - * Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + * Update the properties of chartgridlines object. * @param WorkbookChartGridlines $body The request body * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?MinorGridlinesRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + * Update the properties of chartgridlines object. * @param WorkbookChartGridlines $body The request body * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MinorGr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php index c250c672660..f73de473035 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. */ class MinorGridlinesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php index 7f9ddfc3d38..54556a44406 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php index 3f9fc965b54..739be674ba7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartAxisTitleFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php index eb0edb284dd..c180caa0f5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Update the properties of chartaxistitle object. This API is available in the following national cloud deployments. + * Update the properties of chartaxistitle object. * @param WorkbookChartAxisTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartaxistitle object. This API is available in the following national cloud deployments. + * Update the properties of chartaxistitle object. * @param WorkbookChartAxisTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartAxisTitle $body, ?TitleRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php index 70ff5a63bb7..aa139436842 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. */ class TitleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php index 1644511cc6a..55ae68ebdc4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?FontRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Update the properties of chartfont object. This API is available in the following national cloud deployments. + * Update the properties of chartfont object. * @param WorkbookChartFont $body The request body * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartfont object. This API is available in the following national cloud deployments. + * Update the properties of chartfont object. * @param WorkbookChartFont $body The request body * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php index cfd08d2a0dc..7a0350b7636 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. */ class FontRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php index 8d1256546c2..56280bd2e86 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartAxisFormat $body, ?Format $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php index dede634d4e6..9216d320aa8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php index a5049f504f8..2ff7c84f752 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?LineRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + * Update the properties of chartlineformat object. * @param WorkbookChartLineFormat $body The request body * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + * Update the properties of chartlineformat object. * @param WorkbookChartLineFormat $body The request body * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php index 3ec32f9a4be..a4f1ab66ce3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. */ class LineRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php index f0866d3db3b..2348d4bc32d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php index ccfc9817193..7a2bfdbda7a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php index 270c0f280a8..5497a4e5a14 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php index ecd8cd63092..c0b433e0124 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?MajorGridlinesRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?MajorGridlinesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MajorGr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php index 49728cd4d3e..d04d871928f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php index 26d276dbefc..f4db258eb59 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php index 9900a757a86..a620bd381d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php index 5d77a1e3459..cdfc707b0e4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?MinorGridlinesRequestBuilderGetRequestConfiguration $reques } /** - * Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + * Update the properties of chartgridlines object. * @param WorkbookChartGridlines $body The request body * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?MinorGridlinesRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + * Update the properties of chartgridlines object. * @param WorkbookChartGridlines $body The request body * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MinorGr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php index a980a45e8bf..276e90a9f68 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. */ class MinorGridlinesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php index e4f218a37f2..7902f5edcc3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SeriesAxisRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SeriesAxisRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(WorkbookChartAxis $body, ?SeriesAxisRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php index 90114582f58..a7d0b82a542 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php index 4dcd8c75e0a..6464e13b4d0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartAxisTitleFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php index c43434f2b20..9c8592c030c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Update the properties of chartaxistitle object. This API is available in the following national cloud deployments. + * Update the properties of chartaxistitle object. * @param WorkbookChartAxisTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartaxistitle object. This API is available in the following national cloud deployments. + * Update the properties of chartaxistitle object. * @param WorkbookChartAxisTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartAxisTitle $body, ?TitleRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php index eecfd6846a5..fe7849584a6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. */ class TitleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php index a29f208b695..b0acf248d8c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?FontRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?FontRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Update the properties of chartfont object. This API is available in the following national cloud deployments. + * Update the properties of chartfont object. * @param WorkbookChartFont $body The request body * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. * @param FontRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartfont object. This API is available in the following national cloud deployments. + * Update the properties of chartfont object. * @param WorkbookChartFont $body The request body * @param FontRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php index 2cf67a2a501..1f6fc48d52e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartfont object. */ class FontRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php index cab0c32baec..213297c408e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartAxisFormat $body, ?Format $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php index 15e7ce604d7..5ddd58e3087 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php index b002c59ccc7..c02402ac4b9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?LineRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?LineRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + * Update the properties of chartlineformat object. * @param WorkbookChartLineFormat $body The request body * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. * @param LineRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + * Update the properties of chartlineformat object. * @param WorkbookChartLineFormat $body The request body * @param LineRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php index 3a87cf7b407..da40abf8e10 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlineformat object. */ class LineRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php index 8938e962d83..d2a448514d7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php index 9ce4f9b8a99..8893cd8af5e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php index 37aed16c693..42298b563cc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php index fb7affd7258..e03e1221939 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?MajorGridlinesRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?MajorGridlinesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MajorGr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php index 0e585985099..047a4b879d3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartGridlinesFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php index ff7594b9ea7..0d4f5445667 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php index 2831fff6e0c..e21994d3afe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php index acd371dd0ae..39b56101e5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?MinorGridlinesRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?MinorGridlinesRequestBuilderGetRequestConfiguration $reques } /** - * Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + * Update the properties of chartgridlines object. * @param WorkbookChartGridlines $body The request body * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?MinorGridlinesRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. * @param MinorGridlinesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?MinorGridlinesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + * Update the properties of chartgridlines object. * @param WorkbookChartGridlines $body The request body * @param MinorGridlinesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartGridlines $body, ?MinorGr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php index c9bfc85f848..360b20ac7c1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartgridlines object. */ class MinorGridlinesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php index e1fbc6cb230..373ac168837 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php index e86f885a05e..5a3b9b8162b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartAxisTitleFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php index 2a4a4e39c77..76f1efa9545 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Update the properties of chartaxistitle object. This API is available in the following national cloud deployments. + * Update the properties of chartaxistitle object. * @param WorkbookChartAxisTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartaxistitle object. This API is available in the following national cloud deployments. + * Update the properties of chartaxistitle object. * @param WorkbookChartAxisTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartAxisTitle $body, ?TitleRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php index ab2b5996ef0..497dfe100ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxistitle object. */ class TitleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php index 9370570fc50..85f68885b93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?ValueAxisRequestBuilderDeleteRequestConfiguration $reque } /** - * Retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxis object. * @param ValueAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function get(?ValueAxisRequestBuilderGetRequestConfiguration $requestConf } /** - * Update the properties of chartaxis object. This API is available in the following national cloud deployments. + * Update the properties of chartaxis object. * @param WorkbookChartAxis $body The request body * @param ValueAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -124,12 +124,12 @@ public function toDeleteRequestInformation(?ValueAxisRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxis object. * @param ValueAxisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,12 +145,12 @@ public function toGetRequestInformation(?ValueAxisRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartaxis object. This API is available in the following national cloud deployments. + * Update the properties of chartaxis object. * @param WorkbookChartAxis $body The request body * @param ValueAxisRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -164,7 +164,7 @@ public function toPatchRequestInformation(WorkbookChartAxis $body, ?ValueAxisReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php index 6f65f5c5c8b..85407a4bd3c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartaxis object. */ class ValueAxisRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php index 6d99a254e2e..bc441a7dc5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?DataLabelsRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartdatalabels object. * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?DataLabelsRequestBuilderGetRequestConfiguration $requestCon } /** - * Update the properties of chartdatalabels object. This API is available in the following national cloud deployments. + * Update the properties of chartdatalabels object. * @param WorkbookChartDataLabels $body The request body * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?DataLabelsRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartdatalabels object. * @param DataLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?DataLabelsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartdatalabels object. This API is available in the following national cloud deployments. + * Update the properties of chartdatalabels object. * @param WorkbookChartDataLabels $body The request body * @param DataLabelsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartDataLabels $body, ?DataLa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php index ce989b71ae1..d0031f54be6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartdatalabels object. */ class DataLabelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php index 96365c0fd3c..851692e2687 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php index bfbbf125972..d2446080fa8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FillRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php index 23214062b19..b3366bf84d5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBu } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php index 8bbecbba411..d0f2541cd3a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php index fa1b35b3b64..1fc41c4a0d9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartDataLabelFormat $body, ?F $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php index 7e23346f1be..50aec2332d3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php index 8e8651f8ca7..052335173b6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FillRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php index 1e4c1f4062b..7dd72cbe1ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBu } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php index d5d6d93cf59..c2111c6f4eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php index fb266abe1f4..15068dc7f6f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartAreaFormat $body, ?Format $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php index 410d01cae91..192aae28a52 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?ImageRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php index 19260545798..0ef733911da 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?ImageWithWidthRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php index 381e62f357b..8c6276857c5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.php @@ -63,7 +63,7 @@ public function toGetRequestInformation(?ImageWithWidthWithHeightRequestBuilderG $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php index 3da7224a7d4..16e6e0130ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?ImageWithWidthWithHeightWithFittingMode $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php index dfb8e0a5776..23a70fe769d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php index 3b5c5b65ee5..6ddaf326efb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FillRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php index dbb95bb8fc8..25e842d4342 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBu } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php index b5d06ce3789..ab1ec77fe87 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php index f381f7bd4c6..d0a6eb72474 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartLegendFormat $body, ?Form $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php index d2ec2fcb8e1..cafd0241d58 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?LegendRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlegend object. * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?LegendRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the properties of chartlegend object. This API is available in the following national cloud deployments. + * Update the properties of chartlegend object. * @param WorkbookChartLegend $body The request body * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?LegendRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlegend object. * @param LegendRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?LegendRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartlegend object. This API is available in the following national cloud deployments. + * Update the properties of chartlegend object. * @param WorkbookChartLegend $body The request body * @param LegendRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartLegend $body, ?LegendRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php index 1deeefd43d4..62fa19efec6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartlegend object. */ class LegendRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php index f3212565362..aa215833fac 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php index 914bc8510db..0d0e26c53b9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php index 882e56bd0a5..f5630641df3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FillRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php index 2a3ebbe32a9..e4a9467022f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBu } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php index b7b12b4e60a..d9d90ac8e76 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartSeriesFormat $body, ?Form $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php index 9863e6e15c7..317b8eb622b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the line format of a chart element. This API is available in the following national cloud deployments. + * Clear the line format of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php index 4c6940a85ae..c6942b8ff7b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LineRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LineRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartLineFormat $body, ?LineRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php index 207bad563a2..1e7d6999f84 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php index fbb33927383..dc6071f9583 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php index 98e18d049ad..b26c73870f3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FillRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php index 53d349766d1..a14b85e18c4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBu } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php index f321d694918..dd6c0a4289f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WorkbookChartPointFormat $body, ?Forma $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php index bb158512aee..f3d6416847d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?WorkbookChartPointItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartpoint object. * @param WorkbookChartPointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?WorkbookChartPointItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartpoint object. * @param WorkbookChartPointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?WorkbookChartPointItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(WorkbookChartPoint $body, ?WorkbookCha $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php index b279cf28fc7..4d33570e59e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartpoint object. */ class WorkbookChartPointItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index ca1ccf73a68..f1de374bef4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php index 9715a6052c1..47e2bd97fe1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { } /** - * Use this API to create a new ChartPoints. This API is available in the following national cloud deployments. + * Use this API to create a new ChartPoints. * @param WorkbookChartPoint $body The request body * @param PointsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC } /** - * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. * @param PointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?PointsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new ChartPoints. This API is available in the following national cloud deployments. + * Use this API to create a new ChartPoints. * @param WorkbookChartPoint $body The request body * @param PointsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(WorkbookChartPoint $body, ?PointsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php index 08c32e3f96f..8b8410d6e7e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. */ class PointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php index 3777a63fe45..53da69a5e5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?WorkbookChartSeriesItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartseries object. * @param WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?WorkbookChartSeriesItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of chartseries object. This API is available in the following national cloud deployments. + * Update the properties of chartseries object. * @param WorkbookChartSeries $body The request body * @param WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?WorkbookChartSeriesItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartseries object. * @param WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?WorkbookChartSeriesItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chartseries object. This API is available in the following national cloud deployments. + * Update the properties of chartseries object. * @param WorkbookChartSeries $body The request body * @param WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(WorkbookChartSeries $body, ?WorkbookCh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php index e8c1c9fee62..a2f35408b2f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chartseries object. */ class WorkbookChartSeriesItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index 5d2afc89899..4704baa8813 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php index 71e443f9070..21d53614b8f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php @@ -53,11 +53,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartseries objects. * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 Find more info here */ public function get(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -78,7 +78,7 @@ public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { } /** - * Use this API to create a new ChartSeries. This API is available in the following national cloud deployments. + * Use this API to create a new ChartSeries. * @param WorkbookChartSeries $body The request body * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(WorkbookChartSeries $body, ?SeriesRequestBuilderPostRequest } /** - * Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartseries objects. * @param SeriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?SeriesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new ChartSeries. This API is available in the following national cloud deployments. + * Use this API to create a new ChartSeries. * @param WorkbookChartSeries $body The request body * @param SeriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(WorkbookChartSeries $body, ?SeriesReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php index 34340e2496d..6b278a48f40 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartseries objects. */ class SeriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php index adeafdbdf88..dee75c6a6f3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resets the source data for the chart. This API is available in the following national cloud deployments. + * Resets the source data for the chart. * @param SetDataPostRequestBody $body The request body * @param SetDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetDataPostRequestBody $body, ?SetDataRequestBuilderPostReq } /** - * Resets the source data for the chart. This API is available in the following national cloud deployments. + * Resets the source data for the chart. * @param SetDataPostRequestBody $body The request body * @param SetDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetDataPostRequestBody $body, ?SetDataR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php index 01de0a6f598..30391825452 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Positions the chart relative to cells on the worksheet. This API is available in the following national cloud deployments. + * Positions the chart relative to cells on the worksheet. * @param SetPositionPostRequestBody $body The request body * @param SetPositionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetPositionPostRequestBody $body, ?SetPositionRequestBuilde } /** - * Positions the chart relative to cells on the worksheet. This API is available in the following national cloud deployments. + * Positions the chart relative to cells on the worksheet. * @param SetPositionPostRequestBody $body The request body * @param SetPositionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetPositionPostRequestBody $body, ?SetP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php index a62fe62e433..eedb734f615 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the fill color of a chart element. This API is available in the following national cloud deployments. + * Clear the fill color of a chart element. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php index 942bd56538f..81cc74e380f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FillRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FillRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartFill $body, ?FillRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php index 2efea898107..f2508e6d5f9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetSolidColorPostRequestBody $body, ?SetSolidColorRequestBu } /** - * Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + * Sets the fill formatting of a chart element to a uniform color. * @param SetSolidColorPostRequestBody $body The request body * @param SetSolidColorRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetSolidColorPostRequestBody $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php index 554eb75a4d6..35254f430c6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FontRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FontRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(WorkbookChartFont $body, ?FontRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php index 103481f29b4..6ca4cd6b465 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?FormatRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?FormatRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookChartTitleFormat $body, ?Forma $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php index 8a867cdcab6..7b2312c8a08 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?TitleRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of charttitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?TitleRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Update the properties of charttitle object. This API is available in the following national cloud deployments. + * Update the properties of charttitle object. * @param WorkbookChartTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?TitleRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of charttitle object. * @param TitleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?TitleRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of charttitle object. This API is available in the following national cloud deployments. + * Update the properties of charttitle object. * @param WorkbookChartTitle $body The request body * @param TitleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WorkbookChartTitle $body, ?TitleReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php index 344605d321c..1fd4bd2b4ac 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of charttitle object. */ class TitleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php index cefbfdac9f2..6f983a23e22 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.php @@ -114,7 +114,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the chart object. This API is available in the following national cloud deployments. + * Deletes the chart object. * @param WorkbookChartItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -130,7 +130,7 @@ public function delete(?WorkbookChartItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chart object. * @param WorkbookChartItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -176,7 +176,7 @@ public function imageWithWidthWithHeightWithFittingMode(string $fittingMode, int } /** - * Update the properties of chart object. This API is available in the following national cloud deployments. + * Update the properties of chart object. * @param WorkbookChart $body The request body * @param WorkbookChartItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -193,7 +193,7 @@ public function patch(WorkbookChart $body, ?WorkbookChartItemRequestBuilderPatch } /** - * Deletes the chart object. This API is available in the following national cloud deployments. + * Deletes the chart object. * @param WorkbookChartItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -206,12 +206,12 @@ public function toDeleteRequestInformation(?WorkbookChartItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chart object. * @param WorkbookChartItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -227,12 +227,12 @@ public function toGetRequestInformation(?WorkbookChartItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of chart object. This API is available in the following national cloud deployments. + * Update the properties of chart object. * @param WorkbookChart $body The request body * @param WorkbookChartItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -246,7 +246,7 @@ public function toPatchRequestInformation(WorkbookChart $body, ?WorkbookChartIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php index 0760cad3102..6073853cde2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chart object. */ class WorkbookChartItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php index 0c8ce1d5127..24c8ddd46ff 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index b1bba65bdc6..1fb4b496b34 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php index 7eb88d43bb9..dfa5c0df4af 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemWithNameRequestBuilderGetRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php index 11c3775040b..243b9c4bc84 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php index 5bd99cd4766..c1cd12244eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddFormulaLocalPostRequestBody $body The request body * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddFormulaLocalPostRequestBody $body, ?AddFormulaLocalReque } /** - * Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + * Adds a new name to the collection of the given scope using the user's locale for the formula. * @param AddFormulaLocalPostRequestBody $body The request body * @param AddFormulaLocalRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddFormulaLocalPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php index 04d8f5834ed..c78b61001d0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php index 8fd97fd3905..905fc69d1f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?WorkbookNamedItemItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?WorkbookNamedItemItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(WorkbookNamedItem $body, ?WorkbookName $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php index 6577ed77bb9..668f9c618eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php index ecbddb5f14a..8273fc672e1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of named item associated with the worksheet. This API is available in the following national cloud deployments. + * Retrieve a list of named item associated with the worksheet. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function post(WorkbookNamedItem $body, ?NamesRequestBuilderPostRequestCon } /** - * Retrieve a list of named item associated with the worksheet. This API is available in the following national cloud deployments. + * Retrieve a list of named item associated with the worksheet. * @param NamesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?NamesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toPostRequestInformation(WorkbookNamedItem $body, ?NamesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php index 288057f0237..fd0a3b21daf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of named item associated with the worksheet. This API is available in the following national cloud deployments. + * Retrieve a list of named item associated with the worksheet. */ class NamesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php index 384eeed646a..80af21213e3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Refreshes the PivotTable. This API is available in the following national cloud deployments. + * Refreshes the PivotTable. * @param RefreshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RefreshRequestBuilderPostRequestConfiguration $requestConf } /** - * Refreshes the PivotTable. This API is available in the following national cloud deployments. + * Refreshes the PivotTable. * @param RefreshRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RefreshRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php index d2498eb01d1..8144879bd64 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?WorkbookPivotTableItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve the properties and relationships of workbookPivotTable object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookPivotTable object. * @param WorkbookPivotTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?WorkbookPivotTableItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of workbookPivotTable object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookPivotTable object. * @param WorkbookPivotTableItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?WorkbookPivotTableItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(WorkbookPivotTable $body, ?WorkbookPiv $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php index 264b991cb38..dd70d732a0f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of workbookPivotTable object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of workbookPivotTable object. */ class WorkbookPivotTableItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php index 2accc822a3e..31f841ad465 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php index d9779cf7241..860b706e163 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of workbookpivottable objects. This API is available in the following national cloud deployments. + * Retrieve a list of workbookpivottable objects. * @param PivotTablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(WorkbookPivotTable $body, ?PivotTablesRequestBuilderPostReq } /** - * Retrieve a list of workbookpivottable objects. This API is available in the following national cloud deployments. + * Retrieve a list of workbookpivottable objects. * @param PivotTablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?PivotTablesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(WorkbookPivotTable $body, ?PivotTablesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php index 296f018394a..cf1c6813a3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of workbookpivottable objects. This API is available in the following national cloud deployments. + * Retrieve a list of workbookpivottable objects. */ class PivotTablesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php index 39f96231ed5..8daf947b800 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Refreshes the PivotTable within a given worksheet. This API is available in the following national cloud deployments. + * Refreshes the PivotTable within a given worksheet. * @param RefreshAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RefreshAllRequestBuilderPostRequestConfiguration $requestC } /** - * Refreshes the PivotTable within a given worksheet. This API is available in the following national cloud deployments. + * Refreshes the PivotTable within a given worksheet. * @param RefreshAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RefreshAllRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php index 11c76dd5381..b77c522e68e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Protect a worksheet. It throws if the worksheet has been protected. This API is available in the following national cloud deployments. + * Protect a worksheet. It throws if the worksheet has been protected. * @param ProtectPostRequestBody $body The request body * @param ProtectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ProtectPostRequestBody $body, ?ProtectRequestBuilderPostReq } /** - * Protect a worksheet. It throws if the worksheet has been protected. This API is available in the following national cloud deployments. + * Protect a worksheet. It throws if the worksheet has been protected. * @param ProtectPostRequestBody $body The request body * @param ProtectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ProtectPostRequestBody $body, ?ProtectR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php index 17d502a1fcf..53c1b0e34d0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?ProtectionRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the properties and relationships of worksheetprotection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of worksheetprotection object. * @param ProtectionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?ProtectionRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of worksheetprotection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of worksheetprotection object. * @param ProtectionRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ProtectionRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(WorkbookWorksheetProtection $body, ?Pr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php index fd3ef0f296f..1365947fe43 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of worksheetprotection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of worksheetprotection object. */ class ProtectionRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php index 77010f7056c..edce3632edd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unprotect a worksheet This API is available in the following national cloud deployments. + * Unprotect a worksheet * @param UnprotectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnprotectRequestBuilderPostRequestConfiguration $requestCo } /** - * Unprotect a worksheet This API is available in the following national cloud deployments. + * Unprotect a worksheet * @param UnprotectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnprotectRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php index 876b2eb3973..4bde8dcf866 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Range/RangeRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php index 7ae88220c65..567bedf27a5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RangeWithAddressRequestBuilderGetReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php index a2080c7f3c2..98d972d252f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. This API is available in the following national cloud deployments. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php index aa2db14b8fb..137377c8d70 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php index a23da2bfec2..a8ff41361bd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + * Clears all the filters currently applied on the table. * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearFiltersRequestBuilderPostRequestConfiguration $reques } /** - * Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + * Clears all the filters currently applied on the table. * @param ClearFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearFiltersRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php index c3db2c75d4e..35a4189bbfe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a new column to the table. This API is available in the following national cloud deployments. + * Adds a new column to the table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds a new column to the table. This API is available in the following national cloud deployments. + * Adds a new column to the table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php index 397955e89ef..3d3b268df57 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php @@ -61,11 +61,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablecolumn objects. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 Find more info here */ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -86,7 +86,7 @@ public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { } /** - * Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + * Use this API to create a new TableColumn. * @param WorkbookTableColumn $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(WorkbookTableColumn $body, ?ColumnsRequestBuilderPostReques } /** - * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablecolumn objects. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + * Use this API to create a new TableColumn. * @param WorkbookTableColumn $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(WorkbookTableColumn $body, ?ColumnsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 077f712989e..5f4a3382cdd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablecolumn objects. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php index b9e3c853066..45d3690d315 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php index 2698dfa6a5f..a3a2ab8ff11 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the column. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the column. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php index e0ee2ac6d45..ce3b576a3a8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + * Apply the given filter criteria on the given column. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequest } /** - * Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + * Apply the given filter criteria on the given column. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php index 8b17b2172c1..ce5abae9351 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyBottomItemsFilterPostRequestBody $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php index 661695587df..5025bd5b27a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyBottomPercentFilterPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php index 89f98153484..633863b63aa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyCellColorFilterPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php index 7e93b546b39..b2fa29205c0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyCustomFilterPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php index 31eb25ebb3f..4aa36fd43a2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyDynamicFilterPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php index 40f609012ed..36fbdc268e0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyFontColorFilterPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php index 1f5e5bd8054..f0681feea1b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyIconFilterPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php index 9ab7c51aabb..de567990d74 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyTopItemsFilterPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php index 4a5a5eaf0bb..5831380a3b7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyTopPercentFilterPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php index 4b61e69a573..699b836d2eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyValuesFilterPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php index 23055f77b63..d4c3605bbd0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the filter on the given column. This API is available in the following national cloud deployments. + * Clear the filter on the given column. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clear the filter on the given column. This API is available in the following national cloud deployments. + * Clear the filter on the given column. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php index f281c11cfa0..5b6227a7814 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.php @@ -186,7 +186,7 @@ public function toDeleteRequestInformation(?FilterRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -207,7 +207,7 @@ public function toGetRequestInformation(?FilterRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -226,7 +226,7 @@ public function toPatchRequestInformation(WorkbookFilter $body, ?FilterRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php index 6f18307ac03..0dcbbaac7d7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the header row of the column. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $reques } /** - * Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the header row of the column. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php index ec718fc22b8..b723b79b2f3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Range/RangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + * Gets the range object associated with the entire column. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + * Gets the range object associated with the entire column. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php index bd27b5db1d6..b3bdaf5d29b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the totals row of the column. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + * Gets the range object associated with the totals row of the column. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php index 3a58b3b6219..d8c42a7e3f1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the column from the table. This API is available in the following national cloud deployments. + * Deletes the column from the table. * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?WorkbookTableColumnItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablecolumn object. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function get(?WorkbookTableColumnItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + * Update the properties of tablecolumn object. * @param WorkbookTableColumn $body The request body * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function patch(WorkbookTableColumn $body, ?WorkbookTableColumnItemRequest } /** - * Deletes the column from the table. This API is available in the following national cloud deployments. + * Deletes the column from the table. * @param WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?WorkbookTableColumnItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablecolumn object. * @param WorkbookTableColumnItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,12 +154,12 @@ public function toGetRequestInformation(?WorkbookTableColumnItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + * Update the properties of tablecolumn object. * @param WorkbookTableColumn $body The request body * @param WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(WorkbookTableColumn $body, ?WorkbookTa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php index d7bc24262dc..797bbd02ac9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablecolumn object. */ class WorkbookTableColumnItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index cc4a813d2f0..2be83b46e15 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php index 2ac3010fb7f..81d4b313af4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + * Converts the table into a normal range of cells. All data is preserved. * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ConvertToRangeRequestBuilderPostRequestConfiguration $requ } /** - * Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + * Converts the table into a normal range of cells. All data is preserved. * @param ConvertToRangeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ConvertToRangeRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php index ebc2c512d76..e13cff6f855 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the table. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?DataBodyRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with the data body of the table. * @param DataBodyRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?DataBodyRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php index 8eddea39f88..55170b452ad 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with header row of the table. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?HeaderRowRangeRequestBuilderGetRequestConfiguration $reques } /** - * Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with header row of the table. * @param HeaderRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?HeaderRowRangeRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php index 5c884a43a7e..82c75bf12ce 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Range/RangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the range object associated with the entire table. This API is available in the following national cloud deployments. + * Get the range object associated with the entire table. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the range object associated with the entire table. This API is available in the following national cloud deployments. + * Get the range object associated with the entire table. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php index ad256dcf723..d00be392f5b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + * Reapplies all the filters currently on the table. * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReapplyFiltersRequestBuilderPostRequestConfiguration $requ } /** - * Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + * Reapplies all the filters currently on the table. * @param ReapplyFiltersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReapplyFiltersRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php index e246ed5ab5c..79da1cf02e0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + * Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php index 92e1285cf37..eee2cf25f2a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?CountRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php index a2af871602f..cbcc746cf7c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/Range/RangeRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?RangeRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php index 05ec6874004..578ad817571 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the row from the table. This API is available in the following national cloud deployments. + * Deletes the row from the table. * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?WorkbookTableRowItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablerow object. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?WorkbookTableRowItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of tablerow object. This API is available in the following national cloud deployments. + * Update the properties of tablerow object. * @param WorkbookTableRow $body The request body * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(WorkbookTableRow $body, ?WorkbookTableRowItemRequestBuilde } /** - * Deletes the row from the table. This API is available in the following national cloud deployments. + * Deletes the row from the table. * @param WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?WorkbookTableRowItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablerow object. * @param WorkbookTableRowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?WorkbookTableRowItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of tablerow object. This API is available in the following national cloud deployments. + * Update the properties of tablerow object. * @param WorkbookTableRow $body The request body * @param WorkbookTableRowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(WorkbookTableRow $body, ?WorkbookTable $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php index f2dcb899616..9d2a2c7558a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablerow object. */ class WorkbookTableRowItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index 432b78abe15..ce6a875ad80 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php index 52c5aa054c4..040b5abde5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php @@ -61,11 +61,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -86,7 +86,7 @@ public function itemAtWithIndex(int $index): ItemAtWithIndexRequestBuilder { } /** - * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. * @param WorkbookTableRow $body The request body * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(WorkbookTableRow $body, ?RowsRequestBuilderPostRequestConfi } /** - * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablerow objects. * @param RowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?RowsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + * Adds rows to the end of a table. Note that this API can accept multiple rows of data. Adding one row at a time can affect performance. The recommended approach is to batch the rows together in a single call rather than inserting single rows. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. * @param WorkbookTableRow $body The request body * @param RowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(WorkbookTableRow $body, ?RowsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php index cdf927f2036..2f136cbcbf1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + * Retrieve a list of tablerow objects. */ class RowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php index f4752fe3782..42040a6447e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Perform a sort operation. This API is available in the following national cloud deployments. + * Perform a sort operation. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ApplyPostRequestBody $body, ?ApplyRequestBuilderPostRequest } /** - * Perform a sort operation. This API is available in the following national cloud deployments. + * Perform a sort operation. * @param ApplyPostRequestBody $body The request body * @param ApplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ApplyPostRequestBody $body, ?ApplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php index b476885d9bb..41d7c0adb5e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearRequestBuilderPostRequestConfiguration $requestConfig } /** - * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + * Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. * @param ClearRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php index acab8322dd7..7ca0b7f614b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + * Reapplies the current sorting parameters to the table. * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReapplyRequestBuilderPostRequestConfiguration $requestConf } /** - * Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + * Reapplies the current sorting parameters to the table. * @param ReapplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReapplyRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php index 6813d00a7ba..cd67c26e3ed 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?SortRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablesort object. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?SortRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablesort object. * @param SortRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?SortRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(WorkbookTableSort $body, ?SortRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php index 3f738e1136b..c38d4dc5686 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of tablesort object. */ class SortRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php index 6ce419d623c..95807b7bbca 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with totals row of the table. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?TotalRowRangeRequestBuilderGetRequestConfiguration $request } /** - * Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + * Gets the range object associated with totals row of the table. * @param TotalRowRangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toGetRequestInformation(?TotalRowRangeRequestBuilderGetRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php index 39c433eb3bd..9eed510da16 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.php @@ -178,7 +178,7 @@ public function toDeleteRequestInformation(?WorkbookTableItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -199,7 +199,7 @@ public function toGetRequestInformation(?WorkbookTableItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -218,7 +218,7 @@ public function toPatchRequestInformation(WorkbookTable $body, ?WorkbookTableIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php index c7d4786c913..c3fddddb2ed 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WorksheetRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php index b9863841497..55ae2c3a17f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ItemAtWithIndexRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php index 1873fd75721..128b51f9bfe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of table objects. This API is available in the following national cloud deployments. + * Retrieve a list of table objects. * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -102,7 +102,7 @@ public function post(WorkbookTable $body, ?TablesRequestBuilderPostRequestConfig } /** - * Retrieve a list of table objects. This API is available in the following national cloud deployments. + * Retrieve a list of table objects. * @param TablesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -118,7 +118,7 @@ public function toGetRequestInformation(?TablesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -137,7 +137,7 @@ public function toPostRequestInformation(WorkbookTable $body, ?TablesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php index 412e3b44315..fcdd70f6871 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of table objects. This API is available in the following national cloud deployments. + * Retrieve a list of table objects. */ class TablesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php index c967ed425f4..71b8255471e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?UsedRangeRequestBuilderGetRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php index 6d7364af123..4228e6267e1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?UsedRangeWithValuesOnlyRequestBuilderGe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php index 427b9a05333..69bd8a6751e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.php @@ -100,7 +100,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes the worksheet from the workbook. This API is available in the following national cloud deployments. + * Deletes the worksheet from the workbook. * @param WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function delete(?WorkbookWorksheetItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of worksheet object. * @param WorkbookWorksheetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -132,7 +132,7 @@ public function get(?WorkbookWorksheetItemRequestBuilderGetRequestConfiguration } /** - * Update the properties of worksheet object. This API is available in the following national cloud deployments. + * Update the properties of worksheet object. * @param WorkbookWorksheet $body The request body * @param WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -158,7 +158,7 @@ public function rangeWithAddress(string $address): RangeWithAddressRequestBuilde } /** - * Deletes the worksheet from the workbook. This API is available in the following national cloud deployments. + * Deletes the worksheet from the workbook. * @param WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -171,12 +171,12 @@ public function toDeleteRequestInformation(?WorkbookWorksheetItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of worksheet object. * @param WorkbookWorksheetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -192,12 +192,12 @@ public function toGetRequestInformation(?WorkbookWorksheetItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of worksheet object. This API is available in the following national cloud deployments. + * Update the properties of worksheet object. * @param WorkbookWorksheet $body The request body * @param WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -211,7 +211,7 @@ public function toPatchRequestInformation(WorkbookWorksheet $body, ?WorkbookWork $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php index b623d04ecf5..bda2f6c7cbf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of worksheet object. */ class WorkbookWorksheetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php index b76a90cda40..e403402319b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. + * Retrieve a list of worksheet objects. * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(WorkbookWorksheet $body, ?WorksheetsRequestBuilderPostReque } /** - * Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. + * Retrieve a list of worksheet objects. * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?WorksheetsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(WorkbookWorksheet $body, ?WorksheetsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php index d09427c3494..440ca03ed72 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. + * Retrieve a list of worksheet objects. */ class WorksheetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/ItemsRequestBuilder.php b/src/Generated/Drives/Item/Items/ItemsRequestBuilder.php index 4064e9559e4..1182c2f0bfa 100644 --- a/src/Generated/Drives/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/ItemsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DriveItem $body, ?ItemsRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index ca8941568be..6d277f6309d 100644 --- a/src/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 250ae4c8283..c754d48a860 100644 --- a/src/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 252e1538a1f..d3ffaaf2c62 100644 --- a/src/Generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Drives/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Recent/RecentRequestBuilder.php b/src/Generated/Drives/Item/Recent/RecentRequestBuilder.php index 4e67bc03ab7..e83959a2325 100644 --- a/src/Generated/Drives/Item/Recent/RecentRequestBuilder.php +++ b/src/Generated/Drives/Item/Recent/RecentRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?RecentRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Root/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Root/Content/ContentRequestBuilder.php index 5a56a4dcb9b..39d81e8cbc7 100644 --- a/src/Generated/Drives/Item/Root/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Root/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Root/RootRequestBuilder.php b/src/Generated/Drives/Item/Root/RootRequestBuilder.php index 6dd96d9dc73..56dfb74a8f9 100644 --- a/src/Generated/Drives/Item/Root/RootRequestBuilder.php +++ b/src/Generated/Drives/Item/Root/RootRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. This API is available in the following national cloud deployments. + * Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. * @param RootRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?RootRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. This API is available in the following national cloud deployments. + * Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. * @param RootRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?RootRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Root/RootRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Root/RootRequestBuilderGetQueryParameters.php index 40e61cf66d5..beb9a0f131e 100644 --- a/src/Generated/Drives/Item/Root/RootRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Root/RootRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. This API is available in the following national cloud deployments. + * Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. */ class RootRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.php b/src/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.php index c5a1b763198..47732486a33 100644 --- a/src/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.php +++ b/src/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?SearchWithQRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.php b/src/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.php index b39ce83d2e9..7428a466d1d 100644 --- a/src/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.php +++ b/src/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?SharedWithMeRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.php b/src/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.php index bb4050e67bd..59b6377ab50 100644 --- a/src/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.php b/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.php index 3a3e1485707..1b0fa127f40 100644 --- a/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?DriveItemItemRequestBuilderGetRequestConfiguration $request } /** - * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. * @param DriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php index e5c800ba80d..fc2a4134118 100644 --- a/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. */ class DriveItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php b/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php index 1c78ef552d7..dbe455df9d3 100644 --- a/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php +++ b/src/Generated/Drives/Item/Special/SpecialRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. * @param SpecialRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -66,7 +66,7 @@ public function get(?SpecialRequestBuilderGetRequestConfiguration $requestConfig } /** - * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. * @param SpecialRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -82,7 +82,7 @@ public function toGetRequestInformation(?SpecialRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Drives/Item/Special/SpecialRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Special/SpecialRequestBuilderGetQueryParameters.php index 2ccf162041e..7858aee5889 100644 --- a/src/Generated/Drives/Item/Special/SpecialRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Special/SpecialRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + * Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. */ class SpecialRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Classes/ClassesRequestBuilder.php index affeaf3a4d9..f713b094b8c 100644 --- a/src/Generated/Education/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Classes/ClassesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the educationClass objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationClass objects and their properties. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ClassesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new educationClass object. This API is available in the following national cloud deployments. + * Create a new educationClass object. * @param EducationClass $body The request body * @param ClassesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(EducationClass $body, ?ClassesRequestBuilderPostRequestConf } /** - * Get a list of the educationClass objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationClass objects and their properties. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ClassesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new educationClass object. This API is available in the following national cloud deployments. + * Create a new educationClass object. * @param EducationClass $body The request body * @param ClassesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(EducationClass $body, ?ClassesRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/ClassesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/ClassesRequestBuilderGetQueryParameters.php index 18750b21615..11d365b812e 100644 --- a/src/Generated/Education/Classes/ClassesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/ClassesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the educationClass objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationClass objects and their properties. */ class ClassesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Classes/Delta/DeltaRequestBuilder.php index 67afd130d7a..fbd6b916c2a 100644 --- a/src/Generated/Education/Classes/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Classes/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.php index 78bf5ed2ee7..0c23eb34cf2 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of educationCategory objects. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Retrieve a list of educationCategory objects. Only teachers can perform this operation. * @param AssignmentCategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?AssignmentCategoriesRequestBuilderGetRequestConfiguration $ } /** - * Create a new educationCategory on an educationClass. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Create a new educationCategory on an educationClass. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param AssignmentCategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(EducationCategory $body, ?AssignmentCategoriesRequestBuilde } /** - * Retrieve a list of educationCategory objects. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Retrieve a list of educationCategory objects. Only teachers can perform this operation. * @param AssignmentCategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AssignmentCategoriesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new educationCategory on an educationClass. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Create a new educationCategory on an educationClass. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param AssignmentCategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(EducationCategory $body, ?AssignmentCat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilderGetQueryParameters.php index 1a5e238391c..2d98ef488b4 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of educationCategory objects. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Retrieve a list of educationCategory objects. Only teachers can perform this operation. */ class AssignmentCategoriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.php index 99e7818e83e..676de691522 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.php index 41ab6c0fb4a..d84626043d7 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an existing category. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Delete an existing category. Only teachers can perform this operation. * @param EducationCategoryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationCategoryItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationCategoryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationCategory $body, ?EducationCategoryItemRequestBuil } /** - * Delete an existing category. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Delete an existing category. Only teachers can perform this operation. * @param EducationCategoryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationCategoryItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationCategoryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationCategoryItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationCategory $body, ?EducationCat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilderGetQueryParameters.php index add1c2e71ce..16e8d0309b5 100644 --- a/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. */ class EducationCategoryItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php index 833e4eb980b..a7ad9b303a0 100644 --- a/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignmentDefaultsRequestBuilderDeleteRequestConfigurati } /** - * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. * @param AssignmentDefaultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AssignmentDefaultsRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. This API is available in the following national cloud deployments. + * Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. * @param EducationAssignmentDefaults $body The request body * @param AssignmentDefaultsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignmentDefaultsRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. * @param AssignmentDefaultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?AssignmentDefaultsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. This API is available in the following national cloud deployments. + * Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. * @param EducationAssignmentDefaults $body The request body * @param AssignmentDefaultsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationAssignmentDefaults $body, ?As $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilderGetQueryParameters.php index c00d2e6abc3..0a489c5ad3d 100644 --- a/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. */ class AssignmentDefaultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php index 1b1ed81b61b..86de42af1c4 100644 --- a/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?AssignmentSettingsRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. This API is available in the following national cloud deployments. + * Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. * @param EducationAssignmentSettings $body The request body * @param AssignmentSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?AssignmentSettingsRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,12 +112,12 @@ public function toGetRequestInformation(?AssignmentSettingsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. This API is available in the following national cloud deployments. + * Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. * @param EducationAssignmentSettings $body The request body * @param AssignmentSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -131,7 +131,7 @@ public function toPatchRequestInformation(EducationAssignmentSettings $body, ?As $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.php index fb0b4bf523d..5fb26542694 100644 --- a/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. This API is available in the following national cloud deployments. + * Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. This API is available in the following national cloud deployments. + * Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. * @param EducationAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(EducationAssignment $body, ?AssignmentsRequestBuilderPostRe } /** - * Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. This API is available in the following national cloud deployments. + * Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. This API is available in the following national cloud deployments. + * Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. * @param EducationAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(EducationAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index a2d908614de..9e8d8661cea 100644 --- a/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. This API is available in the following national cloud deployments. + * Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.php index c23bc6b722c..2f159f2fecc 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php index e5d177632c1..fe0062ab03a 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function get(?CategoriesRequestBuilderGetRequestConfiguration $requestCon } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,7 +101,7 @@ public function post(EducationCategory $body, ?CategoriesRequestBuilderPostReque } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPostRequestInformation(EducationCategory $body, ?CategoriesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php index 98a30a26fce..c90c3479d4f 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php index a0ebbee6b81..eb49bc7d209 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php index 6a5dc441cb2..d7cfa20ccab 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 8ed034f4d86..d4495cbfbdb 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php index 84452492ca9..24eaaec3dbe 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php index 029972786c4..f7bf8f0815b 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php index a8892f65d95..537a900a653 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php @@ -87,7 +87,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an existing assignment. Only teachers within a class can delete assignments. This API is available in the following national cloud deployments. + * Delete an existing assignment. Only teachers within a class can delete assignments. * @param EducationAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function delete(?EducationAssignmentItemRequestBuilderDeleteRequestConfig } /** - * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. This API is available in the following national cloud deployments. + * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. * @param EducationAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function get(?EducationAssignmentItemRequestBuilderGetRequestConfiguratio } /** - * Update an educationAssignment object. Only teachers can perform this action. Alternatively, request to change the status of an assignment with publish action. Don't use a PATCH operation for this purpose. This API is available in the following national cloud deployments. + * Update an educationAssignment object. Only teachers can perform this action. Alternatively, request to change the status of an assignment with publish action. Don't use a PATCH operation for this purpose. * @param EducationAssignment $body The request body * @param EducationAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -136,7 +136,7 @@ public function patch(EducationAssignment $body, ?EducationAssignmentItemRequest } /** - * Delete an existing assignment. Only teachers within a class can delete assignments. This API is available in the following national cloud deployments. + * Delete an existing assignment. Only teachers within a class can delete assignments. * @param EducationAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -149,12 +149,12 @@ public function toDeleteRequestInformation(?EducationAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. This API is available in the following national cloud deployments. + * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. * @param EducationAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,12 +170,12 @@ public function toGetRequestInformation(?EducationAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an educationAssignment object. Only teachers can perform this action. Alternatively, request to change the status of an assignment with publish action. Don't use a PATCH operation for this purpose. This API is available in the following national cloud deployments. + * Update an educationAssignment object. Only teachers can perform this action. Alternatively, request to change the status of an assignment with publish action. Don't use a PATCH operation for this purpose. * @param EducationAssignment $body The request body * @param EducationAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -189,7 +189,7 @@ public function toPatchRequestInformation(EducationAssignment $body, ?EducationA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilderGetQueryParameters.php index 908f05565b3..aa39beea153 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. This API is available in the following national cloud deployments. + * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. */ class EducationAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php index cb3ea8f801c..02ad4005e52 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php index f60da8ba56b..1b4ac0eb2fb 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. This API is available in the following national cloud deployments. + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationAssignmentResourceItemRequestBuilderDeleteReque } /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationAssignmentResource $body, ?EducationAssignmentRes } /** - * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. This API is available in the following national cloud deployments. + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationAssignmentResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationAssignmentResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationAssignmentResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php index 73a279fd643..c192daed2c1 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php index 25cdea28ba0..75b04a527f5 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationAssignmentResource $body, ?ResourcesRequestBuilder } /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationAssignmentResource $body, ?Res $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 6c9cc536839..178922726ff 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index a45c7e61073..90a7e143cb2 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -65,7 +65,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -82,7 +82,7 @@ public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfigura } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,12 +95,12 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php index dd062c5b300..a36bdf14e40 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?RubricRequestBuilderDeleteRequestConfiguration $requestC } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?RubricRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(EducationRubric $body, ?RubricRequestBuilderPatchRequestCo } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?RubricRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(EducationRubric $body, ?RubricRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php index 77474d8ec94..c88499c973c 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. */ class RubricRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php index 7543fbeb187..85e2fa93e94 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. * @param SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfi } /** - * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. * @param SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpFeedbackResourcesFolderRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index 17b5a871fb9..b3f7a534438 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpResourcesFolderRequestBuilderPostRequestConfiguration } /** - * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpResourcesFolderRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php index 0358a1a8716..289e5d47103 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php @@ -110,7 +110,7 @@ public function delete(?EducationSubmissionItemRequestBuilderDeleteRequestConfig } /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,12 +155,12 @@ public function toDeleteRequestInformation(?EducationSubmissionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -176,7 +176,7 @@ public function toGetRequestInformation(?EducationSubmissionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -195,7 +195,7 @@ public function toPatchRequestInformation(EducationSubmission $body, ?EducationS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php index 861ee0d389a..cbc0ebaf42c 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. */ class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php index 7c91f0e3309..107110e9e21 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. * @param ReturnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReturnRequestBuilderPostRequestConfiguration $requestConfi } /** - * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. * @param ReturnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReturnRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php index 5ae8710691c..0e3a7b50067 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?EducationOutcomeItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -79,7 +79,7 @@ public function patch(EducationOutcome $body, ?EducationOutcomeItemRequestBuilde } /** - * Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?EducationOutcomeItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,12 +113,12 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationOutcome $body, ?EducationOutc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php index c8379d40373..e25984c5b2b 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OutcomesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationOutcome $body, ?OutcomesRequestBuilderPostRequestC } /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationOutcome $body, ?OutcomesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php index f8a0be38a81..aabf9a62073 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. */ class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php index 503353f0dff..5cf7721fc40 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. * @param ReassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReassignRequestBuilderPostRequestConfiguration $requestCon } /** - * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. * @param ReassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReassignRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php index c30c2be125e..5623a771231 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationSubmissionResource $body, ?EducationSubmissionRes } /** - * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationSubmissionResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationSubmissionResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index f2d85158eef..4ff3fe450ad 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index c68ca0e0c71..8daaf5ce019 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationSubmissionResource $body, ?ResourcesRequestBuilder } /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationSubmissionResource $body, ?Res $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 27efc3f8113..14fd8e3e099 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index 7a4e31a3a50..553c9bc3c96 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpResourcesFolderRequestBuilderPostRequestConfiguration } /** - * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpResourcesFolderRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php index c544ce7120c..facec424d7e 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. * @param SubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SubmitRequestBuilderPostRequestConfiguration $requestConfi } /** - * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. * @param SubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SubmitRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php index ba665453dfe..237aebfa453 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?EducationSubmissionResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(EducationSubmissionResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index 2790fc3ee66..d35106b4737 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index 83f36c25e1b..83b39fc4bd9 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(EducationSubmissionResource $body, ?SubmittedResourcesReque } /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SubmittedResourcesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EducationSubmissionResource $body, ?Sub $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php index 667c71ab2c7..f2985759778 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. */ class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php index ed6f81ef4c4..08bf587fed8 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. * @param UnsubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?UnsubmitRequestBuilderPostRequestConfiguration $requestCon } /** - * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. * @param UnsubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?UnsubmitRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php index 0bedfb37397..100f187c46b 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(EducationSubmission $body, ?SubmissionsRequestBuilderPostRe } /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SubmissionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EducationSubmission $body, ?Submissions $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php index 5d9117d1196..6a9cc114134 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. */ class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php b/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php index 433995a6e93..334ba3f8fb7 100644 --- a/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.php @@ -95,7 +95,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. This API is available in the following national cloud deployments. + * Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. * @param EducationClassItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -111,7 +111,7 @@ public function delete(?EducationClassItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. This API is available in the following national cloud deployments. + * Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. * @param EducationClassItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function get(?EducationClassItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of an educationClass object. This API is available in the following national cloud deployments. + * Update the properties of an educationClass object. * @param EducationClass $body The request body * @param EducationClassItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -144,7 +144,7 @@ public function patch(EducationClass $body, ?EducationClassItemRequestBuilderPat } /** - * Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. This API is available in the following national cloud deployments. + * Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. * @param EducationClassItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -157,12 +157,12 @@ public function toDeleteRequestInformation(?EducationClassItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. This API is available in the following national cloud deployments. + * Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. * @param EducationClassItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -178,12 +178,12 @@ public function toGetRequestInformation(?EducationClassItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationClass object. This API is available in the following national cloud deployments. + * Update the properties of an educationClass object. * @param EducationClass $body The request body * @param EducationClassItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -197,7 +197,7 @@ public function toPatchRequestInformation(EducationClass $body, ?EducationClassI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilderGetQueryParameters.php index 95c9a30c05c..9f03b84240b 100644 --- a/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/EducationClassItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. This API is available in the following national cloud deployments. + * Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. */ class EducationClassItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Group/GroupRequestBuilder.php b/src/Generated/Education/Classes/Item/Group/GroupRequestBuilder.php index 57e3fc16a92..e0492b7d7ad 100644 --- a/src/Generated/Education/Classes/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 269e41fb5dc..017bf1527e5 100644 --- a/src/Generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.php index 5e9b346df42..4a851b7f85f 100644 --- a/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationUser from an educationClass. This API is available in the following national cloud deployments. + * Remove an educationUser from an educationClass. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an educationUser from an educationClass. This API is available in the following national cloud deployments. + * Remove an educationUser from an educationClass. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index c48aabf0cff..8b0a78db3af 100644 --- a/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an educationUser from an educationClass. This API is available in the following national cloud deployments. + * Remove an educationUser from an educationClass. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php index 4cb72f32142..4ba2077d9d6 100644 --- a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieves the educationUser members of an educationClass. This API is available in the following national cloud deployments. + * Retrieves the educationUser members of an educationClass. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Retrieves the educationUser members of an educationClass. This API is available in the following national cloud deployments. + * Retrieves the educationUser members of an educationClass. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilderGetQueryParameters.php index be40dcc7805..4dde4477520 100644 --- a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieves the educationUser members of an educationClass. This API is available in the following national cloud deployments. + * Retrieves the educationUser members of an educationClass. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.php index 5a24cbf804d..2f063b6031c 100644 --- a/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieves the educationUser members of an educationClass. This API is available in the following national cloud deployments. + * Retrieves the educationUser members of an educationClass. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add an educationUser member to an educationClass. This API is available in the following national cloud deployments. + * Add an educationUser member to an educationClass. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieves the educationUser members of an educationClass. This API is available in the following national cloud deployments. + * Retrieves the educationUser members of an educationClass. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an educationUser member to an educationClass. This API is available in the following national cloud deployments. + * Add an educationUser member to an educationClass. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilderGetQueryParameters.php index c9e6a50a2ca..d43edf1d17e 100644 --- a/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieves the educationUser members of an educationClass. This API is available in the following national cloud deployments. + * Retrieves the educationUser members of an educationClass. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.php index e8485a1076f..e1935b1542d 100644 --- a/src/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationSchoolItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.php b/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.php index 6a64e1f3616..20dd8edae62 100644 --- a/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of schools in which the class is taught. This API is available in the following national cloud deployments. + * Retrieve a list of schools in which the class is taught. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SchoolsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Retrieve a list of schools in which the class is taught. This API is available in the following national cloud deployments. + * Retrieve a list of schools in which the class is taught. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SchoolsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php index a4087f43c4b..c0ba54b1bab 100644 --- a/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of schools in which the class is taught. This API is available in the following national cloud deployments. + * Retrieve a list of schools in which the class is taught. */ class SchoolsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.php index 9c484f768a3..6a50f97fab8 100644 --- a/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a teacher from an educationClass. This API is available in the following national cloud deployments. + * Remove a teacher from an educationClass. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a teacher from an educationClass. This API is available in the following national cloud deployments. + * Remove a teacher from an educationClass. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 2af37100289..1abe7e702e2 100644 --- a/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a teacher from an educationClass. This API is available in the following national cloud deployments. + * Remove a teacher from an educationClass. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php index 6c8fac86f79..86e382b5602 100644 --- a/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a teacher to a class. This API is available in the following national cloud deployments. + * Add a teacher to a class. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a teacher to a class. This API is available in the following national cloud deployments. + * Add a teacher to a class. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilderGetQueryParameters.php index ec7adf92be6..18e110145d3 100644 --- a/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php index cfdce5c396c..aa1fe4b8ae6 100644 --- a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. * @param TeachersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?TeachersRequestBuilderGetRequestConfiguration $requestConfi } /** - * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. * @param TeachersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?TeachersRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilderGetQueryParameters.php index 121e8fb89a1..008eb29d64e 100644 --- a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + * Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. */ class TeachersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/EducationRequestBuilder.php b/src/Generated/Education/EducationRequestBuilder.php index bf3683b405e..d6f557ebbee 100644 --- a/src/Generated/Education/EducationRequestBuilder.php +++ b/src/Generated/Education/EducationRequestBuilder.php @@ -110,7 +110,7 @@ public function toGetRequestInformation(?EducationRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPatchRequestInformation(EducationRoot $body, ?EducationRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.php b/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.php index 5dc9124cd1f..0154c90a2d5 100644 --- a/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. This API is available in the following national cloud deployments. + * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(EducationAssignment $body, ?AssignmentsRequestBuilderPostRe } /** - * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. This API is available in the following national cloud deployments. + * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(EducationAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index b32f959b00f..e511e2a5e3c 100644 --- a/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. This API is available in the following national cloud deployments. + * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.php index c7bd9886a36..e7a3b8ac561 100644 --- a/src/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php index 43a5dfb4692..1c9c1e1332b 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function get(?CategoriesRequestBuilderGetRequestConfiguration $requestCon } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,7 +101,7 @@ public function post(EducationCategory $body, ?CategoriesRequestBuilderPostReque } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPostRequestInformation(EducationCategory $body, ?CategoriesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php index 6b62aed9043..931acd05fe1 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php index 65e064623a7..b2ff35e6f78 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php index a73b388a584..c1c1b828fcc 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 9ef719d62df..ca54c116ba3 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.php index 00a16186e45..13f3de0c517 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php index e6dd04bdd5a..caf7671df64 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.php index 17efd4b7baf..6b296bf5b7b 100644 --- a/src/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.php @@ -146,7 +146,7 @@ public function toDeleteRequestInformation(?EducationAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -167,7 +167,7 @@ public function toGetRequestInformation(?EducationAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -186,7 +186,7 @@ public function toPatchRequestInformation(EducationAssignment $body, ?EducationA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.php index 02f7aeaa6c9..84040ab30db 100644 --- a/src/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php index 6e24adfda50..d06d45daa09 100644 --- a/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. This API is available in the following national cloud deployments. + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationAssignmentResourceItemRequestBuilderDeleteReque } /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationAssignmentResource $body, ?EducationAssignmentRes } /** - * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. This API is available in the following national cloud deployments. + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationAssignmentResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationAssignmentResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationAssignmentResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php index fe6ec051027..1f6ef686f51 100644 --- a/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php index f02fd30fe7f..9b534b19b33 100644 --- a/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationAssignmentResource $body, ?ResourcesRequestBuilder } /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationAssignmentResource $body, ?Res $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 3aade515236..2f16cea3487 100644 --- a/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index df6136d0991..0f5e4281654 100644 --- a/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -65,7 +65,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -82,7 +82,7 @@ public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfigura } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,12 +95,12 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.php index 131d618684d..2d7aa5f9188 100644 --- a/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?RubricRequestBuilderDeleteRequestConfiguration $requestC } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?RubricRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(EducationRubric $body, ?RubricRequestBuilderPatchRequestCo } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?RubricRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(EducationRubric $body, ?RubricRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php index 36cb24631f1..4d4a2e8e001 100644 --- a/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. */ class RubricRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php index 10aad9d05f5..6824e4ed7c5 100644 --- a/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. * @param SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfi } /** - * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. * @param SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpFeedbackResourcesFolderRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index d1960b4ecef..36172b0010b 100644 --- a/src/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpResourcesFolderRequestBuilderPostRequestConfiguration } /** - * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpResourcesFolderRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php index 95d142fb5df..0c5474a8c26 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php @@ -110,7 +110,7 @@ public function delete(?EducationSubmissionItemRequestBuilderDeleteRequestConfig } /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,12 +155,12 @@ public function toDeleteRequestInformation(?EducationSubmissionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -176,7 +176,7 @@ public function toGetRequestInformation(?EducationSubmissionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -195,7 +195,7 @@ public function toPatchRequestInformation(EducationSubmission $body, ?EducationS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php index 75cc88a722b..75748d0fa30 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. */ class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php index 3ef3a90893d..d8c06935a75 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. * @param ReturnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReturnRequestBuilderPostRequestConfiguration $requestConfi } /** - * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. * @param ReturnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReturnRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php index 6ce43a92cd0..f053aca18f0 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?EducationOutcomeItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -79,7 +79,7 @@ public function patch(EducationOutcome $body, ?EducationOutcomeItemRequestBuilde } /** - * Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?EducationOutcomeItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,12 +113,12 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationOutcome $body, ?EducationOutc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php index 51334fdec5d..1d865746d7a 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OutcomesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationOutcome $body, ?OutcomesRequestBuilderPostRequestC } /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationOutcome $body, ?OutcomesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php index 84d700cc2a4..dc4357535b2 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. */ class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php index 34f2b1923a7..7c281c60118 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. * @param ReassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReassignRequestBuilderPostRequestConfiguration $requestCon } /** - * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. * @param ReassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReassignRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php index d9b3b46b678..e9aadd02504 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationSubmissionResource $body, ?EducationSubmissionRes } /** - * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationSubmissionResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationSubmissionResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index eca41c40426..41d75736d3b 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index 748fe9043fb..6ea9114c91c 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationSubmissionResource $body, ?ResourcesRequestBuilder } /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationSubmissionResource $body, ?Res $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 36a98a7d714..83419290fb7 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index 8245913974b..9da99f835f1 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpResourcesFolderRequestBuilderPostRequestConfiguration } /** - * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpResourcesFolderRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php index 3c32aff3906..4f87145bcdc 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. * @param SubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SubmitRequestBuilderPostRequestConfiguration $requestConfi } /** - * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. * @param SubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SubmitRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php index 4a5cb783cae..4ec96bf9d57 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?EducationSubmissionResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(EducationSubmissionResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index 6b3f935396e..af4a647fb11 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index 39b365edeb3..23584bc035c 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(EducationSubmissionResource $body, ?SubmittedResourcesReque } /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SubmittedResourcesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EducationSubmissionResource $body, ?Sub $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php index d109173b9ce..b70fb6762f9 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. */ class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php index 555542016f4..094f60688de 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. * @param UnsubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?UnsubmitRequestBuilderPostRequestConfiguration $requestCon } /** - * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. * @param UnsubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?UnsubmitRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.php index 71050cb70d9..5c3302bbbf7 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(EducationSubmission $body, ?SubmissionsRequestBuilderPostRe } /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SubmissionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EducationSubmission $body, ?Submissions $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php index ee79c7e0dcd..0e1e848d5f4 100644 --- a/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. */ class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php index 5f4a3599353..bd01c568c21 100644 --- a/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Me/Classes/ClassesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + * Get the educationClass resources an educationUser is a member of. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ClassesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + * Get the educationClass resources an educationUser is a member of. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ClassesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Classes/ClassesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Classes/ClassesRequestBuilderGetQueryParameters.php index 30b520a8947..00193b0462f 100644 --- a/src/Generated/Education/Me/Classes/ClassesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Classes/ClassesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + * Get the educationClass resources an educationUser is a member of. */ class ClassesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.php b/src/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.php index 8de30b71b45..8cd83012be0 100644 --- a/src/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.php +++ b/src/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationClassItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/MeRequestBuilder.php b/src/Generated/Education/Me/MeRequestBuilder.php index 1fecabae6c7..c8f9b5e0e21 100644 --- a/src/Generated/Education/Me/MeRequestBuilder.php +++ b/src/Generated/Education/Me/MeRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?MeRequestBuilderDeleteRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?MeRequestBuilderGetRequestConfiguration } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(EducationUser $body, ?MeRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php index f3ccbf2d0cc..b303aa1b306 100644 --- a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php +++ b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Delete an educationRubric object. Only teachers can perform this operation. * @param EducationRubricItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationRubricItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. * @param EducationRubricItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?EducationRubricItemRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. * @param EducationRubric $body The request body * @param EducationRubricItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(EducationRubric $body, ?EducationRubricItemRequestBuilderP } /** - * Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Delete an educationRubric object. Only teachers can perform this operation. * @param EducationRubricItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?EducationRubricItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. * @param EducationRubricItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?EducationRubricItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. * @param EducationRubric $body The request body * @param EducationRubricItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(EducationRubric $body, ?EducationRubri $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php index 24779aeef21..01ca1fa2f5c 100644 --- a/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. */ class EducationRubricItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php b/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php index 06259d5c96a..f133343cf7d 100644 --- a/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php +++ b/src/Generated/Education/Me/Rubrics/RubricsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + * Retrieve a list of educationRubric objects. * @param RubricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RubricsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new educationRubric object. This API is available in the following national cloud deployments. + * Create a new educationRubric object. * @param EducationRubric $body The request body * @param RubricsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationRubric $body, ?RubricsRequestBuilderPostRequestCon } /** - * Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + * Retrieve a list of educationRubric objects. * @param RubricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RubricsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new educationRubric object. This API is available in the following national cloud deployments. + * Create a new educationRubric object. * @param EducationRubric $body The request body * @param RubricsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationRubric $body, ?RubricsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/Rubrics/RubricsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Rubrics/RubricsRequestBuilderGetQueryParameters.php index 44662919786..bd5620ca8c1 100644 --- a/src/Generated/Education/Me/Rubrics/RubricsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Rubrics/RubricsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + * Retrieve a list of educationRubric objects. */ class RubricsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.php b/src/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.php index a7b83c7ccfa..7029b6e2006 100644 --- a/src/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.php +++ b/src/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationSchoolItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Schools/SchoolsRequestBuilder.php b/src/Generated/Education/Me/Schools/SchoolsRequestBuilder.php index dc16e992e45..0e4bab95a21 100644 --- a/src/Generated/Education/Me/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Me/Schools/SchoolsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + * Retrieve a list of schools for a user. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SchoolsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + * Retrieve a list of schools for a user. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SchoolsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/Schools/SchoolsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/Schools/SchoolsRequestBuilderGetQueryParameters.php index b3ff8688edd..5f89d082f35 100644 --- a/src/Generated/Education/Me/Schools/SchoolsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/Schools/SchoolsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + * Retrieve a list of schools for a user. */ class SchoolsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.php b/src/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.php index 99dbfa57c07..cbdd9328a54 100644 --- a/src/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.php +++ b/src/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationClassItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.php b/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.php index 0b102229fe2..0d111e14278 100644 --- a/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.php +++ b/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationClass resources owned by an educationUser. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationUser. * @param TaughtClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaughtClassesRequestBuilderGetRequestConfiguration $request } /** - * Get the educationClass resources owned by an educationUser. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationUser. * @param TaughtClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaughtClassesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php index e03f27b766c..ecc7c2ca46f 100644 --- a/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationClass resources owned by an educationUser. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationUser. */ class TaughtClassesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.php index 0c679d1a422..7212f44789f 100644 --- a/src/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 76c5189e571..bb77926ead9 100644 --- a/src/Generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Education/Me/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/User/UserRequestBuilder.php b/src/Generated/Education/Me/User/UserRequestBuilder.php index 92ab5d0f6f2..cbde293d0d9 100644 --- a/src/Generated/Education/Me/User/UserRequestBuilder.php +++ b/src/Generated/Education/Me/User/UserRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + * Retrieve the simple directory user that corresponds to this educationUser. * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?UserRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + * Retrieve the simple directory user that corresponds to this educationUser. * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?UserRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Me/User/UserRequestBuilderGetQueryParameters.php b/src/Generated/Education/Me/User/UserRequestBuilderGetQueryParameters.php index f7eff9ae76b..f2c949e103e 100644 --- a/src/Generated/Education/Me/User/UserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Me/User/UserRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + * Retrieve the simple directory user that corresponds to this educationUser. */ class UserRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Schools/Delta/DeltaRequestBuilder.php index e774e555cd0..9df393430d4 100644 --- a/src/Generated/Education/Schools/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Schools/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.php b/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.php index 0984d311ea2..2afddba30fc 100644 --- a/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of administrativeUnits associated with an educationSchool object. This API is available in the following national cloud deployments. + * Get a list of administrativeUnits associated with an educationSchool object. * @param AdministrativeUnitRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function patch(AdministrativeUnit $body, ?AdministrativeUnitRequestBuilde } /** - * Get a list of administrativeUnits associated with an educationSchool object. This API is available in the following national cloud deployments. + * Get a list of administrativeUnits associated with an educationSchool object. * @param AdministrativeUnitRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?AdministrativeUnitRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPatchRequestInformation(AdministrativeUnit $body, ?Administrat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilderGetQueryParameters.php index ad0a57bfdd0..5a851cd148f 100644 --- a/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of administrativeUnits associated with an educationSchool object. This API is available in the following national cloud deployments. + * Get a list of administrativeUnits associated with an educationSchool object. */ class AdministrativeUnitRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php index b9796989412..aa349003255 100644 --- a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationClass resources owned by an educationSchool. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationSchool. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?ClassesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get the educationClass resources owned by an educationSchool. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationSchool. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?ClassesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilderGetQueryParameters.php index 5394aa0bb80..17201cd6913 100644 --- a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationClass resources owned by an educationSchool. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationSchool. */ class ClassesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.php index f89c49fc2dc..92e51ca248b 100644 --- a/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a class from a school. This API is available in the following national cloud deployments. + * Delete a class from a school. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Delete a class from a school. This API is available in the following national cloud deployments. + * Delete a class from a school. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 092b210ee9e..2f9fe022ca8 100644 --- a/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Delete a class from a school. This API is available in the following national cloud deployments. + * Delete a class from a school. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php index f6cbdff20db..42478641468 100644 --- a/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationClass resources owned by an educationSchool. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationSchool. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a class to a school. This API is available in the following national cloud deployments. + * Add a class to a school. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Get the educationClass resources owned by an educationSchool. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationSchool. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a class to a school. This API is available in the following national cloud deployments. + * Add a class to a school. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilderGetQueryParameters.php index 7fc49eb0b60..b00516da7d2 100644 --- a/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationClass resources owned by an educationSchool. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationSchool. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php b/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php index 7a7d3dc846d..a696de8e4bc 100644 --- a/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a school. This API is available in the following national cloud deployments. + * Delete a school. * @param EducationSchoolItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?EducationSchoolItemRequestBuilderDeleteRequestConfigurat } /** - * Read the properties and relationships of an educationSchool object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationSchool object. * @param EducationSchoolItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?EducationSchoolItemRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of an educationSchool object. This API is available in the following national cloud deployments. + * Update the properties of an educationSchool object. * @param EducationSchool $body The request body * @param EducationSchoolItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(EducationSchool $body, ?EducationSchoolItemRequestBuilderP } /** - * Delete a school. This API is available in the following national cloud deployments. + * Delete a school. * @param EducationSchoolItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?EducationSchoolItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an educationSchool object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationSchool object. * @param EducationSchoolItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?EducationSchoolItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationSchool object. This API is available in the following national cloud deployments. + * Update the properties of an educationSchool object. * @param EducationSchool $body The request body * @param EducationSchoolItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(EducationSchool $body, ?EducationSchoo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilderGetQueryParameters.php index 7c72dee758f..1ec668e606b 100644 --- a/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an educationSchool object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationSchool object. */ class EducationSchoolItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.php index f3d3523e960..0e334009f5f 100644 --- a/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a user from a school. This API is available in the following national cloud deployments. + * Delete a user from a school. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Delete a user from a school. This API is available in the following national cloud deployments. + * Delete a user from a school. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 80d0aff21ca..9a2346e3cf5 100644 --- a/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Delete a user from a school. This API is available in the following national cloud deployments. + * Delete a user from a school. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.php index 6b31ab500e1..998a85f888d 100644 --- a/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationUser resources associated with an educationSchool. This API is available in the following national cloud deployments. + * Get the educationUser resources associated with an educationSchool. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a user to a school. This API is available in the following national cloud deployments. + * Add a user to a school. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Get the educationUser resources associated with an educationSchool. This API is available in the following national cloud deployments. + * Get the educationUser resources associated with an educationSchool. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a user to a school. This API is available in the following national cloud deployments. + * Add a user to a school. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilderGetQueryParameters.php index 585a06e103d..a1bd41f9c37 100644 --- a/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationUser resources associated with an educationSchool. This API is available in the following national cloud deployments. + * Get the educationUser resources associated with an educationSchool. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php index 168322ab126..5181543ced2 100644 --- a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationUser resources associated with an educationSchool. This API is available in the following national cloud deployments. + * Get the educationUser resources associated with an educationSchool. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the educationUser resources associated with an educationSchool. This API is available in the following national cloud deployments. + * Get the educationUser resources associated with an educationSchool. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilderGetQueryParameters.php index bac54eb0fc1..7e31f37dd0a 100644 --- a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationUser resources associated with an educationSchool. This API is available in the following national cloud deployments. + * Get the educationUser resources associated with an educationSchool. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Schools/SchoolsRequestBuilder.php b/src/Generated/Education/Schools/SchoolsRequestBuilder.php index 79a782e2841..bee244cd980 100644 --- a/src/Generated/Education/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Schools/SchoolsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the educationSchool objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationSchool objects and their properties. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?SchoolsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new educationSchool object. This API is available in the following national cloud deployments. + * Create a new educationSchool object. * @param EducationSchool $body The request body * @param SchoolsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(EducationSchool $body, ?SchoolsRequestBuilderPostRequestCon } /** - * Get a list of the educationSchool objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationSchool objects and their properties. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?SchoolsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new educationSchool object. This API is available in the following national cloud deployments. + * Create a new educationSchool object. * @param EducationSchool $body The request body * @param SchoolsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(EducationSchool $body, ?SchoolsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Schools/SchoolsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Schools/SchoolsRequestBuilderGetQueryParameters.php index e40b3073fc8..cc0a65313ec 100644 --- a/src/Generated/Education/Schools/SchoolsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Schools/SchoolsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the educationSchool objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationSchool objects and their properties. */ class SchoolsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Users/Delta/DeltaRequestBuilder.php index 72bbdc45097..32b1fac2dca 100644 --- a/src/Generated/Education/Users/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Users/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.php index d6dad1374d3..b1e20d94761 100644 --- a/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. This API is available in the following national cloud deployments. + * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(EducationAssignment $body, ?AssignmentsRequestBuilderPostRe } /** - * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. This API is available in the following national cloud deployments. + * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(EducationAssignment $body, ?Assignments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 4d76e00c7dd..653443159b4 100644 --- a/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. This API is available in the following national cloud deployments. + * Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.php index 7f30f608b77..c0ac94a7a09 100644 --- a/src/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php index c335ec3b93f..dd99dd29995 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function get(?CategoriesRequestBuilderGetRequestConfiguration $requestCon } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,7 +101,7 @@ public function post(EducationCategory $body, ?CategoriesRequestBuilderPostReque } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPostRequestInformation(EducationCategory $body, ?CategoriesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php index b45e420f130..269acd9f874 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php index 61f94f7bc0a..a1a30f7f6b6 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php index 650ac022fa7..ba7caf1b6ec 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 3e540ddd167..1cd99a7f525 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php index c0460b4f0d4..e85a9002b17 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php index dd03babb9fc..f4efcdabedd 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php index 5bc62da8e6a..d3bd01b1301 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.php @@ -146,7 +146,7 @@ public function toDeleteRequestInformation(?EducationAssignmentItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -167,7 +167,7 @@ public function toGetRequestInformation(?EducationAssignmentItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -186,7 +186,7 @@ public function toPatchRequestInformation(EducationAssignment $body, ?EducationA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.php index 22a9b532797..e788216ff31 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + * Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php index 1fa151b3896..d3b06afc108 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. This API is available in the following national cloud deployments. + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationAssignmentResourceItemRequestBuilderDeleteReque } /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationAssignmentResource $body, ?EducationAssignmentRes } /** - * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. This API is available in the following national cloud deployments. + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationAssignmentResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationAssignmentResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationAssignmentResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php index 3c75356e615..c5c92ad582e 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php index 6013c843263..3d5060c7c39 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationAssignmentResource $body, ?ResourcesRequestBuilder } /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationAssignmentResource $body, ?Res $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 3460cd58529..7788fb6a1c0 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index c6a6bdc29b3..567db9236cc 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -65,7 +65,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -82,7 +82,7 @@ public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfigura } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,12 +95,12 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.php index afe8148248c..d9a432d5cda 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?RubricRequestBuilderDeleteRequestConfiguration $requestC } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?RubricRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(EducationRubric $body, ?RubricRequestBuilderPatchRequestCo } /** - * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?RubricRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(EducationRubric $body, ?RubricRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php index 9bc8aec9dc1..a94e4e5c922 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. */ class RubricRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php index 2fd6ace31c7..d3495c1b639 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. * @param SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfi } /** - * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. * @param SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpFeedbackResourcesFolderRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index b0997eec6c5..3162d9fdc70 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpResourcesFolderRequestBuilderPostRequestConfiguration } /** - * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + * Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpResourcesFolderRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php index d2ee7f7380c..5892b249d64 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php @@ -110,7 +110,7 @@ public function delete(?EducationSubmissionItemRequestBuilderDeleteRequestConfig } /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,12 +155,12 @@ public function toDeleteRequestInformation(?EducationSubmissionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -176,7 +176,7 @@ public function toGetRequestInformation(?EducationSubmissionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -195,7 +195,7 @@ public function toPatchRequestInformation(EducationSubmission $body, ?EducationS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php index 2b417383dea..03b61de4587 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. This API is available in the following national cloud deployments. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. */ class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php index eac060b76e5..13de715876d 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EscapedReturn/ReturnRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. * @param ReturnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReturnRequestBuilderPostRequestConfiguration $requestConfi } /** - * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + * Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. * @param ReturnRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReturnRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php index 9a7851eecd1..91df98e7908 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?EducationOutcomeItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -79,7 +79,7 @@ public function patch(EducationOutcome $body, ?EducationOutcomeItemRequestBuilde } /** - * Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?EducationOutcomeItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,12 +113,12 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationOutcome $body, ?EducationOutc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php index c571bf7eeaf..26efe93e5cf 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OutcomesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationOutcome $body, ?OutcomesRequestBuilderPostRequestC } /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationOutcome $body, ?OutcomesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php index 4b75f59eff0..afd449ec7b9 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. */ class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php index 129fe3f9423..47eb3a3bb81 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. * @param ReassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReassignRequestBuilderPostRequestConfiguration $requestCon } /** - * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + * Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. * @param ReassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReassignRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php index f926a52ef1b..5e95fccb2d4 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(EducationSubmissionResource $body, ?EducationSubmissionRes } /** - * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?EducationSubmissionResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EducationSubmissionResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index 3aaa2ad701c..a9b2c235ca7 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index d6f495fee8f..55cad7550f9 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationSubmissionResource $body, ?ResourcesRequestBuilder } /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationSubmissionResource $body, ?Res $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 676d94634f9..4452ebd6181 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php index c52411875a1..6e0df7a0f69 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SetUpResourcesFolderRequestBuilderPostRequestConfiguration } /** - * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + * Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. * @param SetUpResourcesFolderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SetUpResourcesFolderRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php index b562582d65a..25beea93187 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. * @param SubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?SubmitRequestBuilderPostRequestConfiguration $requestConfi } /** - * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. * @param SubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?SubmitRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php index fe528128454..a6d9b141b03 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?EducationSubmissionResourceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(EducationSubmissionResource $body, ?Ed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index fbfb6140edd..24a54ec73b7 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. This API is available in the following national cloud deployments. + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index 608252072c4..3aa172e2f06 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(EducationSubmissionResource $body, ?SubmittedResourcesReque } /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SubmittedResourcesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EducationSubmissionResource $body, ?Sub $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php index 4068655f5be..bf08055b81e 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. This API is available in the following national cloud deployments. + * List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. */ class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php index ff9902ac8fc..73c9c401a64 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. * @param UnsubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?UnsubmitRequestBuilderPostRequestConfiguration $requestCon } /** - * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + * Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. * @param UnsubmitRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?UnsubmitRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php index 85b54b111d5..26ae7d3d8a7 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(EducationSubmission $body, ?SubmissionsRequestBuilderPostRe } /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SubmissionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EducationSubmission $body, ?Submissions $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php index d7f6022bba0..d91d354e1ee 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. This API is available in the following national cloud deployments. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. */ class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php index 7756c4d30a1..f2a58770abc 100644 --- a/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + * Get the educationClass resources an educationUser is a member of. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ClassesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + * Get the educationClass resources an educationUser is a member of. * @param ClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ClassesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilderGetQueryParameters.php index f3c226a2284..112e5909ab0 100644 --- a/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Classes/ClassesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + * Get the educationClass resources an educationUser is a member of. */ class ClassesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.php b/src/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.php index 100c77e0328..b055e24b2e1 100644 --- a/src/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationClassItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php index c52fb1c5896..fcf41872fac 100644 --- a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a user. This API is available in the following national cloud deployments. + * Delete a user. * @param EducationUserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?EducationUserItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of an educationUser object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationUser object. * @param EducationUserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -111,7 +111,7 @@ public function get(?EducationUserItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of an educationUser object. This API is available in the following national cloud deployments. + * Update the properties of an educationUser object. * @param EducationUser $body The request body * @param EducationUserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -128,7 +128,7 @@ public function patch(EducationUser $body, ?EducationUserItemRequestBuilderPatch } /** - * Delete a user. This API is available in the following national cloud deployments. + * Delete a user. * @param EducationUserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -141,12 +141,12 @@ public function toDeleteRequestInformation(?EducationUserItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an educationUser object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationUser object. * @param EducationUserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -162,12 +162,12 @@ public function toGetRequestInformation(?EducationUserItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationUser object. This API is available in the following national cloud deployments. + * Update the properties of an educationUser object. * @param EducationUser $body The request body * @param EducationUserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -181,7 +181,7 @@ public function toPatchRequestInformation(EducationUser $body, ?EducationUserIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilderGetQueryParameters.php index c8968843f69..496ef0d111c 100644 --- a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an educationUser object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an educationUser object. */ class EducationUserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php b/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php index 3d0c90446f5..2dbb9f3e26d 100644 --- a/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Delete an educationRubric object. Only teachers can perform this operation. * @param EducationRubricItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EducationRubricItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. * @param EducationRubricItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?EducationRubricItemRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. * @param EducationRubric $body The request body * @param EducationRubricItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(EducationRubric $body, ?EducationRubricItemRequestBuilderP } /** - * Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + * Delete an educationRubric object. Only teachers can perform this operation. * @param EducationRubricItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?EducationRubricItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. * @param EducationRubricItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?EducationRubricItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + * Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{class-id}/assignments/{assignment-id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{class-id}/assignments/{assignment-id}/rubric, but it cannot be updated. * @param EducationRubric $body The request body * @param EducationRubricItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(EducationRubric $body, ?EducationRubri $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php index 72f9bf0cc2a..21debba3be7 100644 --- a/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. */ class EducationRubricItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php b/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php index 39adc518f73..ff26d798268 100644 --- a/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + * Retrieve a list of educationRubric objects. * @param RubricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RubricsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new educationRubric object. This API is available in the following national cloud deployments. + * Create a new educationRubric object. * @param EducationRubric $body The request body * @param RubricsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EducationRubric $body, ?RubricsRequestBuilderPostRequestCon } /** - * Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + * Retrieve a list of educationRubric objects. * @param RubricsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RubricsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new educationRubric object. This API is available in the following national cloud deployments. + * Create a new educationRubric object. * @param EducationRubric $body The request body * @param RubricsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EducationRubric $body, ?RubricsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilderGetQueryParameters.php index 4162ca27f72..363bb7968f6 100644 --- a/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + * Retrieve a list of educationRubric objects. */ class RubricsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.php b/src/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.php index 4013cb58c4f..f3cf4afb8af 100644 --- a/src/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationSchoolItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.php b/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.php index 1166ae2e31e..f362e4bb364 100644 --- a/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + * Retrieve a list of schools for a user. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SchoolsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + * Retrieve a list of schools for a user. * @param SchoolsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SchoolsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php index 06c4a8e8a1d..a77d8596238 100644 --- a/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/Schools/SchoolsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + * Retrieve a list of schools for a user. */ class SchoolsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.php b/src/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.php index 5540095c07a..7b7fb0a875d 100644 --- a/src/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EducationClassItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.php b/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.php index 62443271ab5..9e3d0e44791 100644 --- a/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the educationClass resources owned by an educationUser. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationUser. * @param TaughtClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaughtClassesRequestBuilderGetRequestConfiguration $request } /** - * Get the educationClass resources owned by an educationUser. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationUser. * @param TaughtClassesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaughtClassesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php index 9dc5b9a96c0..ebdcd6efaae 100644 --- a/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the educationClass resources owned by an educationUser. This API is available in the following national cloud deployments. + * Get the educationClass resources owned by an educationUser. */ class TaughtClassesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php index 9ce2c8f6528..3ce42287089 100644 --- a/src/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 7f4bae81ea0..c637658cf3f 100644 --- a/src/Generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Education/Users/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/User/UserRequestBuilder.php b/src/Generated/Education/Users/Item/User/UserRequestBuilder.php index 96ab1d86ef9..d62e28773b4 100644 --- a/src/Generated/Education/Users/Item/User/UserRequestBuilder.php +++ b/src/Generated/Education/Users/Item/User/UserRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + * Retrieve the simple directory user that corresponds to this educationUser. * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?UserRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + * Retrieve the simple directory user that corresponds to this educationUser. * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?UserRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Education/Users/Item/User/UserRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/Item/User/UserRequestBuilderGetQueryParameters.php index 4663442abc0..8896b319aa7 100644 --- a/src/Generated/Education/Users/Item/User/UserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/Item/User/UserRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + * Retrieve the simple directory user that corresponds to this educationUser. */ class UserRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Users/UsersRequestBuilder.php b/src/Generated/Education/Users/UsersRequestBuilder.php index f59f7a62eb2..121af3afbed 100644 --- a/src/Generated/Education/Users/UsersRequestBuilder.php +++ b/src/Generated/Education/Users/UsersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the educationUser objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationUser objects and their properties. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new educationUser object. This API is available in the following national cloud deployments. + * Create a new educationUser object. * @param EducationUser $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(EducationUser $body, ?UsersRequestBuilderPostRequestConfigu } /** - * Get a list of the educationUser objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationUser objects and their properties. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new educationUser object. This API is available in the following national cloud deployments. + * Create a new educationUser object. * @param EducationUser $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(EducationUser $body, ?UsersRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Education/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Education/Users/UsersRequestBuilderGetQueryParameters.php index a2ef50a8b9a..df53d36389a 100644 --- a/src/Generated/Education/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the educationUser objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the educationUser objects and their properties. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php b/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php index 16850ca077a..8bfca20918c 100644 --- a/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php +++ b/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php @@ -94,7 +94,7 @@ public function toGetRequestInformation(?EmployeeExperienceRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toPatchRequestInformation(EmployeeExperience $body, ?EmployeeExp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php b/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php index a244edabe74..ff8011e1224 100644 --- a/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?LearningCourseActivityItemRequestBuilderDeleteRequestCon } /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. * @param LearningCourseActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?LearningCourseActivityItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. * @param LearningCourseActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?LearningCourseActivityItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(LearningCourseActivity $body, ?Learnin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php index 2b5949569f3..47d422f9c8a 100644 --- a/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. */ class LearningCourseActivityItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php b/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php index d33ae4d86ca..569ae35ba4a 100644 --- a/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. * @param LearningCourseActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(LearningCourseActivity $body, ?LearningCourseActivitiesRequ } /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. * @param LearningCourseActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?LearningCourseActivitiesRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(LearningCourseActivity $body, ?Learning $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php index c435666b456..2a60bcf2607 100644 --- a/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. */ class LearningCourseActivitiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php index 39afa0a04e0..7c4b640a9c3 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.php @@ -47,7 +47,7 @@ public function delete(?LearningContentItemRequestBuilderDeleteRequestConfigurat } /** - * Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. This API is available in the following national cloud deployments. + * Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. * @param LearningContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?LearningContentItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. This API is available in the following national cloud deployments. + * Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. * @param LearningContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?LearningContentItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(LearningContent $body, ?LearningConten $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilderGetQueryParameters.php index de61cd3cd15..fdccdfa2273 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. This API is available in the following national cloud deployments. + * Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. */ class LearningContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php index 90122a22d14..13ae7384721 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. This API is available in the following national cloud deployments. + * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. * @param LearningContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(LearningContent $body, ?LearningContentsRequestBuilderPostR } /** - * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. This API is available in the following national cloud deployments. + * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. * @param LearningContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LearningContentsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(LearningContent $body, ?LearningContent $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilderGetQueryParameters.php index 9cdd5df2a98..c28a6951396 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. This API is available in the following national cloud deployments. + * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. */ class LearningContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php index 96e1ef39c48..a8b9095c182 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. This API is available in the following national cloud deployments. + * Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. * @param LearningCourseActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?LearningCourseActivityItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a learningCourseActivity object. This API is available in the following national cloud deployments. + * Update the properties of a learningCourseActivity object. * @param LearningCourseActivity $body The request body * @param LearningCourseActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -79,7 +79,7 @@ public function patch(LearningCourseActivity $body, ?LearningCourseActivityItemR } /** - * Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. This API is available in the following national cloud deployments. + * Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. * @param LearningCourseActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?LearningCourseActivityItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,12 +113,12 @@ public function toGetRequestInformation(?LearningCourseActivityItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a learningCourseActivity object. This API is available in the following national cloud deployments. + * Update the properties of a learningCourseActivity object. * @param LearningCourseActivity $body The request body * @param LearningCourseActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(LearningCourseActivity $body, ?Learnin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php index 118b5f4e359..703351caca1 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?LearningCourseActivitiesRequestBuilderGetRequestConfigurati } /** - * Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. This API is available in the following national cloud deployments. + * Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. * @param LearningCourseActivity $body The request body * @param LearningCourseActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?LearningCourseActivitiesRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. This API is available in the following national cloud deployments. + * Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. * @param LearningCourseActivity $body The request body * @param LearningCourseActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(LearningCourseActivity $body, ?Learning $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.php index cec295747d2..8f81d440ea7 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.php @@ -63,7 +63,7 @@ public function delete(?LearningProviderItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a learningProvider object. * @param LearningProviderItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?LearningProviderItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of a learningProvider object. This API is available in the following national cloud deployments. + * Update the properties of a learningProvider object. * @param LearningProvider $body The request body * @param LearningProviderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?LearningProviderItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a learningProvider object. * @param LearningProviderItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?LearningProviderItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a learningProvider object. This API is available in the following national cloud deployments. + * Update the properties of a learningProvider object. * @param LearningProvider $body The request body * @param LearningProviderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(LearningProvider $body, ?LearningProvi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilderGetQueryParameters.php index bb07f7153fb..b263c819d6d 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a learningProvider object. */ class LearningProviderItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php b/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php index e6015d2eac9..886d043a8da 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php +++ b/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the learningProvider resources registered in Viva Learning for a tenant. This API is available in the following national cloud deployments. + * Get a list of the learningProvider resources registered in Viva Learning for a tenant. * @param LearningProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?LearningProvidersRequestBuilderGetRequestConfiguration $req } /** - * Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. This API is available in the following national cloud deployments. + * Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. * @param LearningProvider $body The request body * @param LearningProvidersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(LearningProvider $body, ?LearningProvidersRequestBuilderPos } /** - * Get a list of the learningProvider resources registered in Viva Learning for a tenant. This API is available in the following national cloud deployments. + * Get a list of the learningProvider resources registered in Viva Learning for a tenant. * @param LearningProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?LearningProvidersRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. This API is available in the following national cloud deployments. + * Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. * @param LearningProvider $body The request body * @param LearningProvidersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(LearningProvider $body, ?LearningProvid $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilderGetQueryParameters.php index 7e249da528e..5ec1c949745 100644 --- a/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the learningProvider resources registered in Viva Learning for a tenant. This API is available in the following national cloud deployments. + * Get a list of the learningProvider resources registered in Viva Learning for a tenant. */ class LearningProvidersRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php b/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php index 29e734d861c..89682dbe105 100644 --- a/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of print connectors. This API is available in the following national cloud deployments. + * Retrieve a list of print connectors. * @param ConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintConnector $body, ?ConnectorsRequestBuilderPostRequestC } /** - * Retrieve a list of print connectors. This API is available in the following national cloud deployments. + * Retrieve a list of print connectors. * @param ConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ConnectorsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintConnector $body, ?ConnectorsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilderGetQueryParameters.php index fdf315398b5..0c883c6bcfe 100644 --- a/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Connectors/ConnectorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of print connectors. This API is available in the following national cloud deployments. + * Retrieve a list of print connectors. */ class ConnectorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php b/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php index afd74f3f28a..c8d79acecf0 100644 --- a/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete (unregister) a printConnector. This API is available in the following national cloud deployments. + * Delete (unregister) a printConnector. * @param PrintConnectorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?PrintConnectorItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printConnector object. * @param PrintConnectorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?PrintConnectorItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a printConnector object. This API is available in the following national cloud deployments. + * Update the properties of a printConnector object. * @param PrintConnector $body The request body * @param PrintConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(PrintConnector $body, ?PrintConnectorItemRequestBuilderPat } /** - * Delete (unregister) a printConnector. This API is available in the following national cloud deployments. + * Delete (unregister) a printConnector. * @param PrintConnectorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?PrintConnectorItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printConnector object. * @param PrintConnectorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?PrintConnectorItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a printConnector object. This API is available in the following national cloud deployments. + * Update the properties of a printConnector object. * @param PrintConnector $body The request body * @param PrintConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(PrintConnector $body, ?PrintConnectorI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilderGetQueryParameters.php index be82f61d432..7932b6df9ed 100644 --- a/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Connectors/Item/PrintConnectorItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printConnector object. */ class PrintConnectorItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php b/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php index 0137656ab1b..9e73d2b9b75 100644 --- a/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?PrintOperationItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printOperation object. * @param PrintOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?PrintOperationItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printOperation object. * @param PrintOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PrintOperationItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(PrintOperation $body, ?PrintOperationI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilderGetQueryParameters.php index 1e84431eed7..2fe4a3fd766 100644 --- a/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Operations/Item/PrintOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printOperation object. */ class PrintOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Operations/OperationsRequestBuilder.php b/src/Generated/EscapedPrint/Operations/OperationsRequestBuilder.php index 1ba986337d7..00594a1e843 100644 --- a/src/Generated/EscapedPrint/Operations/OperationsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printOperation object. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(PrintOperation $body, ?OperationsRequestBuilderPostRequestC } /** - * Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printOperation object. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintOperation $body, ?OperationsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Operations/OperationsRequestBuilderGetQueryParameters.php index 93eb84cdaf6..b9534b05738 100644 --- a/src/Generated/EscapedPrint/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printOperation object. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/PrintRequestBuilder.php b/src/Generated/EscapedPrint/PrintRequestBuilder.php index 787aa0eeb72..fefaac08f2a 100644 --- a/src/Generated/EscapedPrint/PrintRequestBuilder.php +++ b/src/Generated/EscapedPrint/PrintRequestBuilder.php @@ -126,7 +126,7 @@ public function toGetRequestInformation(?PrintRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -145,7 +145,7 @@ public function toPatchRequestInformation(EscapedPrint $body, ?PrintRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Create/CreateRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Create/CreateRequestBuilder.php index 2a9aa619dc8..bf0e3a5c933 100644 --- a/src/Generated/EscapedPrint/Printers/Create/CreateRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Create/CreateRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample. This API is available in the following national cloud deployments. + * Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample. * @param CreatePostRequestBody $body The request body * @param CreateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CreatePostRequestBody $body, ?CreateRequestBuilderPostReque } /** - * Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample. This API is available in the following national cloud deployments. + * Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample. * @param CreatePostRequestBody $body The request body * @param CreateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CreatePostRequestBody $body, ?CreateReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilder.php index 7e218b8feeb..6d259824fe0 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of printConnectors associated with the printer. This API is available in the following national cloud deployments. + * Retrieve a list of printConnectors associated with the printer. * @param ConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ConnectorsRequestBuilderGetRequestConfiguration $requestCon } /** - * Retrieve a list of printConnectors associated with the printer. This API is available in the following national cloud deployments. + * Retrieve a list of printConnectors associated with the printer. * @param ConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ConnectorsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilderGetQueryParameters.php index da6fd7cd415..fa88f1d5732 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/Item/Connectors/ConnectorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of printConnectors associated with the printer. This API is available in the following national cloud deployments. + * Retrieve a list of printConnectors associated with the printer. */ class ConnectorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.php index 383e8420c33..b8bc4fdf354 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrintConnectorItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.php index e72fdf4be4f..02e95f84069 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. * @param AbortPostRequestBody $body The request body * @param AbortRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AbortPostRequestBody $body, ?AbortRequestBuilderPostRequest } /** - * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. * @param AbortPostRequestBody $body The request body * @param AbortRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AbortPostRequestBody $body, ?AbortReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.php index f5be6afc7fa..ea3e6b12885 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php index 49f9bb08c88..47a061a596c 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DocumentsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintDocument $body, ?DocumentsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 0abbab3c7bc..7e7200ed77e 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php index 57597587d9d..dc2bb43a261 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PrintDocumentItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PrintDocumentItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(PrintDocument $body, ?PrintDocumentIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php index e6f05a6d954..4e3ad068378 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.php index cdaf260434e..aa832b0547c 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?PrintJobItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?PrintJobItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(PrintJob $body, ?PrintJobItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php index ae691be533f..61e7ffc0fc1 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param RedirectPostRequestBody $body The request body * @param RedirectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(RedirectPostRequestBody $body, ?RedirectRequestBuilderPostR } /** - * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param RedirectPostRequestBody $body The request body * @param RedirectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(RedirectPostRequestBody $body, ?Redirec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Start/StartRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Start/StartRequestBuilder.php index 437715551d7..d7df1e19dba 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Start/StartRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. This API is available in the following national cloud deployments. + * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?StartRequestBuilderPostRequestConfiguration $requestConfig } /** - * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. This API is available in the following national cloud deployments. + * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?StartRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php index 573c5b0cbd3..f6cd6b461a1 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DefinitionRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php index 0e903706aff..78ede181821 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PrintTaskItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PrintTaskItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(PrintTask $body, ?PrintTaskItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php index 69d77621580..45f7e5863f6 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TriggerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.php index 747deca25ab..6d8adde7bfb 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintTask $body, ?TasksRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/JobsRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/JobsRequestBuilder.php index 323c8029555..b946155fde2 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/JobsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/JobsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?JobsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintJob $body, ?JobsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilder.php index af3ed2dbd00..56182320443 100644 --- a/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete (unregister) a printer. This API is available in the following national cloud deployments. + * Delete (unregister) a printer. * @param PrinterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?PrinterItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printer object. * @param PrinterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function get(?PrinterItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of a printer object. This API is available in the following national cloud deployments. + * Update the properties of a printer object. * @param Printer $body The request body * @param PrinterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function patch(Printer $body, ?PrinterItemRequestBuilderPatchRequestConfi } /** - * Delete (unregister) a printer. This API is available in the following national cloud deployments. + * Delete (unregister) a printer. * @param PrinterItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?PrinterItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printer object. * @param PrinterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,12 +154,12 @@ public function toGetRequestInformation(?PrinterItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a printer object. This API is available in the following national cloud deployments. + * Update the properties of a printer object. * @param Printer $body The request body * @param PrinterItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(Printer $body, ?PrinterItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilderGetQueryParameters.php index 25ef8663aad..41c0a63216d 100644 --- a/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/Item/PrinterItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printer object. */ class PrinterItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php index 0dcdac2bf82..2c21737acf8 100644 --- a/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a printer's default settings to the values specified by the manufacturer. This API is available in the following national cloud deployments. + * Restore a printer's default settings to the values specified by the manufacturer. * @param RestoreFactoryDefaultsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreFactoryDefaultsRequestBuilderPostRequestConfigurati } /** - * Restore a printer's default settings to the values specified by the manufacturer. This API is available in the following national cloud deployments. + * Restore a printer's default settings to the values specified by the manufacturer. * @param RestoreFactoryDefaultsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreFactoryDefaultsRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.php index a3ff02f8fa9..8b0190bc9d4 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrinterShareItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilder.php index 48e964bdf22..e1b0d6a9d68 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of printer shares associated with the printer. This API is available in the following national cloud deployments. + * Retrieve a list of printer shares associated with the printer. * @param SharesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SharesRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Retrieve a list of printer shares associated with the printer. This API is available in the following national cloud deployments. + * Retrieve a list of printer shares associated with the printer. * @param SharesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SharesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilderGetQueryParameters.php index 7364a2b0be2..2f7b3e346ca 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/Item/Shares/SharesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of printer shares associated with the printer. This API is available in the following national cloud deployments. + * Retrieve a list of printer shares associated with the printer. */ class SharesRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.php index 0d3b482654a..a6a3d85f561 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DefinitionRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.php index 523d4c490c2..02535824cb8 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the task trigger of a printer to prevent related print events from triggering tasks on the specified printer. This API is available in the following national cloud deployments. + * Delete the task trigger of a printer to prevent related print events from triggering tasks on the specified printer. * @param PrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?PrintTaskTriggerItemRequestBuilderDeleteRequestConfigura } /** - * Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskTriggerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function patch(PrintTaskTrigger $body, ?PrintTaskTriggerItemRequestBuilde } /** - * Delete the task trigger of a printer to prevent related print events from triggering tasks on the specified printer. This API is available in the following national cloud deployments. + * Delete the task trigger of a printer to prevent related print events from triggering tasks on the specified printer. * @param PrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?PrintTaskTriggerItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskTriggerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +121,7 @@ public function toGetRequestInformation(?PrintTaskTriggerItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(PrintTaskTrigger $body, ?PrintTaskTrig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilderGetQueryParameters.php index 4e94e916f18..f3239f8243f 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. */ class PrintTaskTriggerItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php index ccdd5327e98..be156867ec2 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param TaskTriggersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TaskTriggersRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. This API is available in the following national cloud deployments. + * Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. * @param PrintTaskTrigger $body The request body * @param TaskTriggersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PrintTaskTrigger $body, ?TaskTriggersRequestBuilderPostRequ } /** - * Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param TaskTriggersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TaskTriggersRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. This API is available in the following national cloud deployments. + * Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. * @param PrintTaskTrigger $body The request body * @param TaskTriggersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PrintTaskTrigger $body, ?TaskTriggersRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilderGetQueryParameters.php index b6df1fee523..37bf93b3b14 100644 --- a/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/Item/TaskTriggers/TaskTriggersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. */ class TaskTriggersRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php b/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php index 9c6341cd17a..b75a0db4264 100644 --- a/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/PrintersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of printers that are registered in the tenant. This API is available in the following national cloud deployments. + * Retrieve the list of printers that are registered in the tenant. * @param PrintersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Printer $body, ?PrintersRequestBuilderPostRequestConfigurat } /** - * Retrieve the list of printers that are registered in the tenant. This API is available in the following national cloud deployments. + * Retrieve the list of printers that are registered in the tenant. * @param PrintersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?PrintersRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Printer $body, ?PrintersRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Printers/PrintersRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/PrintersRequestBuilderGetQueryParameters.php index 6b7ae694c28..45f0340ed3d 100644 --- a/src/Generated/EscapedPrint/Printers/PrintersRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/PrintersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of printers that are registered in the tenant. This API is available in the following national cloud deployments. + * Retrieve the list of printers that are registered in the tenant. */ class PrintersRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php b/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php index 3f8b95707a2..ba301ef51d3 100644 --- a/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of endpoints exposed by a print service. This API is available in the following national cloud deployments. + * Retrieve a list of endpoints exposed by a print service. * @param EndpointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintServiceEndpoint $body, ?EndpointsRequestBuilderPostReq } /** - * Retrieve a list of endpoints exposed by a print service. This API is available in the following national cloud deployments. + * Retrieve a list of endpoints exposed by a print service. * @param EndpointsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?EndpointsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintServiceEndpoint $body, ?EndpointsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilderGetQueryParameters.php index 5eb660d0735..52663778e13 100644 --- a/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Services/Item/Endpoints/EndpointsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of endpoints exposed by a print service. This API is available in the following national cloud deployments. + * Retrieve a list of endpoints exposed by a print service. */ class EndpointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php b/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php index 24c82ef28f6..5160e82c038 100644 --- a/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?PrintServiceEndpointItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a print service endpoint. * @param PrintServiceEndpointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?PrintServiceEndpointItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a print service endpoint. * @param PrintServiceEndpointItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PrintServiceEndpointItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(PrintServiceEndpoint $body, ?PrintServ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilderGetQueryParameters.php index add107376e8..742158877db 100644 --- a/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a print service endpoint. */ class PrintServiceEndpointItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php b/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php index cdf9b2f959c..0128de6aa82 100644 --- a/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?PrintServiceItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a print service. * @param PrintServiceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?PrintServiceItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a print service. * @param PrintServiceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?PrintServiceItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(PrintService $body, ?PrintServiceItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilderGetQueryParameters.php index eb047b45be9..3b80273bea7 100644 --- a/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Services/Item/PrintServiceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a print service. */ class PrintServiceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php b/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php index 94dd9064d24..eea8df70952 100644 --- a/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php +++ b/src/Generated/EscapedPrint/Services/ServicesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of printService objects that represent the services available to your tenant. This API is available in the following national cloud deployments. + * Retrieve a list of printService objects that represent the services available to your tenant. * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintService $body, ?ServicesRequestBuilderPostRequestConfi } /** - * Retrieve a list of printService objects that represent the services available to your tenant. This API is available in the following national cloud deployments. + * Retrieve a list of printService objects that represent the services available to your tenant. * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ServicesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintService $body, ?ServicesRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Services/ServicesRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Services/ServicesRequestBuilderGetQueryParameters.php index 10a0484c737..1f542ba22d9 100644 --- a/src/Generated/EscapedPrint/Services/ServicesRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Services/ServicesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of printService objects that represent the services available to your tenant. This API is available in the following national cloud deployments. + * Retrieve a list of printService objects that represent the services available to your tenant. */ class ServicesRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php index cfd845b5946..410ac126822 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. * @param AllowedGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?AllowedGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. * @param AllowedGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?AllowedGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilderGetQueryParameters.php index 149f2de32ad..cef0dcb7107 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. */ class AllowedGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.php index d9a8a842c50..6d4551dbe41 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Revoke the specified group's access to submit print jobs to the associated printerShare. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Revoke the specified group's access to submit print jobs to the associated printerShare. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 33142cc93f1..320b00ebca3 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Revoke the specified group's access to submit print jobs to the associated printerShare. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 26c820be17a..3f797910309 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.php index abba1199135..f3bdcaf2831 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Grant the specified group access to submit print jobs to the associated printerShare. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Grant the specified group access to submit print jobs to the associated printerShare. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilderGetQueryParameters.php index 572c69851ed..a45b20855b5 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php index 3e8fe83710e..089001a3623 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. * @param AllowedUsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?AllowedUsersRequestBuilderGetRequestConfiguration $requestC } /** - * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. * @param AllowedUsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?AllowedUsersRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilderGetQueryParameters.php index 0b1bdba1e91..ca3e1705110 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. */ class AllowedUsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php index f2aa55b3187..176934b78e0 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.php index a556228c5fa..7844ecd1bf0 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Revoke the specified user's access to submit print jobs to the associated printerShare. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Revoke the specified user's access to submit print jobs to the associated printerShare. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 35f9bc843ac..f75cfbc9dff 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Revoke the specified user's access to submit print jobs to the associated printerShare. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index fbaedf7a750..a25b94f2e56 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.php index 62eaf95d484..5d5076d82ec 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Grant the specified user access to submit print jobs to the associated printerShare. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Grant the specified user access to submit print jobs to the associated printerShare. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilderGetQueryParameters.php index 54d0a5d3405..b9811ad62ba 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php index 20d19397652..6ee6a596474 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. * @param AbortPostRequestBody $body The request body * @param AbortRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AbortPostRequestBody $body, ?AbortRequestBuilderPostRequest } /** - * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. * @param AbortPostRequestBody $body The request body * @param AbortRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AbortPostRequestBody $body, ?AbortReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.php index bfa99956b6c..f83ef562221 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + * Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php index b99c59e6340..57b6d99840a 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DocumentsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintDocument $body, ?DocumentsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php index fe08fb44166..269fee77302 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php index ed6c3a9864a..4bfbb69beb1 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PrintDocumentItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PrintDocumentItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(PrintDocument $body, ?PrintDocumentIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php index c624e236a64..b5647bf2825 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.php index 07fc08e2405..c64ed8f616d 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?PrintJobItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?PrintJobItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(PrintJob $body, ?PrintJobItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php index 778e8203c3b..a490fbf6ca4 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param RedirectPostRequestBody $body The request body * @param RedirectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(RedirectPostRequestBody $body, ?RedirectRequestBuilderPostR } /** - * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param RedirectPostRequestBody $body The request body * @param RedirectRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(RedirectPostRequestBody $body, ?Redirec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Start/StartRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Start/StartRequestBuilder.php index 8d050724249..7350b849593 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Start/StartRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. This API is available in the following national cloud deployments. + * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?StartRequestBuilderPostRequestConfiguration $requestConfig } /** - * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. This API is available in the following national cloud deployments. + * Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?StartRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php index 837d034547b..5d5e84c4837 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DefinitionRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php index 96ee937f90e..8a5f2c2f11b 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PrintTaskItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PrintTaskItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(PrintTask $body, ?PrintTaskItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php index 1728c0e0cad..2886d7b1de4 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TriggerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.php index 414968f39ac..ce49d7fb26d 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintTask $body, ?TasksRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Jobs/JobsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Jobs/JobsRequestBuilder.php index f609db6cfe2..e294deb1059 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Jobs/JobsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Jobs/JobsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?JobsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PrintJob $body, ?JobsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/Printer/PrinterRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/Printer/PrinterRequestBuilder.php index c9782c7c33e..3a0fdd45987 100644 --- a/src/Generated/EscapedPrint/Shares/Item/Printer/PrinterRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/Printer/PrinterRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrinterRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php index 5efcb9f16d4..d2fc0328bf9 100644 --- a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. This API is available in the following national cloud deployments. + * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. * @param PrinterShareItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?PrinterShareItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printer share. * @param PrinterShareItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function get(?PrinterShareItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. This API is available in the following national cloud deployments. + * Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. * @param PrinterShare $body The request body * @param PrinterShareItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -112,7 +112,7 @@ public function patch(PrinterShare $body, ?PrinterShareItemRequestBuilderPatchRe } /** - * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. This API is available in the following national cloud deployments. + * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. * @param PrinterShareItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?PrinterShareItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printer share. * @param PrinterShareItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,12 +146,12 @@ public function toGetRequestInformation(?PrinterShareItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. This API is available in the following national cloud deployments. + * Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. * @param PrinterShare $body The request body * @param PrinterShareItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -165,7 +165,7 @@ public function toPatchRequestInformation(PrinterShare $body, ?PrinterShareItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilderGetQueryParameters.php index 0be141df6bb..541b8fd0028 100644 --- a/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/Item/PrinterShareItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a printer share. */ class PrinterShareItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php b/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php index 43c3892aef3..4d5d43c72bb 100644 --- a/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/SharesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of printerShares. This API is available in the following national cloud deployments. + * Retrieve a list of printerShares. * @param SharesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SharesRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new printerShare for the specified printer. This API is available in the following national cloud deployments. + * Create a new printerShare for the specified printer. * @param PrinterShare $body The request body * @param SharesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PrinterShare $body, ?SharesRequestBuilderPostRequestConfigu } /** - * Retrieve a list of printerShares. This API is available in the following national cloud deployments. + * Retrieve a list of printerShares. * @param SharesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SharesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new printerShare for the specified printer. This API is available in the following national cloud deployments. + * Create a new printerShare for the specified printer. * @param PrinterShare $body The request body * @param SharesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PrinterShare $body, ?SharesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/Shares/SharesRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Shares/SharesRequestBuilderGetQueryParameters.php index 4d051741556..6dd1c83a7a8 100644 --- a/src/Generated/EscapedPrint/Shares/SharesRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Shares/SharesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of printerShares. This API is available in the following national cloud deployments. + * Retrieve a list of printerShares. */ class SharesRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php index 754a01f5e6a..c6ee9839207 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?PrintTaskDefinitionItemRequestBuilderDeleteRequestConfig } /** - * Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?PrintTaskDefinitionItemRequestBuilderGetRequestConfiguratio } /** - * Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinition $body The request body * @param PrintTaskDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(PrintTaskDefinition $body, ?PrintTaskDefinitionItemRequest } /** - * Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?PrintTaskDefinitionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?PrintTaskDefinitionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinition $body The request body * @param PrintTaskDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(PrintTaskDefinition $body, ?PrintTaskD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilderGetQueryParameters.php index 01109448feb..684d376143b 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. */ class PrintTaskDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php index 046cdeaca69..94e1eb1aee0 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DefinitionRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.php index 4763ef7add2..f845d4d77b6 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?PrintTaskItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?PrintTaskItemRequestBuilderGetRequestConfiguration $request } /** - * Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTask $body The request body * @param PrintTaskItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?PrintTaskItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?PrintTaskItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTask $body The request body * @param PrintTaskItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(PrintTask $body, ?PrintTaskItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilderGetQueryParameters.php index 75cabcdbbd4..c55a965fdcc 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. */ class PrintTaskItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php index 6e99f884de1..d9de7022aba 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TriggerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilder.php index 3778799c6c6..345099b7074 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintTask $body, ?TasksRequestBuilderPostRequestConfigurati } /** - * Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintTask $body, ?TasksRequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 7e22bce86de..af13eae4b54 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php b/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php index 398d05557aa..f8b97610409 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param TaskDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TaskDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinition $body The request body * @param TaskDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PrintTaskDefinition $body, ?TaskDefinitionsRequestBuilderPo } /** - * Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param TaskDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TaskDefinitionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. * @param PrintTaskDefinition $body The request body * @param TaskDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PrintTaskDefinition $body, ?TaskDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php index 653e3927f9f..dba990aa27f 100644 --- a/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + * Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. */ class TaskDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/ConnectionsRequestBuilder.php b/src/Generated/External/Connections/ConnectionsRequestBuilder.php index 8c6372fbce0..6a35b3dad2e 100644 --- a/src/Generated/External/Connections/ConnectionsRequestBuilder.php +++ b/src/Generated/External/Connections/ConnectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the externalConnection objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the externalConnection objects and their properties. * @param ConnectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ConnectionsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new externalConnection object. This API is available in the following national cloud deployments. + * Create a new externalConnection object. * @param ExternalConnection $body The request body * @param ConnectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ExternalConnection $body, ?ConnectionsRequestBuilderPostReq } /** - * Get a list of the externalConnection objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the externalConnection objects and their properties. * @param ConnectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ConnectionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new externalConnection object. This API is available in the following national cloud deployments. + * Create a new externalConnection object. * @param ExternalConnection $body The request body * @param ConnectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ExternalConnection $body, ?ConnectionsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/ConnectionsRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/ConnectionsRequestBuilderGetQueryParameters.php index a93c7cce9e2..6b6c7759616 100644 --- a/src/Generated/External/Connections/ConnectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/ConnectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the externalConnection objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the externalConnection objects and their properties. */ class ConnectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php b/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php index 01d9d28eef5..f2610433f50 100644 --- a/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes an externalConnection object. This API is available in the following national cloud deployments. + * Deletes an externalConnection object. * @param ExternalConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?ExternalConnectionItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of an externalConnection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalConnection object. * @param ExternalConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function get(?ExternalConnectionItemRequestBuilderGetRequestConfiguration } /** - * Update the properties of an externalConnection object. This API is available in the following national cloud deployments. + * Update the properties of an externalConnection object. * @param ExternalConnection $body The request body * @param ExternalConnectionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -112,7 +112,7 @@ public function patch(ExternalConnection $body, ?ExternalConnectionItemRequestBu } /** - * Deletes an externalConnection object. This API is available in the following national cloud deployments. + * Deletes an externalConnection object. * @param ExternalConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?ExternalConnectionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an externalConnection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalConnection object. * @param ExternalConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,12 +146,12 @@ public function toGetRequestInformation(?ExternalConnectionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an externalConnection object. This API is available in the following national cloud deployments. + * Update the properties of an externalConnection object. * @param ExternalConnection $body The request body * @param ExternalConnectionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -165,7 +165,7 @@ public function toPatchRequestInformation(ExternalConnection $body, ?ExternalCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilderGetQueryParameters.php index ae62273a392..258f72bd374 100644 --- a/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an externalConnection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalConnection object. */ class ExternalConnectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php index 9dfd3256786..11768a424e2 100644 --- a/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new externalGroup object. This API is available in the following national cloud deployments. + * Create a new externalGroup object. * @param ExternalGroup $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(ExternalGroup $body, ?GroupsRequestBuilderPostRequestConfig } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new externalGroup object. This API is available in the following national cloud deployments. + * Create a new externalGroup object. * @param ExternalGroup $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(ExternalGroup $body, ?GroupsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php index 6a53b8b36c6..62b438c0d19 100644 --- a/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php index 04787b1ff56..9923727816a 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an externalGroup object. This API is available in the following national cloud deployments. + * Delete an externalGroup object. * @param ExternalGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ExternalGroupItemRequestBuilderDeleteRequestConfiguratio } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param ExternalGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ExternalGroupItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of an externalGroup object. This API is available in the following national cloud deployments. + * Update the properties of an externalGroup object. * @param ExternalGroup $body The request body * @param ExternalGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ExternalGroup $body, ?ExternalGroupItemRequestBuilderPatch } /** - * Delete an externalGroup object. This API is available in the following national cloud deployments. + * Delete an externalGroup object. * @param ExternalGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ExternalGroupItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. * @param ExternalGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ExternalGroupItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an externalGroup object. This API is available in the following national cloud deployments. + * Update the properties of an externalGroup object. * @param ExternalGroup $body The request body * @param ExternalGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ExternalGroup $body, ?ExternalGroupIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php index 7f271f12857..d4da993e595 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an externalGroup object. This API is available in the following national cloud deployments. + * Get an externalGroup object. */ class ExternalGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php index e3b9c579b0a..14c9f100629 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an identity resource to remove the corresponding member from an externalGroup. This API is available in the following national cloud deployments. + * Delete an identity resource to remove the corresponding member from an externalGroup. * @param IdentityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(Identity $body, ?IdentityItemRequestBuilderPatchRequestCon } /** - * Delete an identity resource to remove the corresponding member from an externalGroup. This API is available in the following national cloud deployments. + * Delete an identity resource to remove the corresponding member from an externalGroup. * @param IdentityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?IdentityItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?IdentityItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Identity $body, ?IdentityItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php index 4a6ae16b5ea..f68b279b99c 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create an identity resource for a new member in an externalGroup. This API is available in the following national cloud deployments. + * Create an identity resource for a new member in an externalGroup. * @param Identity $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an identity resource for a new member in an externalGroup. This API is available in the following national cloud deployments. + * Create an identity resource for a new member in an externalGroup. * @param Identity $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Identity $body, ?MembersRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php index 5431f7a10a5..0e1cdd4d74e 100644 --- a/src/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ExternalActivity $body, ?ActivitiesRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php index 160feff9863..a400e90d732 100644 --- a/src/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ExternalActivityItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ExternalActivityItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ExternalActivity $body, ?ExternalActiv $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php index 9cfe187bd37..37ed45c1548 100644 --- a/src/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PerformedByRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 1c6a9dcd96a..8514efdbdbe 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an externalItem object. This API is available in the following national cloud deployments. + * Delete an externalItem object. * @param ExternalItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?ExternalItemItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ExternalItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutReques } /** - * Delete an externalItem object. This API is available in the following national cloud deployments. + * Delete an externalItem object. * @param ExternalItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?ExternalItemItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ExternalItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPutRequestInformation(ExternalItem $body, ?ExternalItemItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php index c44b50b3411..e107a31080b 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. */ class ExternalItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php index f468788bc54..10863179219 100644 --- a/src/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(AddActivitiesPostRequestBody $body, ?Mi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/ItemsRequestBuilder.php b/src/Generated/External/Connections/Item/Items/ItemsRequestBuilder.php index 9879268f9b1..9356b362888 100644 --- a/src/Generated/External/Connections/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/ItemsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(ExternalItem $body, ?ItemsRequestBuilderPostRequestConfigur } /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ExternalItem $body, ?ItemsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php index ce1ef1d70e6..efd948e62a9 100644 --- a/src/Generated/External/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Items/ItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an externalItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an externalItem object. */ class ItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php b/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php index cd52b7efdc9..e8ef6af8a24 100644 --- a/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ConnectionOperationItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param ConnectionOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ConnectionOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param ConnectionOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ConnectionOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(ConnectionOperation $body, ?Connection $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php index 13e484ccb04..46b55b4b4bf 100644 --- a/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. */ class ConnectionOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.php b/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.php index e23d02a3a0a..ed212faf564 100644 --- a/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(ConnectionOperation $body, ?OperationsRequestBuilderPostReq } /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ConnectionOperation $body, ?OperationsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index 50c02d086fd..24dc9faf3a8 100644 --- a/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a connectionOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a connectionOperation object. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php index 1f07526c56e..b20d73bf8c8 100644 --- a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a schema object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a schema object. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?SchemaRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new schema object. This API is available in the following national cloud deployments. + * Create a new schema object. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -64,7 +64,7 @@ public function patch(Schema $body, ?SchemaRequestBuilderPatchRequestConfigurati } /** - * Read the properties and relationships of a schema object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a schema object. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -80,12 +80,12 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new schema object. This API is available in the following national cloud deployments. + * Create a new schema object. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -99,7 +99,7 @@ public function toPatchRequestInformation(Schema $body, ?SchemaRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php index d727bc21b0a..6bbd2a04937 100644 --- a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a schema object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a schema object. */ class SchemaRequestBuilderGetQueryParameters { diff --git a/src/Generated/External/ExternalRequestBuilder.php b/src/Generated/External/ExternalRequestBuilder.php index b4f3b21f293..306ae33d88a 100644 --- a/src/Generated/External/ExternalRequestBuilder.php +++ b/src/Generated/External/ExternalRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?ExternalRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(External $body, ?ExternalRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/FilterOperators/FilterOperatorsRequestBuilder.php b/src/Generated/FilterOperators/FilterOperatorsRequestBuilder.php index 2474843662e..430a1864627 100644 --- a/src/Generated/FilterOperators/FilterOperatorsRequestBuilder.php +++ b/src/Generated/FilterOperators/FilterOperatorsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FilterOperatorsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(FilterOperatorSchema $body, ?FilterOper $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.php b/src/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.php index eebf6b28da4..328360d581e 100644 --- a/src/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.php +++ b/src/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FilterOperatorSchemaItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FilterOperatorSchemaItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FilterOperatorSchema $body, ?FilterOpe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Functions/FunctionsRequestBuilder.php b/src/Generated/Functions/FunctionsRequestBuilder.php index c2583604041..9bf39ede2ac 100644 --- a/src/Generated/Functions/FunctionsRequestBuilder.php +++ b/src/Generated/Functions/FunctionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AttributeMappingFunctionSchema $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.php b/src/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.php index 36d28f071d9..9486cfc91ca 100644 --- a/src/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.php +++ b/src/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AttributeMappingFunctionSchemaItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AttributeMappingFunctionSchemaItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AttributeMappingFunctionSchema $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php index 57003901ef9..c66b2e304cf 100644 --- a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the groupLifecyclePolicies. This API is available in the following national cloud deployments. + * List all the groupLifecyclePolicies. * @param GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration } /** - * Creates a new groupLifecyclePolicy. This API is available in the following national cloud deployments. + * Creates a new groupLifecyclePolicy. * @param GroupLifecyclePolicy $body The request body * @param GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(GroupLifecyclePolicy $body, ?GroupLifecyclePoliciesRequestB } /** - * List all the groupLifecyclePolicies. This API is available in the following national cloud deployments. + * List all the groupLifecyclePolicies. * @param GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?GroupLifecyclePoliciesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Creates a new groupLifecyclePolicy. This API is available in the following national cloud deployments. + * Creates a new groupLifecyclePolicy. * @param GroupLifecyclePolicy $body The request body * @param GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(GroupLifecyclePolicy $body, ?GroupLifec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php index e1c7fceeece..94447b551f3 100644 --- a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the groupLifecyclePolicies. This API is available in the following national cloud deployments. + * List all the groupLifecyclePolicies. */ class GroupLifecyclePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php index 2df2872f54a..c8f3a581e00 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. This API is available in the following national cloud deployments. + * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddGroupPostRequestBody $body, ?AddGroupRequestBuilderPostR } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. This API is available in the following national cloud deployments. + * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddGroupPostRequestBody $body, ?AddGrou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php index 52158330fdc..6a7f84c413b 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a groupLifecyclePolicy. This API is available in the following national cloud deployments. + * Delete a groupLifecyclePolicy. * @param GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a groupLifecyclePolicies object. * @param GroupLifecyclePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?GroupLifecyclePolicyItemRequestBuilderGetRequestConfigurati } /** - * Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. This API is available in the following national cloud deployments. + * Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. * @param GroupLifecyclePolicy $body The request body * @param GroupLifecyclePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(GroupLifecyclePolicy $body, ?GroupLifecyclePolicyItemReque } /** - * Delete a groupLifecyclePolicy. This API is available in the following national cloud deployments. + * Delete a groupLifecyclePolicy. * @param GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?GroupLifecyclePolicyItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a groupLifecyclePolicies object. * @param GroupLifecyclePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?GroupLifecyclePolicyItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. This API is available in the following national cloud deployments. + * Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. * @param GroupLifecyclePolicy $body The request body * @param GroupLifecyclePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(GroupLifecyclePolicy $body, ?GroupLife $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilderGetQueryParameters.php index 93ba61a802e..54c67cbea6e 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a groupLifecyclePolicies object. */ class GroupLifecyclePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php index 535db5136f5..146de7c2319 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes a group from a lifecycle policy. This API is available in the following national cloud deployments. + * Removes a group from a lifecycle policy. * @param RemoveGroupPostRequestBody $body The request body * @param RemoveGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RemoveGroupPostRequestBody $body, ?RemoveGroupRequestBuilde } /** - * Removes a group from a lifecycle policy. This API is available in the following national cloud deployments. + * Removes a group from a lifecycle policy. * @param RemoveGroupPostRequestBody $body The request body * @param RemoveGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemoveGroupPostRequestBody $body, ?Remo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.php b/src/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.php index 7c8f6d7653f..1c57db919b0 100644 --- a/src/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 84ba51947e6..c80fc4bfb8a 100644 --- a/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.php index 32306f387fb..582d2061bfb 100644 --- a/src/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.php b/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.php index 3a987164263..cffedb8990d 100644 --- a/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. This API is available in the following national cloud deployments. + * Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. * @param GroupSettingTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function post(GroupSettingTemplate $body, ?GroupSettingTemplatesRequestBu } /** - * Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. This API is available in the following national cloud deployments. + * Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. * @param GroupSettingTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,7 +132,7 @@ public function toGetRequestInformation(?GroupSettingTemplatesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toPostRequestInformation(GroupSettingTemplate $body, ?GroupSetti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilderGetQueryParameters.php index cf7b7a70f55..097e2e92b38 100644 --- a/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. This API is available in the following national cloud deployments. + * Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. */ class GroupSettingTemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index d468e054432..1e61e5c6c97 100644 --- a/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 608b504ab94..8e9ff2d8ce0 100644 --- a/src/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index e2c87926eb5..e40f7b22781 100644 --- a/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index dd21d195289..6929d79890d 100644 --- a/src/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.php index 999bdb47c69..fbab343866a 100644 --- a/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?GroupSettingTemplateItemRequestBuilderDeleteRequestConfi } /** - * A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. This API is available in the following national cloud deployments. + * A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. * @param GroupSettingTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?GroupSettingTemplateItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. This API is available in the following national cloud deployments. + * A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. * @param GroupSettingTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?GroupSettingTemplateItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(GroupSettingTemplate $body, ?GroupSett $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilderGetQueryParameters.php b/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilderGetQueryParameters.php index f62599ba1ce..61a96b04b75 100644 --- a/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. This API is available in the following national cloud deployments. + * A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. */ class GroupSettingTemplateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php b/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php index a53e8262cc6..df571ed81c7 100644 --- a/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php index 82e0a0b9b86..eedaf50f683 100644 --- a/src/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php b/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php index 2f214447da6..bbfa04f9512 100644 --- a/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php +++ b/src/Generated/GroupSettings/GroupSettingsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + * Retrieve a list of tenant-level or group-specific group settings objects. * @param GroupSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?GroupSettingsRequestBuilderGetRequestConfiguration $request } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param GroupSettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(GroupSetting $body, ?GroupSettingsRequestBuilderPostRequest } /** - * Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + * Retrieve a list of tenant-level or group-specific group settings objects. * @param GroupSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?GroupSettingsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param GroupSettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(GroupSetting $body, ?GroupSettingsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettings/GroupSettingsRequestBuilderGetQueryParameters.php b/src/Generated/GroupSettings/GroupSettingsRequestBuilderGetQueryParameters.php index b327587b8d5..602f23b7cb2 100644 --- a/src/Generated/GroupSettings/GroupSettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/GroupSettings/GroupSettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + * Retrieve a list of tenant-level or group-specific group settings objects. */ class GroupSettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php b/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php index c7660772091..c85701c7048 100644 --- a/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php +++ b/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a tenant-level or group-specific groupSetting object. This API is available in the following national cloud deployments. + * Delete a tenant-level or group-specific groupSetting object. * @param GroupSettingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?GroupSettingItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. * @param GroupSettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?GroupSettingItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. This API is available in the following national cloud deployments. + * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. * @param GroupSetting $body The request body * @param GroupSettingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(GroupSetting $body, ?GroupSettingItemRequestBuilderPatchRe } /** - * Delete a tenant-level or group-specific groupSetting object. This API is available in the following national cloud deployments. + * Delete a tenant-level or group-specific groupSetting object. * @param GroupSettingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?GroupSettingItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. * @param GroupSettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?GroupSettingItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. This API is available in the following national cloud deployments. + * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. * @param GroupSetting $body The request body * @param GroupSettingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(GroupSetting $body, ?GroupSettingItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php b/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php index 3fe9318a0bd..4e0191dd390 100644 --- a/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/GroupSettings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. */ class GroupSettingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Delta/DeltaRequestBuilder.php index a0e70c97e45..b0449635dd4 100644 --- a/src/Generated/Groups/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 80229073b31..b10c42baf58 100644 --- a/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Groups/GetByIds/GetByIdsRequestBuilder.php index d1f0f38038d..fa6446bdebe 100644 --- a/src/Generated/Groups/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Groups/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/GroupsRequestBuilder.php index dea6954c0f0..643a89462c8 100644 --- a/src/Generated/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/GroupsRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. This API is available in the following national cloud deployments. + * List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -117,7 +117,7 @@ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration } /** - * List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. This API is available in the following national cloud deployments. + * List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -152,7 +152,7 @@ public function toPostRequestInformation(Group $body, ?GroupsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/GroupsRequestBuilderGetQueryParameters.php index bbf9743d664..737209059e5 100644 --- a/src/Generated/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. This API is available in the following national cloud deployments. + * List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php index 83e5cf1efc9..217ad0f171a 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param AcceptedSendersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?AcceptedSendersRequestBuilderGetRequestConfiguration $reque } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param AcceptedSendersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?AcceptedSendersRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php index c14f49efa66..58ea5743306 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. */ class AcceptedSendersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.php index c02ece9b028..7b05fd3114b 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.php @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php index cf538904d92..b461916c154 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + * Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php index 77e97ac7a70..3cef59c13fd 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + * Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php b/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php index 79ad9e36eb4..57d1b49eeff 100644 --- a/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php +++ b/src/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. * @param AddFavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?AddFavoriteRequestBuilderPostRequestConfiguration $request } /** - * Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. * @param AddFavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?AddFavoriteRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php b/src/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php index fa5eafbc4f4..681540bfd4b 100644 --- a/src/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php @@ -68,7 +68,7 @@ public function get(?AppRoleAssignmentsRequestBuilderGetRequestConfiguration $re } /** - * Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. This API is available in the following national cloud deployments. + * Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. * @param AppRoleAssignment $body The request body * @param AppRoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AppRoleAssignmentsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. This API is available in the following national cloud deployments. + * Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. * @param AppRoleAssignment $body The request body * @param AppRoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AppRoleAssignment $body, ?AppRoleAssign $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php b/src/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php index 977ab38e50c..a6e895e5621 100644 --- a/src/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes an appRoleAssignment that a group has been granted. This API is available in the following national cloud deployments. + * Deletes an appRoleAssignment that a group has been granted. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(AppRoleAssignment $body, ?AppRoleAssignmentItemRequestBuil } /** - * Deletes an appRoleAssignment that a group has been granted. This API is available in the following national cloud deployments. + * Deletes an appRoleAssignment that a group has been granted. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?AppRoleAssignmentItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?AppRoleAssignmentItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(AppRoleAssignment $body, ?AppRoleAssig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php b/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php index af9014fab34..baa4e09e922 100644 --- a/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. This API is available in the following national cloud deployments. + * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AssignLicensePostRequestBody $body, ?AssignLicenseRequestBu } /** - * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. This API is available in the following national cloud deployments. + * Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AssignLicensePostRequestBody $body, ?As $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php b/src/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php index 1bc0067844d..51a281cc9cf 100644 --- a/src/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?AllowedCalendarSharingRolesWithUserRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php index abd47d8d494..879c5f75f94 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarPermissionsRequestBuilderGetRequestConfiguration $r } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CalendarPermission $body, ?CalendarPermissionsRequestBuilde } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CalendarPermission $body, ?CalendarPerm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index d731a110b20..5a4fc6ae417 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. */ class CalendarPermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index 4be06f644cc..1adc109347f 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CalendarPermissionItemRequestBuilderDeleteRequestConfigu } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?CalendarPermissionItemRequestBuilderGetRequestConfiguration } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(CalendarPermission $body, ?CalendarPermissionItemRequestBu } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?CalendarPermissionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(CalendarPermission $body, ?CalendarPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index 26f387f8c5c..d093b884cc9 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. */ class CalendarPermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php index 3922859bdf0..ae8ac77ea96 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php @@ -104,7 +104,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php index 2575e45fbe3..7bdecc1599b 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php index 18012d7c63d..a5455bcf725 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php index 2c26bd358f4..17c0e798af8 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php index bcf4182fb3c..b5769a3e2d9 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index ea274838d78..98659c0a174 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 3c17aef2d50..631c74d10bc 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index a1d3276cc50..cc776af3751 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php index d321dc55349..0fe636902c4 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php index cbb22ce89e9..f88df81c25c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php index a3988b21f67..e80129c3987 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php index 4894f9b7172..b8e81649191 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php index 22327ba5411..62b939472ad 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php index 1cbb4685e47..32c36b77b3c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php @@ -150,7 +150,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index 25dad577893..02751dde50c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index ee023beeda0..00b16218446 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index d96cf5ec643..c30553dae50 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 2fc1590e8aa..d4ba6fcbedf 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php index 166d0f9b9de..71ae4bd9d03 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php index 23f88e6b45c..649d00ba1e4 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 8ee65b6121f..bc0cc95491c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php index 942636e7361..31d1ab0390d 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 984dc90edc6..07b282aa902 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index e49ff0b0f0a..e3d718e4ae2 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 54931c1095a..8b1b64df16c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 8d8ad129c32..d69a12048ff 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index b0a1b660d13..cf2c6789f9c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index dcb572536d9..30008ee8acf 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php index f6e5f5f429f..569664ddf1f 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php index 8892b8df135..e059095b37f 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index f6668cd0e4d..1d9593c0bf2 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 6d5bc61026b..a1103b89727 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 7b6da38e0aa..5d5227697c3 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index f2d86ddb701..e63147ce90f 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 971f6e179d5..2df4487c068 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index df3d7134130..2f6f90d7900 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 3201618275b..955e8f24207 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 10ab6ae41d7..bbc86b8d6b2 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 9b0ca280e79..f6713b97df3 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index cd6b4c39cc3..1302ee3d554 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 5d0a773a136..f7c07a55fc8 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.php index 35e4a06f9e8..d5c2de9dc0e 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php index 7d840d7603c..0e108ac6bb1 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php index 21bd526fdd0..34a089e3e04 100644 --- a/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Event $body, ?EventsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php index d16cb8e87ce..d2852dcfe98 100644 --- a/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. */ class EventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php index 40c49c40cba..0f05874d76a 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php index 345167b7ef5..8f90e94f536 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 7afc6325458..ab69b60e4dc 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 82bb80ad3b9..35adac98ed3 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php index ae659a9f628..20485c237ca 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php index 3ab2a94a254..2bb1c4b6792 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php index b4c8e1b8400..3aad19b691e 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php index fe6ab829536..e3b87f6fddd 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php index 96324e5df08..4fb21af682b 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.php index 5d1fb7f7e2b..a31f143632f 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.php @@ -149,7 +149,7 @@ public function get(?EventItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -179,7 +179,7 @@ public function toDeleteRequestInformation(?EventItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -200,12 +200,12 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -219,7 +219,7 @@ public function toPatchRequestInformation(Event $body, ?EventItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php index 890c791a7e2..071dd99f7b1 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index a95d5fd0f35..8f4642bc381 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 186072c6ab6..33307b38f79 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 5d5d8566604..bd65c6954a5 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php index fcd255d3d4f..c3097bcc4bc 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php index f2d58b46e44..5b6df245bca 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 0abece150d8..2ef2805e46e 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php index f7317264b04..22196f81e91 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 42ce73b2395..2def9ca11ed 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 70267607e3a..445fac1e779 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 35a000c1130..03fe02ad629 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 041c300e3ba..7bfd5f5dad6 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index fb95b18f472..5f0bd838e4e 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 6fe1291e2c9..3d80d9e670d 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 7d2b1231453..7365720391b 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php index d89fc71a6f2..4d7c8d8e7d9 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 47bec0b7025..b99761d41dc 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php index 6164cc36c68..fe895550073 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index bd9078a5f67..ea8f55c8708 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 17cd5b805f7..eb94fdbe94e 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 42ad7c1376b..3b1a685b704 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 64f131bbdc5..96d05d9fa69 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index b09bd5d1c34..376c1e3d4d7 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 1f8dccde739..fb7659e938a 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index a3476977757..4ce4bcbbdb8 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 74f53e0e084..d70e2b0e14a 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index af02e7c4126..d6882e503f2 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php b/src/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php index 93b0b6670bf..f6c677be731 100644 --- a/src/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetSchedulePostRequestBody $body, ?GetScheduleRequestBuilde } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetSchedulePostRequestBody $body, ?GetS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php index eeb9ef4887b..f8f7812795c 100644 --- a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.php index dd6ee3c0aea..b23665a1cc6 100644 --- a/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php index 6ca62a57a12..b29dbbb2c03 100644 --- a/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index b9c03648956..345b279de6b 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 4d951be9781..243145d2a13 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index dc7de00ab0d..6302d9202d3 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 262420b73f6..1aa6b053d28 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 8aea3d99d79..78424ec687c 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index fd25ce6fd5a..ecb776aea4a 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php index 02bc13cdb3a..c57fbc7bace 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php index 301826f7a02..9eab394a6d8 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php index 77b632e9be1..560c9997c32 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php index 054560dc514..b45179a7ce8 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -150,7 +150,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index e0f43bbd8bd..fa7fd518996 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 364dcc07468..eb7f0e3df49 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index a833872fff8..dab98cdc2cf 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index c1e02d51894..f500032fb21 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index 428e6443eab..3bae73a5a59 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php index e9c6e94ccd7..e69e7713f07 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 803b7818410..6fa2d29ae86 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index dbca59cd749..dfcb01c5b5e 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 0528787596c..f556e171871 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index da6514c831d..1bc13caf167 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index dc205b39ae0..d0d855bdb29 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 9238e30e5da..a2056e5ba64 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 038a5d3e21d..dd4c83d2624 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 201768d8340..24f851529e2 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 03711d91efd..00cca50e1d4 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php index fbed56b9cfe..435ea48a342 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index a557b5b18c7..d929528a8de 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 32ebe164894..f383708abae 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index a006fcfcc01..2ecab9e9225 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 96838ffd7e6..6ec72d9bdb2 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 0717ab7bb0e..4784aface22 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 2b6fb94ca1e..222ebb73b76 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 6eef3dff4d5..651506aac4f 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 9c1e566438f..e398ef2f468 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 3b8174b5d77..731342ad713 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 0899ac291dc..486161794bf 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index a49a94f4624..7c2cfaddb67 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.php b/src/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.php index c6b8ba57699..a511e47b3ac 100644 --- a/src/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.php +++ b/src/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?CheckGrantedPermissionsForAppRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 7290768611d..37a97b42ba1 100644 --- a/src/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 8262273f3ed..73fbe62446c 100644 --- a/src/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 26f4f1243f1..8c12dfc8f04 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of conversations in this group. This API is available in the following national cloud deployments. + * Retrieve the list of conversations in this group. * @param ConversationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequest } /** - * Retrieve the list of conversations in this group. This API is available in the following national cloud deployments. + * Retrieve the list of conversations in this group. * @param ConversationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Conversation $body, ?ConversationsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php index 7fde52f2723..105784ac834 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of conversations in this group. This API is available in the following national cloud deployments. + * Retrieve the list of conversations in this group. */ class ConversationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 3e01d335a91..6c6784b2bf5 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This API is available in the following national cloud deployments. + * Delete conversation. * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * This API is available in the following national cloud deployments. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requ } /** - * This API is available in the following national cloud deployments. + * Delete conversation. * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -84,12 +84,12 @@ public function toDeleteRequestInformation(?ConversationItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * This API is available in the following national cloud deployments. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -105,7 +105,7 @@ public function toGetRequestInformation(?ConversationItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php index 7f1ca986e69..f564a792d29 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * This API is available in the following national cloud deployments. + * The group's conversations. */ class ConversationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index 4e9e025d078..c1f6bc54338 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ConversationThreadItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(ConversationThread $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php index 82d64d40cb4..a58d80ba7c9 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index ad15d4502c5..bc56fe3c55a 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index ba111566245..05abe9f6b99 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php index d5072dbce91..be88b87c383 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -74,7 +74,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -95,7 +95,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php index b8f41ba98f2..75ac682ae38 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 16b822fb8d4..4465d4e355b 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 54b84ff769a..44ce78cfba9 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $request } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index d2693f7b8ed..9f3b67a0dbf 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php index 3f2ccbbd845..f5fe18fe011 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php index 6af2dfaabdb..fdaa67fee03 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 4e77510d608..6c8668c06f6 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 837fc880325..490171b5e69 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php index 07ff9003a7a..44ea339da9c 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php @@ -74,7 +74,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -95,7 +95,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php index 09fcc5d17ee..720de7a8b44 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 215fbbef7dd..c170a900a12 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php index 0fcdbcd8559..49edbcdd173 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $request } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 008daf44db2..49fadfcc9e4 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php index b7c5cf83ab8..43a7a5ccfb9 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php index 94a9ad9d14f..4d808d4ee9a 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php @@ -94,7 +94,7 @@ public function toGetRequestInformation(?InReplyToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index 59780e6c313..f78dcf9050e 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php index 5b08280f10e..1a4d1ae1227 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php @@ -102,7 +102,7 @@ public function toGetRequestInformation(?PostItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index 93138c333d2..a633b287e7d 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php index 9156d4809e9..060929ac8dc 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?PostsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 171f7df4a1b..29feeb1465f 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 3f1c5dad840..f2458caa35f 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.php index f4adcabdd8c..9a4a3ee31ab 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the threads in a group conversation. Note: You can also get all the threads of a group. This API is available in the following national cloud deployments. + * Get all the threads in a group conversation. Note: You can also get all the threads of a group. * @param ThreadsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ThreadsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further post to that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. This API is available in the following national cloud deployments. + * Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further post to that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. * @param ConversationThread $body The request body * @param ThreadsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ConversationThread $body, ?ThreadsRequestBuilderPostRequest } /** - * Get all the threads in a group conversation. Note: You can also get all the threads of a group. This API is available in the following national cloud deployments. + * Get all the threads in a group conversation. Note: You can also get all the threads of a group. * @param ThreadsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ThreadsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further post to that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. This API is available in the following national cloud deployments. + * Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further post to that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. * @param ConversationThread $body The request body * @param ThreadsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ConversationThread $body, ?ThreadsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php index 557d1585f1f..b4817777b11 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the threads in a group conversation. Note: You can also get all the threads of a group. This API is available in the following national cloud deployments. + * Get all the threads in a group conversation. Note: You can also get all the threads of a group. */ class ThreadsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php b/src/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php index ee82ed86c46..4b64dc5a864 100644 --- a/src/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php +++ b/src/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CreatedOnBehalfOfRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Drive/DriveRequestBuilder.php b/src/Generated/Groups/Item/Drive/DriveRequestBuilder.php index 3be723dcb3f..87ba1b3eec7 100644 --- a/src/Generated/Groups/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Groups/Item/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Drives/DrivesRequestBuilder.php b/src/Generated/Groups/Item/Drives/DrivesRequestBuilder.php index 3c8ca6e6e79..6f1a4fa5138 100644 --- a/src/Generated/Groups/Item/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Groups/Item/Drives/DrivesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.php b/src/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.php index 304c102f6dc..4b14b126d5d 100644 --- a/src/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.php index 0a56daa75d5..6b4ceed07ff 100644 --- a/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php index f3146b52285..2b2d7314f9c 100644 --- a/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/EventsRequestBuilder.php b/src/Generated/Groups/Item/Events/EventsRequestBuilder.php index ba893a0fc9c..4c0c5873dc3 100644 --- a/src/Generated/Groups/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/EventsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of event objects. This API is available in the following national cloud deployments. + * Retrieve a list of event objects. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Use this API to create a new event. This API is available in the following national cloud deployments. + * Use this API to create a new event. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration } /** - * Retrieve a list of event objects. This API is available in the following national cloud deployments. + * Retrieve a list of event objects. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new event. This API is available in the following national cloud deployments. + * Use this API to create a new event. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Event $body, ?EventsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php index 2d128495bd1..2cf17ee0e95 100644 --- a/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of event objects. This API is available in the following national cloud deployments. + * Retrieve a list of event objects. */ class EventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php index 7bf3852954e..fc99808fc58 100644 --- a/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index 54d90169079..bdbe303f863 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 6445bbef72f..8f50fec1d88 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6cc0bf3ab5a..f547b6b8d5e 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php index d2a0df259df..ec914263441 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php index 200b504e3f9..a3312225006 100644 --- a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.php index e878a327ead..35282f81452 100644 --- a/src/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.php index c9ca594b725..9b480df0935 100644 --- a/src/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php index df186bfa81a..b8e4a3c03e6 100644 --- a/src/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php index fa44e49da90..55b1ed93374 100644 --- a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php @@ -119,7 +119,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an event object. This API is available in the following national cloud deployments. + * Delete an event object. * @param EventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function delete(?EventItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Get an event object. This API is available in the following national cloud deployments. + * Get an event object. * @param EventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -167,7 +167,7 @@ public function patch(Event $body, ?EventItemRequestBuilderPatchRequestConfigura } /** - * Delete an event object. This API is available in the following national cloud deployments. + * Delete an event object. * @param EventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -180,12 +180,12 @@ public function toDeleteRequestInformation(?EventItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an event object. This API is available in the following national cloud deployments. + * Get an event object. * @param EventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -201,7 +201,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -220,7 +220,7 @@ public function toPatchRequestInformation(Event $body, ?EventItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php index 5eac55fa20c..d5f1231710c 100644 --- a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an event object. This API is available in the following national cloud deployments. + * Get an event object. */ class EventItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index e161653e337..8de9eb1ead8 100644 --- a/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index ee50811ed71..b84eb9e6077 100644 --- a/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 609bf628a46..32c7c5c83fb 100644 --- a/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 05e51700aa1..8e0f43e45fc 100644 --- a/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php index 6c82b819ea4..52857bdcbfc 100644 --- a/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php index 67057fdfcdb..ff2c6eebd2d 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 39f3118f660..86a09080827 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php index 9de5099c594..0a02413ff35 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php index ab65a2bbf6f..2b1413ebaad 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 0f381bf2b13..6d0c2b0063c 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index f2f9d977387..26638bae8c7 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f44b5e5f7de..7e9f5afe97a 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index dbc5dd4350e..938e0ccd3ed 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index bea3f12a63f..a434c4b9954 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php index e51f6b9bc41..86b2870377a 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php index 540dadbb731..341f7e2911f 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 021141b6195..e29729fa100 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index fd56af3c6f6..52d9338a402 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index ce56b8b7912..b6cc9695599 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 6262f0b034e..db33369b88f 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 7e16a2d5064..98841a305d4 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index e805975207a..8666d94dda8 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index e70c6a621b2..1f619201094 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 6707e7b0024..66e7c041da8 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index f192e019dd5..4e0e5f3da84 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 660149e454d..d29a06f8711 100644 --- a/src/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index cc60b63b485..13d20ac619c 100644 --- a/src/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.php index 21f0372e9f6..a0739de54df 100644 --- a/src/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 6438e6c5b8d..cea7ed88ffb 100644 --- a/src/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index c1393d5ec96..644811628ca 100644 --- a/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index cd16b03c415..d032252cb4c 100644 --- a/src/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GroupItemRequestBuilder.php b/src/Generated/Groups/Item/GroupItemRequestBuilder.php index eaeea53628d..393fd5d28f9 100644 --- a/src/Generated/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupItemRequestBuilder.php @@ -375,7 +375,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. This API is available in the following national cloud deployments. + * Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -391,7 +391,7 @@ public function delete(?GroupItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. This API is available in the following national cloud deployments. + * Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -407,7 +407,7 @@ public function get(?GroupItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. * @param Group $body The request body * @param GroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -424,7 +424,7 @@ public function patch(Group $body, ?GroupItemRequestBuilderPatchRequestConfigura } /** - * Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. This API is available in the following national cloud deployments. + * Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -437,12 +437,12 @@ public function toDeleteRequestInformation(?GroupItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. This API is available in the following national cloud deployments. + * Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -458,12 +458,12 @@ public function toGetRequestInformation(?GroupItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. * @param Group $body The request body * @param GroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -477,7 +477,7 @@ public function toPatchRequestInformation(Group $body, ?GroupItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php index 71f940cdad2..6c819a2afe0 100644 --- a/src/Generated/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. This API is available in the following national cloud deployments. + * Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. */ class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php index adebd0a2153..1dfcbef4b01 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieves a list of groupLifecyclePolicy objects to which a group belongs. This API is available in the following national cloud deployments. + * Retrieves a list of groupLifecyclePolicy objects to which a group belongs. * @param GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(GroupLifecyclePolicy $body, ?GroupLifecyclePoliciesRequestB } /** - * Retrieves a list of groupLifecyclePolicy objects to which a group belongs. This API is available in the following national cloud deployments. + * Retrieves a list of groupLifecyclePolicy objects to which a group belongs. * @param GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?GroupLifecyclePoliciesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(GroupLifecyclePolicy $body, ?GroupLifec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php index 0de362ebc22..c5adba35fb7 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieves a list of groupLifecyclePolicy objects to which a group belongs. This API is available in the following national cloud deployments. + * Retrieves a list of groupLifecyclePolicy objects to which a group belongs. */ class GroupLifecyclePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php index a6a7807abed..7601b46618f 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. This API is available in the following national cloud deployments. + * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddGroupPostRequestBody $body, ?AddGroupRequestBuilderPostR } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. This API is available in the following national cloud deployments. + * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddGroupPostRequestBody $body, ?AddGrou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php index f32dd2a6f58..0f9f84f7c80 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?GroupLifecyclePolicyItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?GroupLifecyclePolicyItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(GroupLifecyclePolicy $body, ?GroupLife $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php index 28bd8e0f3a0..6a961f85594 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes a group from a lifecycle policy. This API is available in the following national cloud deployments. + * Removes a group from a lifecycle policy. * @param RemoveGroupPostRequestBody $body The request body * @param RemoveGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RemoveGroupPostRequestBody $body, ?RemoveGroupRequestBuilde } /** - * Removes a group from a lifecycle policy. This API is available in the following national cloud deployments. + * Removes a group from a lifecycle policy. * @param RemoveGroupPostRequestBody $body The request body * @param RemoveGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemoveGroupPostRequestBody $body, ?Remo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 129c9cd25f5..31472390f46 100644 --- a/src/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php index a308d193d62..c7a26ce1d4b 100644 --- a/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php index ddbac8bf724..88b48ebc7c1 100644 --- a/src/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 1e78d891da9..6b35f1530d1 100644 --- a/src/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index 0c817aa6dae..ccaa00a1f7e 100644 --- a/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php b/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php index cd3b71dc758..1dd2ceac09e 100644 --- a/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php +++ b/src/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MemberOfRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php index 5b5cb9e0e9f..c2052f1d12b 100644 --- a/src/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php index 775e078d7df..3399bc97c30 100644 --- a/src/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.php index 9e0d20353d8..bbfcfa970e1 100644 --- a/src/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php index 1d3e58c3e30..9f48349c941 100644 --- a/src/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index bbad05df31d..ef9d375bd6c 100644 --- a/src/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.php index f168edd28c5..10e4033c312 100644 --- a/src/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php index 6073283311c..1a17107917b 100644 --- a/src/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php index c6efd79a045..3f55e2a463a 100644 --- a/src/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php index 9d4db807bc1..f466f63195e 100644 --- a/src/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index 42ac1033872..a9634e53bb2 100644 --- a/src/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 259a9e2f4fa..808f1075153 100644 --- a/src/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php index 8d5193be3b7..a91abbb0194 100644 --- a/src/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.php index 6d9044d0f72..90dd936f2ae 100644 --- a/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. This API is available in the following national cloud deployments. + * Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. This API is available in the following national cloud deployments. + * Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 81de1755f40..224729a7cb7 100644 --- a/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. This API is available in the following national cloud deployments. + * Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Groups/Item/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Members/MembersRequestBuilder.php index 2747f7ba537..eaa1ae17cbf 100644 --- a/src/Generated/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/MembersRequestBuilder.php @@ -139,7 +139,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php index e4c330e876e..27f78701b72 100644 --- a/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.php index 79ce1548674..52df6b5df26 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.php index 4cb03cb131f..4495a1c2b7b 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.php index 6e09899e62d..4450a16bce2 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.php index 5383ee32668..83267bb5f72 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index dcc1746352a..1838792671f 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.php index 9e75bb4c635..fd155cf380e 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.php index b40a2cb758e..0249a6122df 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.php @@ -110,7 +110,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.php index 293d6e17f58..3f8a023e249 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.php index 7c42f1629e9..56053fe4990 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.php index c39a7d018fa..08cc7dfb25f 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index 975febc84ce..09622002fd1 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index e7ebb20cd11..14d6301dba8 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.php index a195bd08ca4..0770242b8a4 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.php b/src/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.php index 9b796b0140d..a4405f281c4 100644 --- a/src/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.php @@ -130,7 +130,7 @@ public function toGetRequestInformation(?MembersWithLicenseErrorsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index e7952572b10..82d5030def1 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(GetNotebookFromWebUrlPostRequestBody $body, ?GetNotebookFro } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(GetNotebookFromWebUrlPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php index db93210f8bc..3b3775d7eac 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetRecentNotebooksWithIncludePersonalNo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php index dd2ce325adc..04f22ce46ba 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyNotebookPostRequestBody $body, ?CopyNotebookRequestBuil } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyNotebookPostRequestBody $body, ?Cop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php index 0754d25ab86..820a6b635b3 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?NotebookItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?NotebookItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?NotebookItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(Notebook $body, ?NotebookItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php index 0a9262a2bb2..0e279bcfc18 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. */ class NotebookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 2df5feebaff..007319fb96d 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index f5ce6effdde..7a25ce3a042 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index c2545b032f0..7f25a050630 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index a1a669639d5..4a166be891f 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index e07b4daf47b..bdf88334ddb 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 85bc1856971..f529bac6fe7 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 69703c4efb8..fa8b73ff4f0 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 002d5aac2a6..f5f00992697 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 855f26eae2a..994ccd01ccf 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index d3244a8e812..c5cf91f4dc5 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 66785c3c95b..d09a598178c 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 4ed35e9dfda..57b11fad730 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 86db17e7734..66ae5ee6757 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 73e8db5bb42..9547189f1de 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 82eb9d470e6..2c753ab4b3d 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index bdca80bfe19..93cab6dd4fb 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 5a46a4e3e92..ab0b11f7d2b 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index 6be9c099250..60005a97fc7 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 428a8fd5eac..257cc7b057a 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 29b251f3fdd..ec434e15fa6 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php index 1b851cc946c..586cb2e04b5 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 58ee13c8017..6db0b27189a 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index ff2b42b8302..a2a1d050778 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 605ea53ce0d..471f5d1d4ac 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 42477c7ba80..b866ddd42e6 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 4e891d1eaef..f8eda32364c 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index e63c3722e8f..33c1ff633e4 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 577b42fad7a..c80a553ad3a 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 7b90f3120c9..6f0fd2d779d 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 8c97d94c22f..538a031d26c 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 225dd769b07..ee8165233c0 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index ff44b819c4e..5ddb9fd5b2b 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index be2a2df3d80..1e9c98546b0 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 0b33154a04d..99afb315d9b 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php index 97aaba16320..d02fa227540 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index e45b803db1a..5be18057cdf 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 774d995149d..812a6a1e45c 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index b32fda79b7e..70b87aa43dc 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php index 46a9c334065..7ab1044d782 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index dc8ba32a0d0..4ba95b2c4d4 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index b928b83aed6..7329f409a79 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function getRecentNotebooksWithIncludePersonalNotebooks(bool $includePers } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(Notebook $body, ?NotebooksRequestBuilderPostRequestConfigur } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(Notebook $body, ?NotebooksRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php index 727680d564d..71e5d36838f 100644 --- a/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. */ class NotebooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.php b/src/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.php index adc6135f0a3..4c065f20d25 100644 --- a/src/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php index 16a08770b35..040a4bf26dd 100644 --- a/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OnenoteOperationItemRequestBuilderDeleteRequestConfigura } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OnenoteOperationItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OnenoteOperationItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OnenoteOperation $body, ?OnenoteOperat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php index e02ac30f5c0..a5aad877adf 100644 --- a/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OnenoteOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.php index 4990e154a92..6ed137093e5 100644 --- a/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(OnenoteOperation $body, ?OperationsRequestBuilderPostReques } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteOperation $body, ?OperationsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php index ee5e57c0b8a..7a5af2cd018 100644 --- a/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php index 822754ac26e..cc292119c97 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 551ee8bf3fd..7b1ec71b80a 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php index c140d159a75..7dd4be14504 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?OnenotePageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(OnenotePage $body, ?OnenotePageItemRequestBuilderPatchRequ } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php index b40ed98b152..2e675328c69 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. */ class OnenotePageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 436c5919917..a87c4ca0f8e 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index e1b54dd0b5f..be26d815b0b 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 2f5af0402da..26b4add13de 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php index c268045147c..59adbaf36b0 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.php index 8cdb73cc941..510f2ca7528 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php index 1e050c62b59..d947287d045 100644 --- a/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php index 21e30f9ba65..0fe4efe9506 100644 --- a/src/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php index 01d4ebc0fd6..21aed7e069e 100644 --- a/src/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?OnenoteResourceItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?OnenoteResourceItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(OnenoteResource $body, ?OnenoteResourc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.php index 6afed81c410..731fd830156 100644 --- a/src/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteResource $body, ?ResourcesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index d135f892138..bca7a236973 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 3ed7cc82530..d6e4dbfaf2f 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 8eac53ffe29..403110bc1a0 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?SectionGroupItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php index 18f3383bfd8..72221ded83d 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. */ class SectionGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 53c582cb9fa..7dfcdb339e3 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index afe61c4a427..970d3b31e9e 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 4cac9e16ffd..5779fe261dd 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index df39d47e466..1da6f134aad 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 5952c9a5a07..1ce7133fc34 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index cc84dcabde5..f50534057e4 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 4f86755468e..d55c2343519 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 95827185809..5c564f46513 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 81aad9b369e..538d822da39 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index cb83cab3ccb..1e17c2f200f 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 1d986dbf162..4ba824882f7 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 77dcb3e8032..1d186631f6a 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index a70a5771016..6022a72d94e 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 43f3b8f0b28..e236930bcaf 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index 8306b1138f7..cf931f7536e 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 94438bedf60..936418ab6b4 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index d1042453136..a5768ee0e19 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php index 22ac85512ff..5dad7c3fd84 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 96a563b43b7..625575715ea 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index 4118cf5e86b..a9bd8a9c251 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 911e798e156..393d50371e0 100644 --- a/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index c4f94e891cf..b1e089e442c 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index d5b8a694b6f..d1cae5e176f 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php index 32d0dd845cb..e68661c5ec5 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?OnenoteSectionItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php index 32bae1570b4..067b0929a67 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. */ class OnenoteSectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 73cd9ceb0c3..ba10f43dd07 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index f30581b7fc9..4e9a5992e12 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 9f1bc13beca..b03f69ebdde 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index b9d82775962..f567b297b1e 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index e5b090d1c85..6d32928e96e 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 1f3158eb408..45dc38de475 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 1d737cb6f74..1e12bbccaa1 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php index 8422809a77a..c1610e6e3fa 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index ce750d5fd5f..4ae3eea9a1e 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 195f2e4e7d4..e6d0967852c 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 5bbcf15bf4a..25810656396 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.php index 96cca202785..c6eb8173419 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php index ae2731bf4f2..7188b18370d 100644 --- a/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.php index d5f12861508..bfd095ec7f1 100644 --- a/src/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.php index ab0c4e11305..611e3ee2128 100644 --- a/src/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.php index a7d6e106721..5ea861a50c6 100644 --- a/src/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.php index 896c1c59977..266b0d1532e 100644 --- a/src/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 96bcbde5da8..513a659e076 100644 --- a/src/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.php index df59b06c33c..c062f1b5caf 100644 --- a/src/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.php index 259e9319f3e..2b001cd2fbb 100644 --- a/src/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.php index 8f93e044c9c..7a27972d603 100644 --- a/src/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.php index 643318190d1..fb95b0a1922 100644 --- a/src/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index f3273b06393..b9bf6ece21c 100644 --- a/src/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index ddaeaea526e..9ca5ff51783 100644 --- a/src/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php index 7efc0e420b1..ec78b1be289 100644 --- a/src/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.php index f9d0407925a..5813c66dfe8 100644 --- a/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. This API is available in the following national cloud deployments. + * Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. This API is available in the following national cloud deployments. + * Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 7be316f40c6..c7018b20788 100644 --- a/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. This API is available in the following national cloud deployments. + * Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php b/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php index 902cd340af6..475d9d0f0a8 100644 --- a/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php @@ -139,7 +139,7 @@ public function toGetRequestInformation(?OwnersRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.php index 3417f78b5a4..2a05f65cfb1 100644 --- a/src/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. This API is available in the following national cloud deployments. + * Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. This API is available in the following national cloud deployments. + * Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index 5b15f6cc868..123f1248015 100644 --- a/src/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.php index 61b68cd1db6..fe6f3788cf2 100644 --- a/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ResourceSpecificPermissionGrant $body, ?PermissionGrantsReq } /** - * List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php index 214b7022f62..bf251e24c91 100644 --- a/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. */ class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php index 6e1da204f85..879a1b91044 100644 --- a/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PhotoRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.php index 70efd64808b..ba3cd33000c 100644 --- a/src/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php index aa13f65a004..790d5adce24 100644 --- a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ProfilePhotoItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php index 9bcfb8149b4..e6294dee438 100644 --- a/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php b/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php index d71a1079b71..e8757d71004 100644 --- a/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. + * Retrieve a list of profilePhoto objects. * @param PhotosRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -59,7 +59,7 @@ public function get(?PhotosRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. + * Retrieve a list of profilePhoto objects. * @param PhotosRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toGetRequestInformation(?PhotosRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php index 2f3610baacb..33fa4333579 100644 --- a/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. + * Retrieve a list of profilePhoto objects. */ class PhotosRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/PlannerRequestBuilder.php b/src/Generated/Groups/Item/Planner/PlannerRequestBuilder.php index e0858159da9..8b0cf817ff9 100644 --- a/src/Generated/Groups/Item/Planner/PlannerRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/PlannerRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PlannerRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PlannerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(PlannerGroup $body, ?PlannerRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php index 933018d1181..b95ae60a6dd 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerBucket $body, ?BucketsRequestBuilderPostRequestConfi } /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?BucketsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerBucket $body, ?BucketsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php index 65419c0e639..e045bad7ede 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. */ class BucketsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php index 7e18ba92e45..5731c516cd0 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PlannerBucketItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PlannerBucketItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(PlannerBucket $body, ?PlannerBucketIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 052dd993212..ce11c113409 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 5cb92436fd2..7d78dda312a 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 03bccea7081..d1f4da78c70 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 1456134cdbd..bc6ea93c1d8 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index d4ac9b1d5bd..3e94c59751c 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index e636c208401..c6a733fccbd 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index 48d2c813b9c..637923dd299 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 921b608c570..f1d316e45a9 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index b15a119fafb..d4591c9d2dc 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php index 06b1b2e889a..a236dab4cfc 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index c902f80df96..c6fa00a79e9 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php index b75d7ce9559..1cffd2b8ff4 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerPlanDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 929b4879a40..01755db7023 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php index 0a20bf86375..4d318dad587 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?PlannerPlanItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?PlannerPlanItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(PlannerPlan $body, ?PlannerPlanItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 3cec60729c3..bc8b7d0dcf5 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 8507f37d984..cbeb797d3e4 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 4cacc6948b1..37763f83089 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 86849cb163a..cf47d80e575 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php index 7a5636ca8e0..48de91c7ae9 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 39f9beb2a76..db6bd86611a 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index 8314df5bb48..ec9eb94a417 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 57254325ef5..26623455092 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index d7cd764be8f..bd0bd37e65e 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php index a9bac8c4ed5..42bbbbad420 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 25a17737207..dfae3efd046 100644 --- a/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php b/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php index f648b22e70d..3a1a2f447d3 100644 --- a/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php +++ b/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerPlan objects owned by a group object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerPlan objects owned by a group object. * @param PlansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerPlan $body, ?PlansRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerPlan objects owned by a group object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerPlan objects owned by a group object. * @param PlansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PlansRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerPlan $body, ?PlansRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php index ae3623a9b0c..ca51aa16eab 100644 --- a/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerPlan objects owned by a group object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerPlan objects owned by a group object. */ class PlansRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.php index 4bb534e6685..f3255d0dae7 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.php @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php index 12c6eeb3e0f..728649f152e 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + * Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + * Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php index 232b08a8de0..edcf685bd2a 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php index 1b54c63dac1..d2d61a12324 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. * @param RejectedSendersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?RejectedSendersRequestBuilderGetRequestConfiguration $reque } /** - * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. * @param RejectedSendersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?RejectedSendersRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php index 50e18f636d1..820520d5650 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + * Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. */ class RejectedSendersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php b/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php index 4a7dc9c4afb..55cd49239a5 100644 --- a/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php +++ b/src/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. * @param RemoveFavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveFavoriteRequestBuilderPostRequestConfiguration $requ } /** - * Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. * @param RemoveFavoriteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveFavoriteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Renew/RenewRequestBuilder.php b/src/Generated/Groups/Item/Renew/RenewRequestBuilder.php index 623430b271b..6e5febabd0e 100644 --- a/src/Generated/Groups/Item/Renew/RenewRequestBuilder.php +++ b/src/Generated/Groups/Item/Renew/RenewRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + * Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. * @param RenewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RenewRequestBuilderPostRequestConfiguration $requestConfig } /** - * Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + * Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. * @param RenewRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RenewRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.php b/src/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.php index db1d47525fd..c3113c35c2e 100644 --- a/src/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.php +++ b/src/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. * @param ResetUnseenCountRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ResetUnseenCountRequestBuilderPostRequestConfiguration $re } /** - * Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. * @param ResetUnseenCountRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ResetUnseenCountRequestBuilderPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php index 19603a621f3..a71dc240d80 100644 --- a/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Groups/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php b/src/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php index c698df3622b..8c312f9963e 100644 --- a/src/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php +++ b/src/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RetryServiceProvisioningRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 92390d7e0f4..a797fc11713 100644 --- a/src/Generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.php b/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.php index 5b64feccf2c..ce63b7e7be1 100644 --- a/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?GroupSettingItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. * @param GroupSettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?GroupSettingItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. This API is available in the following national cloud deployments. + * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. * @param GroupSetting $body The request body * @param GroupSettingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?GroupSettingItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. * @param GroupSettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?GroupSettingItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. This API is available in the following national cloud deployments. + * Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. * @param GroupSetting $body The request body * @param GroupSettingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(GroupSetting $body, ?GroupSettingItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php index 9f1a8e597e0..8e918e175ce 100644 --- a/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. This API is available in the following national cloud deployments. + * Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. */ class GroupSettingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php b/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php index 81753f96e45..abb8a4708aa 100644 --- a/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Settings/SettingsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + * Retrieve a list of tenant-level or group-specific group settings objects. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param SettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(GroupSetting $body, ?SettingsRequestBuilderPostRequestConfi } /** - * Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + * Retrieve a list of tenant-level or group-specific group settings objects. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + * Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. * @param GroupSetting $body The request body * @param SettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(GroupSetting $body, ?SettingsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Settings/SettingsRequestBuilderGetQueryParameters.php index 3403535f531..7de407d2294 100644 --- a/src/Generated/Groups/Item/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + * Retrieve a list of tenant-level or group-specific group settings objects. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Add/AddRequestBuilder.php b/src/Generated/Groups/Item/Sites/Add/AddRequestBuilder.php index 703c1b4bfc0..a4bea582e04 100644 --- a/src/Generated/Groups/Item/Sites/Add/AddRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Add/AddRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.php index 07f426f1285..2ca101f951a 100644 --- a/src/Generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.php b/src/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.php index a44c903c9d6..336a31af336 100644 --- a/src/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllSitesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php index 53224d7ae72..83ed01b8ab2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?AllTimeRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?AllTimeRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php index 9a623f3b79a..d5265d586de 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. */ class AllTimeRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.php index 1114b4873d8..e08236ab1a4 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AnalyticsRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(ItemAnalytics $body, ?AnalyticsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php index 565d507afea..8d223ef43a9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ItemActivity $body, ?ActivitiesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php index 81984d2bcba..fb3ede3a85b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php index df733b6f175..f73d3b5364e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php index d625d99b512..74eec587171 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ItemActivityItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ItemActivityItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ItemActivity $body, ?ItemActivityItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php index e77fbc3d0e4..25795a9cfcf 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ItemActivityStatItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ItemActivityStatItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ItemActivityStat $body, ?ItemActivityS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php index 3578b71f0c4..d40850bf264 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ItemActivityStatsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ItemActivityStat $body, ?ItemActivitySt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php index b92a7a6ef3c..650136cc4cf 100644 --- a/src/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LastSevenDaysRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.php index 1534236f941..2ad9d052cbf 100644 --- a/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [site][site]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a column for a site][site] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [site][site]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a column for a site][site] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index cb669e33cc0..87c8e084203 100644 --- a/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [site][site]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 7c615954faa..68fe3b4ba1f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 43af8efb72c..d8f6e500c12 100644 --- a/src/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php index d25994903d5..881ed7d3bdc 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostReq } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php index 5bc577c12d4..ff0c1cfef35 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFro } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php index e281ddaa807..b26d289f47e 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [site][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function get(?ContentTypesRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new contentType][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [contentType][] in a [site][]. * @param ContentType $body The request body * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -109,7 +109,7 @@ public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestCo } /** - * Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [site][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new contentType][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [contentType][] in a [site][]. * @param ContentType $body The request body * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -144,7 +144,7 @@ public function toPostRequestInformation(ContentType $body, ?ContentTypesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php index 95f78ae9e67..32e7786732e 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [site][]. */ class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php index 12fc06da5bb..af127772d8a 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php index e622f753be4..cff14d50084 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithH } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php index 6eef3ac43f2..69e5af0cb7e 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php index e582874fefd..a2d110c7ea5 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php index c9f3f326465..76bf2bfd8ab 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php index d58ac860caa..a28d2ec7ae1 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php index 7ac08a4a46a..89a71a48c51 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php index 2a83bece4cc..4c78dc68f0e 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php index 3cdeaf05746..eb73d6372bd 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php index 60114e3c13a..46fe862c299 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 37c49f5f04b..46c1fc4d233 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index ffc2cb57a9c..e768f779692 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $ } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilde } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php index 378268d164c..e476e98cff1 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. */ class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 5f8b473f3dc..aa091f17638 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php index 3134dfc8e4a..2b87604542c 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -111,7 +111,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + * Remove a [content type][contentType] from a [list][] or a [site][]. * @param ContentTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function delete(?ContentTypeItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -143,7 +143,7 @@ public function get(?ContentTypeItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a content type][contentType]. This API is available in the following [national cloud deployments. + * Update a [content type][contentType]. * @param ContentType $body The request body * @param ContentTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -160,7 +160,7 @@ public function patch(ContentType $body, ?ContentTypeItemRequestBuilderPatchRequ } /** - * Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + * Remove a [content type][contentType] from a [list][] or a [site][]. * @param ContentTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -173,12 +173,12 @@ public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -194,12 +194,12 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a content type][contentType]. This API is available in the following [national cloud deployments. + * Update a [content type][contentType]. * @param ContentType $body The request body * @param ContentTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -213,7 +213,7 @@ public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php index ab2f17c3f41..d1ffa42c778 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. */ class ContentTypeItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index 4705b1e73e3..2c06a8afea3 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToD } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CopyToDefaultContentLocationPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php index c96b04a81df..d9558f83e0d 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php index 32f740084e4..787bb021604 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php index 9ec4fbad4c9..de3d76efdad 100644 --- a/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php index f3599133ad6..c78fb8688c8 100644 --- a/src/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 01e77bfea95..28bb636266d 100644 --- a/src/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 77fd4ebb3a0..39833373046 100644 --- a/src/Generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.php index 90bae602d93..3dedc7515a2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.php index 925c505b9cf..64e5812df98 100644 --- a/src/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.php index 5bec83bb089..ae590a62c16 100644 --- a/src/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php index 324264d7a0b..6b7b9015f5f 100644 --- a/src/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ExternalColumnsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php index 16515ee0648..f8b65319b8a 100644 --- a/src/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index 2e27b4d49e6..99e31321de2 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index 739ed1e786c..f8ad97f76c0 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php index d379457fb19..ec489cef326 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetApplicableContentTypesForListWithLis } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php index 5bbccab7f9e..322ffad0ae1 100644 --- a/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GetByPathWithPathRequestBuilderGetReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php index 74e0aa2a861..41ef465f0ec 100644 --- a/src/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseItemItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.php index 400a45cef98..4ef0020ff5b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index e89b7c3b581..6870c992df9 100644 --- a/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index fcd11c06d27..8393830a91f 100644 --- a/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 6bc78e0a06b..143cce923a6 100644 --- a/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php index 69ce70e5fe3..016c5e9937a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index dc646648843..a4d4f95b4bb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 40adf116498..b0c6330e6e3 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index b639cef3be6..b29c0f23ca4 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php index ab5621bd2c0..81f53216000 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostReq } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php index afdf9831bf4..05817c40862 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFro } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php index ab6ef71efb5..53cecb6c07b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestCo } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toPostRequestInformation(ContentType $body, ?ContentTypesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php index 24899a026ac..1e5ea3cf561 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. */ class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php index 74fb5a7d3f3..22ac1a0f79e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php index 79862fdc320..b0d31ff116a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithH } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php index c867f8b39b4..f359f834c39 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php index bd6f24f43a2..24948ca47fc 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php index ce901e3854f..3c78c4d5a85 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php index 4abd4654e3a..e0064029aa5 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php index c4cb6c1ba4e..9c7886d0731 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php index d3131e70c3d..df024667e20 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php index fdee4b90f79..e318251592c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php index c31aa7d0885..a4ee20a8151 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 254abd93685..7f010a585ee 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 33f0b8cb2c5..aac05a4b533 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $ } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilde } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php index a43a306ed53..39bda591cc8 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. */ class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 9950614b41d..b4e330c853e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php index 34825fa5843..b60789d6bd9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -170,7 +170,7 @@ public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -191,7 +191,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -210,7 +210,7 @@ public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index 9701e9c4bcf..5e13c1c1366 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToD } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CopyToDefaultContentLocationPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php index 8eab073fff9..4516c0afff6 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php index 97e1fe229c5..69ff3391031 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php index 71f7aa2ecf9..f7e84dbff77 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 25513e99d73..56c5c6e7b8a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 8c92eb6e0fe..28040162b59 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 5915df0f348..eb6f97adefd 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php index 1b8e7ad2465..dcf9bb51f16 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php index e9d46274694..420d1431b27 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 69f7f4f65ac..f157786b426 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 16aa02f7347..27a1a2b6c6e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index f45da4e558b..f07e398fdc9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php index 2f9e9c1b89e..aff88a4bc19 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $r } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilde } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DocumentSetVersion $body, ?DocumentSetV $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php index 6cef61c3fbc..68250b227ae 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. */ class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index b09b28ac233..3642f41b23a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBu } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?DocumentSetVersionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?DocumentSetVersionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(DocumentSetVersion $body, ?DocumentSet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php index b7fbcbd0639..d36149337d0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. */ class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php index f07203bd3f9..9de79678160 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php index d622756aa03..f1f5636d793 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php index a9422688f83..cf2d0b7ab3e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php index e1e22fd736f..5941afffed0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php index 244171a1813..79dc599fe80 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,12 +112,12 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -131,7 +131,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index cf0505b0977..02d23508f36 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index 90076ecd55d..f4fc6aba667 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index 1fcbab2e831..0767d091ee0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 03bd3880c80..f42c6c4dcb7 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index c6aa0015eb0..471871ba83e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php index b6372b548ba..be79a8dd7ec 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php @@ -96,7 +96,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -112,7 +112,7 @@ public function delete(?ListItemItemRequestBuilderDeleteRequestConfiguration $re } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,7 +155,7 @@ public function patch(ListItem $body, ?ListItemItemRequestBuilderPatchRequestCon } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,12 +168,12 @@ public function toDeleteRequestInformation(?ListItemItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -189,7 +189,7 @@ public function toGetRequestInformation(?ListItemItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -208,7 +208,7 @@ public function toPatchRequestInformation(ListItem $body, ?ListItemItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php index 44e84a99490..477ba6d58eb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. */ class ListItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php index dd9c754b081..d24ad24d7b2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php index b98665256ba..7f86d828762 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?ListItemVersionItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?ListItemVersionItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ListItemVersionItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(ListItemVersion $body, ?ListItemVersio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php index 75b71848ecf..1fbe6655b46 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. */ class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index b3eda8ef5e3..1e4ee30b55d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requ } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreVersionRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php index 8479d10cd6c..ccae13b43f5 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ListItemVersion $body, ?VersionsRequestBuilderPostRequestCo } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ListItemVersion $body, ?VersionsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index 33919277ce9..3578253da4b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php index 55a97cd352d..b2c5f773139 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php @@ -44,7 +44,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -60,7 +60,7 @@ public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -77,7 +77,7 @@ public function post(ListItem $body, ?ItemsRequestBuilderPostRequestConfiguratio } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -112,7 +112,7 @@ public function toPostRequestInformation(ListItem $body, ?ItemsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php index 532d6aa72d0..01e011d4de8 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. */ class ItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index 4bb87acc927..489e93139b9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 89ac2ed0114..d10de71cc8d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index ce83c5a5169..b1ead7a622e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php index a08a95710db..9d3ae2f7022 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -110,11 +110,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -155,12 +155,12 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -176,7 +176,7 @@ public function toGetRequestInformation(?ListItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -195,7 +195,7 @@ public function toPatchRequestInformation(EscapedList $body, ?ListItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 38fe2a4b922..83726327c23 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. + * Get a list of rich long-running operations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 3fcbe20dd96..9c3254c12f0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php index 93cc9673278..72cc66e4fad 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index ba1e0536ce0..231f204c567 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $request } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php index 1af9aa5d4f0..4d19a78c04a 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php index e5f305fa862..2b36b1924a1 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Subscription $body, ?SubscriptionsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.php index d740c1ad62c..8087ac8aed6 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ListsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [list][] in a [site][]. * @param EscapedList $body The request body * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EscapedList $body, ?ListsRequestBuilderPostRequestConfigura } /** - * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [list][] in a [site][]. * @param EscapedList $body The request body * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EscapedList $body, ?ListsRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php index ae192211d56..00bad4bf08b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. */ class ListsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index 160bcfa6284..5b61a052f3b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(GetNotebookFromWebUrlPostRequestBody $body, ?GetNotebookFro } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(GetNotebookFromWebUrlPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php index 5099da4b7fa..1aac44f6dad 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetRecentNotebooksWithIncludePersonalNo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php index 47a09900d21..b8ef5187bfb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyNotebookPostRequestBody $body, ?CopyNotebookRequestBuil } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyNotebookPostRequestBody $body, ?Cop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php index 35648b87490..924a5185c4c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?NotebookItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?NotebookItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?NotebookItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(Notebook $body, ?NotebookItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php index c6dce397f93..b186699c1a2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. */ class NotebookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index aba0f3547fa..48c1742a2a2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 7a15f70b32d..246e106a2db 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 2862b5e320d..6120d4c8064 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index a6e8ae1eceb..b03e5769569 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index 62d838be143..f287196570d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 98435269965..355879af478 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index c4b5db6f658..3a340e23c54 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index dfa8b7c1703..634cec1a074 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 9b8243b6980..351dc882cea 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 49ca430ba61..2eaeadbb6cd 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 9682dd02979..3eb65f7e1a7 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 499a664aaf1..8cb42724d80 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 8edb88930f5..0497f922f7c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 012abff7bd4..e67c2ac5a87 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 0dc27587afc..36c291c565e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 827ce1f138b..2d6b20b5b3b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 329de29d951..9afacdfa1a9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index fb0bb861103..b6f9735392d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index a63a9ef2429..b043dc208e9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index fa3685bd47f..22432a7e042 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php index 717c1f8ff60..3c8c9f6b327 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 4ea9069c491..9db3b94fed2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index 354f7fd23fd..f5478d497a8 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 286437a7868..da034223e8c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 094ed397961..547d4559f08 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 102667e32e3..8fdd827faaa 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 5f97816e8bc..767902112cb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index de9e34d95da..855628b5249 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 215cf78544a..bf486f60871 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 51c7d0cae70..dcb86723eec 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 73c1144587c..d1f40054f06 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 69e7fdc2465..49f7ec6332e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 6164aa66bb5..2f3c78f1a0b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 640885c32c6..0f1cdaa10e2 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php index de50f4f28ab..15ced802bfe 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index cc5e6e49267..d95761daf86 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 55f2d80d6d9..d84b7b9c43c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 65e7cd8fb19..1fb6c4055c1 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php index b3a3fdd33a4..927b52ef444 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 2e4a24c50c4..1a0e58cbb14 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index bfdc3cf6db1..8a3bf468217 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function getRecentNotebooksWithIncludePersonalNotebooks(bool $includePers } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(Notebook $body, ?NotebooksRequestBuilderPostRequestConfigur } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(Notebook $body, ?NotebooksRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php index 88d1937ff2b..e42d42db9ef 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. */ class NotebooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.php index 8ba370bbbf9..aa970f63819 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php index b179d21dee6..ba2dbb4b32e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OnenoteOperationItemRequestBuilderDeleteRequestConfigura } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OnenoteOperationItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OnenoteOperationItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OnenoteOperation $body, ?OnenoteOperat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php index d9fc32f1806..e8f67a9d788 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OnenoteOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php index 79ea0cef3dd..2f52d29c43d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(OnenoteOperation $body, ?OperationsRequestBuilderPostReques } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteOperation $body, ?OperationsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php index e7635dad6db..3b7f206158c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php index 84f974b8ce2..cccb066cea9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index acc3f401711..556d65839bb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php index 9a847c7fb25..dafd377fbdc 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?OnenotePageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(OnenotePage $body, ?OnenotePageItemRequestBuilderPatchRequ } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php index 97affa9a2ed..841038d24ae 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. */ class OnenotePageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 8dae472adfc..25121f6aedd 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 92c126eebe2..f7be64b6417 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 805c207ebcf..4744101949f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php index c53d9c4d508..89220f04ff0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.php index 8af7dbdf5d4..3e7aa91465d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php index 8dcfbe58307..6fd0ab4d281 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php index 845f231df1f..dd8e65c3d0f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php index d63882374fc..754389a0181 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?OnenoteResourceItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?OnenoteResourceItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(OnenoteResource $body, ?OnenoteResourc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php index 478cb9aee48..1a2b0f0942b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteResource $body, ?ResourcesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index ee63727aa3e..41150568781 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index a15bc8707ca..b80808d7db5 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 5503d1bb13d..22f5ca5998d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?SectionGroupItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php index b664f832ddf..0a6e665350f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. */ class SectionGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 1bce83ef8d3..fbe67cc3897 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index 7e573fbd2ed..ec166818660 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 0954d3d8808..811894a91d9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 4142e051320..ad3920aecf7 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 58d4de14943..ea41e74fcd0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 5cda0f0762d..5934026b564 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 873bb4bb47d..369246bc8cb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 99ad1f068fc..5c5545514ea 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 8767b6ddd0d..0cd0e264b99 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 458f0e17219..255f629ebdf 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 82d12410724..7d82549bdbc 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index df0325cbedb..c490ced7f32 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 847fabb90c5..2cd3f95b1dd 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 9472f8ea4af..f42d2e53012 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index 6b28d227f5b..5c08815183d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index e453f86a2cd..82ac323c038 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 116b4428308..ea8d1823358 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php index 7a5c1611825..5112b8bec2d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 9f6874067be..f4722d56110 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index 6ff7111e52e..fd1ffcc13ab 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index d5f4024bf7b..81c002510de 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index abfadd8ce29..3f6098d04ae 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 6aee75b2a88..79b4c399ed3 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php index 99b94cfab84..f7b8599b515 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?OnenoteSectionItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php index 411c18a21af..e60559dc65f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. */ class OnenoteSectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 8bf2ccb7b54..98d9410fc9e 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 27e7738bc3b..bd7cf0fa5a9 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index f038031e87b..0794bf47b03 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 70a55c57d81..7d74fd7464b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index c79e325535d..62e8201e89f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 3d30d6213aa..c8097ad332c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index e48f54f21e5..a078aa10485 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php index 14a61981348..d2275c36e4d 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index b907fc4058a..240fc70a1e1 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 68804a42297..d0134a871f3 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 8179b8084e5..6cbfd7ff545 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php index f95aa31e880..fbae30800d1 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php index 4ca9e64a0b2..d5412ac3d4f 100644 --- a/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 67578f86c9e..0d3887caa23 100644 --- a/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?RichLongRunningOperationItemRequestBuilderDeleteRequestC } /** - * Get the status of a rich long-running operation on a site or a list. This API is available in the following national cloud deployments. + * Get the status of a rich long-running operation on a site or a list. * @param RichLongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of a rich long-running operation on a site or a list. This API is available in the following national cloud deployments. + * Get the status of a rich long-running operation on a site or a list. * @param RichLongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php index b683683b409..c161f3eff74 100644 --- a/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a rich long-running operation on a site or a list. This API is available in the following national cloud deployments. + * Get the status of a rich long-running operation on a site or a list. */ class RichLongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php index 550975dc7a9..89e726c288c 100644 --- a/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of rich long-running operations associated with a site. This API is available in the following national cloud deployments. + * Get a list of rich long-running operations associated with a site. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(RichLongRunningOperation $body, ?OperationsRequestBuilderPo } /** - * Get a list of rich long-running operations associated with a site. This API is available in the following national cloud deployments. + * Get a list of rich long-running operations associated with a site. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index e45c67b7321..5d3b658c284 100644 --- a/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of rich long-running operations associated with a site. This API is available in the following national cloud deployments. + * Get a list of rich long-running operations associated with a site. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php index 1c8ad054883..4a397ae9f91 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GrantPostRequestBody $body, ?GrantRequestBuilderPostRequest } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GrantPostRequestBody $body, ?GrantReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php index 74b4714bddb..ec0652552db 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a permission object on a site. This API is available in the following national cloud deployments. + * Delete a permission object on a site. * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?PermissionItemRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a permission object on a site. * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?PermissionItemRequestBuilderGetRequestConfiguration $reques } /** - * Update an application permission object on a site. This API is available in the following national cloud deployments. + * Update an application permission object on a site. * @param Permission $body The request body * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(Permission $body, ?PermissionItemRequestBuilderPatchReques } /** - * Delete a permission object on a site. This API is available in the following national cloud deployments. + * Delete a permission object on a site. * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?PermissionItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a permission object on a site. * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an application permission object on a site. This API is available in the following national cloud deployments. + * Update an application permission object on a site. * @param Permission $body The request body * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(Permission $body, ?PermissionItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php index 373a382ae72..395bbd35353 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a permission object on a site. */ class PermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php index bfebe7fde24..49832555ffd 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + * Get the permission resources from the permissions navigation property on a site. * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PermissionsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new permission object on a site. This API is available in the following national cloud deployments. + * Create a new permission object on a site. * @param Permission $body The request body * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Permission $body, ?PermissionsRequestBuilderPostRequestConf } /** - * Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + * Get the permission resources from the permissions navigation property on a site. * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new permission object on a site. This API is available in the following national cloud deployments. + * Create a new permission object on a site. * @param Permission $body The request body * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Permission $body, ?PermissionsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php index bf3a84183c6..6e11c14fdcb 100644 --- a/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + * Get the permission resources from the permissions navigation property on a site. */ class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.php index 6c2da651afb..44417b61c35 100644 --- a/src/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.php @@ -246,7 +246,7 @@ public function toGetRequestInformation(?SiteItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -265,7 +265,7 @@ public function toPatchRequestInformation(Site $body, ?SiteItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.php index 6ec66fd3c5e..fa01e2915d1 100644 --- a/src/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SiteItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.php index 4c522856f70..b85a5e454ab 100644 --- a/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + * Get a collection of subsites defined for a [site][]. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + * Get a collection of subsites defined for a [site][]. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php index 1da1573b193..570c6db5458 100644 --- a/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + * Get a collection of subsites defined for a [site][]. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php index 1365b6e512f..7c02cad6c8e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Group $body, ?GroupsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php index 840c73aaed3..56375cebdab 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php index 34231fd67a3..008d5c1c90a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?GroupItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function patch(Group $body, ?GroupItemRequestBuilderPatchRequestConfigura } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?GroupItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +121,7 @@ public function toGetRequestInformation(?GroupItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(Group $body, ?GroupItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php index 6e94ec218b4..d5e7242e9ee 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. */ class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 01fe2a0ec4e..3af2df869d2 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 369ce2cbd1a..530085e9c58 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 765b1fe081f..e3305e0501d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index c90d01c0eeb..752c2f4239b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 20a23d18a1a..dc1d164add8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 954ee3a7cf4..6ded3c3fd5d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 85580965ace..e7aaa65c2b0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 9ce7e962b9d..760bba2cf74 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index b006af59881..a72cb19526e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index cf1e7b8de07..763c0c4e5a2 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 5a64413e26e..52de8badccf 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 8c7b6ce2706..ddc75b0dd92 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index aa32a5f48f3..41b3edaef70 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index d5ff145a8b6..c77d5e51685 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 1287173f926..45409f7d32b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php index fd396fc5614..110307dee19 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php index 9b9a7bdf42e..bcb35beb85c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index 9bc54e4883f..096189fae90 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 0c17095b04d..62a58d31aee 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index e7f284508eb..671f871019b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 239896f5609..f06094401d6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index a63fb969d33..012eb533999 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php index a8b5e90d2aa..c245c4d709e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 82b0d8b68b0..d26e6a5fe12 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php index 74b3a652b60..eb6199e382a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 66af0ce1067..d205087c462 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 80159729989..68764212374 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 27ba1fc5a7e..cf3b11624ad 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index b35cacf8af5..6303fe80dec 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index a0b5ce0a1f4..c807345f641 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 222fbbab1c5..7bcdac40800 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index 62b83869382..d409f3b9ba2 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index 0cc07e75617..3b5a8395ec6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index ee821202ee4..534ebd04d79 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index cc47c583fe0..ee484f50128 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 332aaf2691b..49f0ae5f022 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index e71ceb9fff0..5409f7222f8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index fe44fee3f0e..29200b15c14 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 547942ff1f8..b819cf90ebb 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index 6c4f1de2a39..00c59cfce29 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 34bc45039b5..d8f5b28fb0c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 54c00c13252..1ad8491d3fc 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 875da1f417e..474ba7d250d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php index 2234403b36c..b932e154f8a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php index a9b1ed45c7b..3d35b91a304 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php index a51e58504ee..1f8c0a1ce4d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index a6ff3d151ca..e046de0b5a1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index d8859bfe3ee..4b695f91806 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index af439faceb3..0b20be44c82 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 50c9625fc24..241b67f204d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 189dfefad41..d06aeb210ac 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 4cd92e2e6e7..d43973608bd 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 1defc7e0bd5..26b3001006c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index 502859b53b3..6dc5c0643f7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index a5ac8098d58..f9bf2f5604d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 46740332396..66ce16b2b53 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 79142c103ba..74a92129d5d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index a85e7b74ffc..4d8eb5df1b2 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 0a78791810a..5ca8df5ad10 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 30181a7b5fb..852b5dec8d6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php index 6690e505497..569a3a22cf4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php index e833c1fefb1..bc5d624493e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index 302e019c7c6..75362c64ef4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php index f648abd35ce..4bb6c41db83 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 5bd90459fb5..c54d4709c8c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index d4c3e860f5f..8b5f860e4a2 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index e85a277b51c..f8a50a4549a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index ac569c22491..83d852738c3 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index cc934752dd3..fbbbd9c7be3 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 1426d1b6681..0b759cb509c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 43d5d05c2dc..b418c9afa25 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index 89687f69c05..5ac1ad350cc 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index 935269bb10d..d1a1970b5b8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index a6e77dfc2d3..1cbf51b75c7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 88cee0fa174..62ddac8ab0b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 62961a1f5f0..ba0480c2f8e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 8bcee3f2671..83cb71855c6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index df3ace27886..fbe4d182d68 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php index 163d250b084..191d0a1be1d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php index 4dad72c732b..d4256be914b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index c7307902a24..d01e74edb46 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 4a277d6b5d2..2b0ccee740d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index e537f348463..dc802a03016 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 634d9a4cd65..0a2ad4e0968 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php index 23f6e23e232..f5cf1b33d47 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 7f33ffd5c92..22967fed404 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php index 8d6cb72665e..fe9fd29a71d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 80f750be792..feb6d61fbe8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 93dd506fe92..29edd0f9454 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index a86257d74b2..d0cfd3b45f4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 80148ad8269..4fa6e1b1afa 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 717e614ebf7..0eb44cf9e1e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index ba369b64fc7..4742d927479 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index 3730c7c4961..8c497cd51f7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index f5150ae5c41..98fa3ff5441 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 64da97f1206..7ef56ebe709 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index d3246cba85d..2c95ad88c22 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 93df84c21d8..84d8d6866d7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 558fef694f8..7c85e2911f0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 61954613e73..70d54800bb9 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 79342eefaa5..6d154ae68e8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php index 73d539ecf05..03d4a4db1fd 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 8723909c8b8..18179a0313c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index ea5eda2e008..8eb6d6cb694 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 69fe435f674..ceeca2c9856 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index 66c2b05353e..f25db48b3d4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php index b5427f69274..5cd6d8b9112 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 4b9c7df2a65..f0115350850 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index de0f5a6eba9..a34e286374a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 79bff80ac30..91796c09625 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 1fe596c6b5d..b8c1836be23 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php index e7c03d663e0..aa8fffe8742 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index fcbe2c8d781..9153f85cc2b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php index b8818e7d91e..747c4671228 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?SetItemRequestBuilderDeleteRequestConfiguration $request } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function get(?SetItemRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -112,7 +112,7 @@ public function patch(Set $body, ?SetItemRequestBuilderPatchRequestConfiguration } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,12 +146,12 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -165,7 +165,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php index db68db3cb81..a7aa76185ed 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 572f18432bb..b7e72d92072 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index ce277a187fe..f7372c26c74 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index bcbb7b720c9..a1e9a5c42df 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index bdcc0343d9b..6acc1d25457 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 96a763e72f1..c7ba3c92e14 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index d5e9f84c057..f7903a9ad83 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index e1a315c03c2..67996d8bb6a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index 67cae8ff19b..51d084489cd 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 776959d5f26..a1fdd990567 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index feaad3d3acd..746edce8225 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index eaf10f13f27..c20d8a0c1f7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 88c59376069..764670d51ef 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 0e6f65a16ba..e84b6b215d7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 0584ba634b4..fa0790b995f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php index d4044c04675..d1a2095a34e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index d299b534cb3..908700d9a1b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php index 5350aae51e5..8d2cbf6f386 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 9caa4e4e070..c3791b6ff8c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php index 116210dab81..e98c34a49c0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SetsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php index c302351704f..699d9cb8aff 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php index 189776673c3..2e3457bd1f0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?TermStoreRequestBuilderDeleteRequestConfiguration $reque } /** - * Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a store object. * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?TermStoreRequestBuilderGetRequestConfiguration $requestConf } /** - * Update the properties of a store object. This API is available in the following national cloud deployments. + * Update the properties of a store object. * @param Store $body The request body * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?TermStoreRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a store object. * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a store object. This API is available in the following national cloud deployments. + * Update the properties of a store object. * @param Store $body The request body * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(Store $body, ?TermStoreRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php index c55364dfd29..789c1daa934 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a store object. */ class TermStoreRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php index 2d956b1fb3c..59eeb122c5d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Group $body, ?GroupsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php index d18c382b337..27c2c47f929 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php index 3253cb1c26d..200b3080036 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?GroupItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function patch(Group $body, ?GroupItemRequestBuilderPatchRequestConfigura } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?GroupItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +121,7 @@ public function toGetRequestInformation(?GroupItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(Group $body, ?GroupItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php index cfe98154e75..2448ffb2b09 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. */ class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index e6ff106a9e5..531dbb26821 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 6663c8284e3..f2b122cd681 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index c841e88ad97..6523bada886 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index dace5375624..46e4974e169 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 52c0695f36c..a23c5c917bd 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index cbfb3b36361..877c6777c0f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index dd2aa259626..e882f072ea0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 955b9a44e8b..61f5a58cb3c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index e9bb09279a1..c1761e5a40c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index 9ba601c139c..04ed4769565 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index bfc36539c10..9f466acaef1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 5c97723ed0c..a51904bd5e1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 73f7a0b2ea9..e6d9e035047 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 98408267ddd..d489f32661c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 2ce5f788f08..97d178b2551 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php index c79b8d753fd..db50cfa7d26 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php index 58e31f4b0d0..d46cb4a7435 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index 48bc089284b..7de7163ead4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index db75720524a..bc90c70e380 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 40ac0abe536..6795489fdd8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 8b22c89c027..574cb969e27 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 1e55a470361..854f1adb882 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php index 47eb5a50b91..22bdb53f360 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index e5552c23d16..cb885daf8c1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php index be9884ccfe1..9b040e4781f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index f3a5b9911d8..d32aff07c2f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 1f1bdace4fe..66646842b87 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 94fb4c3cd7e..ad79d60de74 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 1c98b19b7a3..dd345f26b92 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 325c805495c..4cb8955b2fb 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 23d55eedba5..9784a96b2e0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index d92d586e4f1..b7bf172bc2a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index 3779ed18df8..1f65f460709 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index a74cfc094b6..770b3267391 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index e4a9ff07096..22104bf0fc4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 3eec3170804..aaa61c3278e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 65dd5c53421..78c93427ee1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 96c74856346..d64e63ff501 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 1c995ac8321..22e9edb2e42 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index 32abcea8633..62a2b27260a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 2e457c6ddbd..05c6a445df2 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index ff2e1c1543a..92f88a09451 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index b68a9947fd9..99b31d26224 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php index bceedda8f0c..ece46595be5 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php index c0baaf289df..d796963fa4c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 02d5edd4c15..613d9f68556 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index f13ecb0cacd..fce608f724c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 9ed063ce40c..a1770e4977f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index f303c79bf03..6859ded2cf1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 4ce42cd0a5f..45eb63d08eb 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 3c48c4c1354..22b3f6fbbcb 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 6998e8ce10e..96278ed6f8b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index fb8344593a5..194f2d9b3f8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index f9086db2e3e..8dedc2f14e0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index 8fde1366179..d618e9a96f6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 0057ca6c69c..0643ca3f48b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 96eae5d72b4..6a75d571a5f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 294ea1beea2..a35cfca37f0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 140f011e199..9a5486a0489 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 278fa2d9367..2fd39526278 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php index c02116825c2..14d0bb3617c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php index be8d128de97..069b19f85a5 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index 5d8ad729476..454d11ed6ec 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php index 0121d82c736..279035c85af 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index b79921c6452..bdae8827993 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 0df0a2f8437..72d4c7a0a5b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index ca0ac20ee42..9726f72bfc7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 304834e60d2..5f169a7093f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 8f87bb8bf79..5cd1b7f2d3f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 182a64b3605..49854b864c5 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index a1d690b75e1..de7f18d0987 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index 7ab794ae32f..829783bf90f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index acefca068db..5a25f65bb3f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index af14800090b..1e04db90cd4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 16e49d06d08..00d305c5e5c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 0082f816062..fdeaf8df684 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 34587cd420b..5848afdcdc1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index a6aa6b3e0a8..c8431a5b0be 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php index 7e76aac5d67..62d683aef55 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php index d197c025a3c..3c39d981c12 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 272689a4ba4..01925e2ab9c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 8b99d8353bc..d0489f607b0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 15bc881f7b6..285732a564c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 7bae82b0231..73abf93ae29 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php index ef8339f3709..01d82fbe4c7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 376e4e8fbfb..75de095901d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php index f3b5c9be0cb..97059f86a38 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 490207e17a7..8ee943f7fb1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index e4fa6b038fa..c5ce337179a 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index dbb8274a080..ac62dd34223 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index b360ced2087..d0f885b8a41 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 8ab3cc7d222..170cfb1a7dc 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 5ecd83cbdd7..a4e8a018c9e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index fe26fb42ffb..35f386a6ace 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index d96c62c24cd..38b510ea4d9 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index b103ce71624..7f3756edcb7 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index 48f268bc5a6..8b883e859b1 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 4cc523c7e97..2bf16ea6a18 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index fe96161a4f8..99e33c94fec 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 6aa0137f745..db753fc89d5 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 3727219ff26..d27fa44dbbc 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php index 1fb09feff00..133eebd9de6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 27d9986986b..2b6ca5b796f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index 5451d70e9a3..922479c8d44 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index d1458445469..10eba3ffa10 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index 7133e8217b5..024f856169d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php index 702fb73b1e8..5f48fcd55ad 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index f38e13a02f5..a4f7cd5e5e9 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 648bdc57710..8b29774d412 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 78ed2ef70d3..2b46140cc75 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 0ff34a29bee..09154edc62d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php index 8fec76fb760..d2cd25698fe 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 2cd411e8ee3..01b49d03f7e 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php index 0f1a46e211c..046f373a78d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?SetItemRequestBuilderDeleteRequestConfiguration $request } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function get(?SetItemRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -112,7 +112,7 @@ public function patch(Set $body, ?SetItemRequestBuilderPatchRequestConfiguration } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,12 +146,12 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -165,7 +165,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php index 9687e81c3cc..db8fe653550 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index e8c6ed4cd41..a8aed0a1eca 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 749de4df869..4f64e344bc4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index c332ee0ccd8..5995dabb580 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 9aa130c6db3..066cd5d32bc 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 525c22ee035..bbced39afc5 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 3952f4ec846..336708a336c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index ace1d535ddb..dec7ee7ad7d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index fc72358e80d..06a5ba99ac0 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index c57493c74e5..2f5579663e8 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index 1cde9a1d4f7..2da01171ae4 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 5f8af80e5fa..8f6e1b82440 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 88b9ab93011..939ba9b919f 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index d04dc06717a..7bd41cfb97b 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 025d3cf752a..f2466dffc39 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index 38ee40d1541..bd7108f503d 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 909c02831c2..7f97ea3cfd5 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php index b06c90275cf..0b8032fd7bd 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index e911bc11395..212e656952c 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php index c6adf8f8fcf..aad997f5079 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SetsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php index 281398f0352..78d039ff3e6 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php index 1870ad45cb9..782d6ad9a73 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?StoreItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?StoreItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Store $body, ?StoreItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.php index 68feb791214..07243aebce3 100644 --- a/src/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermStoresRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Store $body, ?TermStoresRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.php b/src/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.php index 0343f944152..30416f55c18 100644 --- a/src/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Sites/SitesRequestBuilder.php b/src/Generated/Groups/Item/Sites/SitesRequestBuilder.php index 19271471ca9..7fb3cb6f062 100644 --- a/src/Generated/Groups/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/SitesRequestBuilder.php @@ -114,7 +114,7 @@ public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.php b/src/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.php index cdae803f0c2..5be64b6f19d 100644 --- a/src/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.php +++ b/src/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. * @param SubscribeByMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SubscribeByMailRequestBuilderPostRequestConfiguration $req } /** - * Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. * @param SubscribeByMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SubscribeByMailRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.php b/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.php index 385c9a6ff83..0e16282625c 100644 --- a/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). * @param AllChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllChannelsRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). * @param AllChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllChannelsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php index 502c6a95c77..fd492a9d4b0 100644 --- a/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). */ class AllChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.php b/src/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.php index 18931f67c67..1c95631200c 100644 --- a/src/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.php b/src/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.php index 8a204ed0a80..2b80410ec12 100644 --- a/src/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostReq } /** - * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php index a35523b1876..8a59e8881c0 100644 --- a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. * @param ChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ChannelsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. This API is available in the following national cloud deployments. + * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. * @param Channel $body The request body * @param ChannelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Channel $body, ?ChannelsRequestBuilderPostRequestConfigurat } /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. * @param ChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. This API is available in the following national cloud deployments. + * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. * @param Channel $body The request body * @param ChannelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Channel $body, ?ChannelsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilderGetQueryParameters.php index 34bddb24425..1354b776945 100644 --- a/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. */ class ChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php index 77436763dda..76b32dfad3d 100644 --- a/src/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php index 503f8c81a2c..e47d3153ef5 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php @@ -103,7 +103,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the channel. This API is available in the following national cloud deployments. + * Delete the channel. * @param ChannelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function delete(?ChannelItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. * @param ChannelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function get(?ChannelItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of the specified channel. This API is available in the following national cloud deployments. + * Update the properties of the specified channel. * @param Channel $body The request body * @param ChannelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -152,7 +152,7 @@ public function patch(Channel $body, ?ChannelItemRequestBuilderPatchRequestConfi } /** - * Delete the channel. This API is available in the following national cloud deployments. + * Delete the channel. * @param ChannelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -165,12 +165,12 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. * @param ChannelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -186,12 +186,12 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified channel. This API is available in the following national cloud deployments. + * Update the properties of the specified channel. * @param Channel $body The request body * @param ChannelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -205,7 +205,7 @@ public function toPatchRequestInformation(Channel $body, ?ChannelItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php index 9b8105cf8eb..8761da1d0fe 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. */ class ChannelItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index d19be554693..3e61af5c14b 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index 5cb5a779ee7..82089e40a2d 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php index a09091107ea..598ad2f0ca9 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php index 6f5ef7ff239..1799dd68da5 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index 5a3b5a7cc0d..260a472a79e 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.php index ac0a9a1ddc7..2b63342117d 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 96f36131e7e..4ee3f02e2fa 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 6d20a0b58f2..23683b2ae44 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php index a79258f4502..d1917db47ba 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php index d51c3ea3519..0ba5d6bd23b 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index b2728d78642..cd96367858d 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php index 0d690847942..c8c31248112 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index ef54134ddd0..c9a6140cca0 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 8791fd00b78..8cbda64e401 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 50531ae29e6..15e2f5ca681 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 0fdd0c363dd..b6a2524fab7 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 44171789b91..80bf7102bbf 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 7dce2152b6f..d0ac0694332 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 76aba0bba85..370e77980c3 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index b482f66604a..296f9572923 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 048d5abb94e..958f6d89645 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 7c10e4b85f8..8c69479d6ad 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 500341bc8ef..1fb5296885e 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index a5c892106d8..e8ef1e8b455 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 920e13d60b8..157f4a6388b 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index ab007a0f494..7f823e76325 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 4d94cb4c746..c195e870a14 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 6700013e797..2c117e1c0dc 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 50caaa7f110..eb065f56ddb 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index c97e8531b4a..27de22a3d50 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index deccf097e20..15ab26014b5 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 90df20d42f1..d528b366664 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php index b5c2f626534..bd5067138f3 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index dd4adb06da9..a07b139caa6 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index e2f9f335a15..cb77b0a9971 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 1bc73daae2d..e54816b67ec 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php index 6817995a0f5..138a1b04541 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index 394f882937f..d9efa85b335 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 84273a2d23d..78db398d8c5 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php index 09eff1dcf35..da69ece50e7 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index e5087ca779a..935a38a23eb 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index e6ca44cb385..124ed009f69 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index e2115865a7f..92b2d70d4be 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index 00a8df9ad2f..d12f2539484 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index 133d3c8c523..06f74e00ddb 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php index 145350841fe..19b68c5e1cc 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php index 1bdcbd6fff8..481ed839db1 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index 64e579a5aee..b178e6fc99d 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index 46b861a60ca..82d9025dcf8 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php index c2ada21a880..52997f10c81 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index 523d57796af..05a5a7c62d8 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php index d928f5d330a..8725d437abf 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php index e88c5ebfc1a..bfb500dbf83 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php index 25dbde744dc..e1d0965f5c5 100644 --- a/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php index dcb306fdf30..e06b52386a2 100644 --- a/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/EscapedClone/CloneRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ClonePostRequestBody $body, ?CloneReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Group/GroupRequestBuilder.php b/src/Generated/Groups/Item/Team/Group/GroupRequestBuilder.php index 08af2b01516..ecd14a85349 100644 --- a/src/Generated/Groups/Item/Team/Group/GroupRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index efed83c9ee6..43886fe90fe 100644 --- a/src/Generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.php b/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.php index 9aaddd4e518..c4fa4c17b3b 100644 --- a/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). * @param IncomingChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?IncomingChannelsRequestBuilderGetRequestConfiguration $requ } /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). * @param IncomingChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?IncomingChannelsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php index db23ac90421..a859889dffa 100644 --- a/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). */ class IncomingChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.php b/src/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.php index 8f05bbd03a4..8ed98c0f28e 100644 --- a/src/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.php @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.php b/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.php index 100c23a9f77..5bdd9397a3a 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?InstalledAppsRequestBuilderGetRequestConfiguration $request } /** - * Install an app to the specified team. This API is available in the following national cloud deployments. + * Install an app to the specified team. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsAppInstallation $body, ?InstalledAppsRequestBuilderPos } /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Install an app to the specified team. This API is available in the following national cloud deployments. + * Install an app to the specified team. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsAppInstallation $body, ?InstalledA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php index e764b083e0d..fc1aa01ac12 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. */ class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php index a0212fccbc1..c1e9ec229f4 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php index 14250156087..52ef1effead 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php index e5edb83a88c..5d6f6fbe9e7 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + * Uninstalls an app from the specified team. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TeamsAppInstallationItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(TeamsAppInstallation $body, ?TeamsAppInstallationItemReque } /** - * Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + * Uninstalls an app from the specified team. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?TeamsAppInstallationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?TeamsAppInstallationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(TeamsAppInstallation $body, ?TeamsAppI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php index 4915a55c4a4..4942c2e2430 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. */ class TeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index 0ccb99b9cd1..ff65a65926b 100644 --- a/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UpgradePostRequestBody $body, ?UpgradeRequestBuilderPostReq } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpgradePostRequestBody $body, ?UpgradeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.php index 48ed134807c..a26a632de97 100644 --- a/src/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php index 18d2d664e9f..3c3256c6710 100644 --- a/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a conversationMember from a team. This API is available in the following national cloud deployments. + * Remove a conversationMember from a team. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Remove a conversationMember from a team. This API is available in the following national cloud deployments. + * Remove a conversationMember from a team. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index c60373fdac7..ae2101d6e67 100644 --- a/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php index 64ef87fc79b..35925d526a4 100644 --- a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a new conversationMember to a team. This API is available in the following national cloud deployments. + * Add a new conversationMember to a team. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a new conversationMember to a team. This API is available in the following national cloud deployments. + * Add a new conversationMember to a team. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilderGetQueryParameters.php index e1b4e6e642b..df16fb46972 100644 --- a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php index 4a57b545ffe..886c8b3ddea 100644 --- a/src/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TeamsAsyncOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TeamsAsyncOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TeamsAsyncOperation $body, ?TeamsAsync $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.php b/src/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.php index 096dc880ee5..7f76cfdcd95 100644 --- a/src/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TeamsAsyncOperation $body, ?OperationsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index d7682bd5ae6..c721c41b1fb 100644 --- a/src/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.php index c868b6e55bd..25a95e82614 100644 --- a/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ResourceSpecificPermissionGrant $body, ?PermissionGrantsReq } /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php index 971c1575d08..a2d490ad9b9 100644 --- a/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. */ class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.php b/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.php index 628b2f64f76..66feb78b1e7 100644 --- a/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function patch(ProfilePhoto $body, ?PhotoRequestBuilderPatchRequestConfig } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -87,7 +87,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -106,7 +106,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilderGetQueryParameters.php index a8408db90e1..1296dab84f9 100644 --- a/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. */ class PhotoRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.php index 5e1b29fd007..8979e81fd5f 100644 --- a/src/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php index 4c92cf75605..60dad0f4916 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index e1a37bb1883..ade33a770e0 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php index 576c574b532..790eded9391 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php index b02fa945ab0..06324b6a577 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index a5ee81db451..f65b8d7da19 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.php index 27330f0b961..00619310021 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index 6bd477ab676..cbc147cad1f 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index fa30a3a8397..5efa90fdbbb 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php index d3cae6c5edf..eb477fc4612 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php index d759144461e..ae96114c52e 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php index 21fb6d7530d..3df89e07dc5 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php index 01e91eb9d95..be345b09ad7 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 546e500e887..3926d2b261d 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 89996321cd8..2ec7476c58e 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 644fa4368a2..90f5635165d 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 7426ec1dc6d..77b772ccbd6 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 7333217f28d..4b54cc2370a 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 3c607eb18bd..2219b57c8a9 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index d6856e03c4f..6444da4fe4d 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 42c088f98d5..e41a1343fcd 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index bbf7539ad09..a5955ffd12e 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index b108a07ff79..b3766946a21 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 5ece130a168..5da86597405 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index d50c1473006..9a67c77566a 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 51ac02d4280..4d390bbeb5d 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 35d73164ec9..8931274a17b 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 8788cb53050..947c3ba68b3 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index b788bb4cf2a..82447a3b47b 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 0a417b09db4..ff6a84bd8a6 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 7715ae46a0e..16a1a904bc3 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 7d14e769648..1ff3a36a703 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index b8264aff0c7..50214cf3ded 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php index a9c8573758b..1e773869b39 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index 63944285a0a..8541762a94b 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 974a65d6742..22c6dfb8d63 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index f6b73ab75f8..5af7f72265b 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php index 23517f9777c..093c590910c 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php index be083033857..b5a4e9aacfb 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php index 77661e4e44b..fbb89bb4000 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -118,7 +118,7 @@ public function delete(?PrimaryChannelRequestBuilderDeleteRequestConfiguration $ } /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. * @param PrimaryChannelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -163,12 +163,12 @@ public function toDeleteRequestInformation(?PrimaryChannelRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. * @param PrimaryChannelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -184,7 +184,7 @@ public function toGetRequestInformation(?PrimaryChannelRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -203,7 +203,7 @@ public function toPatchRequestInformation(Channel $body, ?PrimaryChannelRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php index 985e6045621..05efa5f791a 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. */ class PrimaryChannelRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php index 98b0b723ef5..91bbbaa7ce7 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php index 7b1fada912d..14a85566cfe 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index 18e078ba729..36bed097880 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index a418d7d7d80..fe2bc7f0702 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index fb8b66b3199..2694a09ceee 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index a9f318f5335..ee162a46d2f 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index ca5c092855e..8006b3f6c5f 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php index db5cebd2d97..144c97d6b47 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php index 2b1c52af650..5da35ad8933 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index e05fc0db25f..8243fec4533 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index 5be4be47009..f950dde2cb0 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php index 558b2ea0c9b..9628f8d68fa 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index 82f3a74ec39..cf8fb09ec95 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php index 3fb67945aaf..fa4b2f6ee38 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php index 9b4191e766c..51e72c02665 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php index fd770ca218f..f263a42db8a 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OfferShiftRequestItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. * @param OfferShiftRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OfferShiftRequestItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. * @param OfferShiftRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OfferShiftRequestItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OfferShiftRequest $body, ?OfferShiftRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php index 576cd48d576..045c07a54d2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. */ class OfferShiftRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php index 100b552eb6c..ef3e8519ab3 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. * @param OfferShiftRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OfferShiftRequestsRequestBuilderGetRequestConfiguration $re } /** - * Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + * Create an instance of an offerShiftRequest. * @param OfferShiftRequest $body The request body * @param OfferShiftRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OfferShiftRequest $body, ?OfferShiftRequestsRequestBuilderP } /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. * @param OfferShiftRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OfferShiftRequestsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + * Create an instance of an offerShiftRequest. * @param OfferShiftRequest $body The request body * @param OfferShiftRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OfferShiftRequest $body, ?OfferShiftReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php index 0e9c9f14e99..28eb06260df 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. */ class OfferShiftRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php index b57e78c08ee..2bd5de8e3bc 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OpenShiftChangeRequestItemRequestBuilderDeleteRequestCon } /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. * @param OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OpenShiftChangeRequestItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. * @param OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OpenShiftChangeRequestItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OpenShiftChangeRequest $body, ?OpenShi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php index fcbba056959..465e08eac0c 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. */ class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php index be264cfa16e..b529d1dba62 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. * @param OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OpenShiftChangeRequestsRequestBuilderGetRequestConfiguratio } /** - * Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Create instance of an openShiftChangeRequest object. * @param OpenShiftChangeRequest $body The request body * @param OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OpenShiftChangeRequest $body, ?OpenShiftChangeRequestsReque } /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. * @param OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OpenShiftChangeRequestsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Create instance of an openShiftChangeRequest object. * @param OpenShiftChangeRequest $body The request body * @param OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OpenShiftChangeRequest $body, ?OpenShif $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php index f52c9db91ca..f6d2ec447f2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. */ class OpenShiftChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php index 925037b4c79..f14698acb11 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an openShift object. This API is available in the following national cloud deployments. + * Delete an openShift object. * @param OpenShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?OpenShiftItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. * @param OpenShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(OpenShift $body, ?OpenShiftItemRequestBuilderPatchRequestC } /** - * Delete an openShift object. This API is available in the following national cloud deployments. + * Delete an openShift object. * @param OpenShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?OpenShiftItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. * @param OpenShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?OpenShiftItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(OpenShift $body, ?OpenShiftItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php index 7487d44473c..07c6fa71d03 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. */ class OpenShiftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php index 3578f916836..919d2144464 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. * @param OpenShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OpenShiftsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create an instance of an openShift object. This API is available in the following national cloud deployments. + * Create an instance of an openShift object. * @param OpenShift $body The request body * @param OpenShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OpenShift $body, ?OpenShiftsRequestBuilderPostRequestConfig } /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. * @param OpenShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OpenShiftsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of an openShift object. This API is available in the following national cloud deployments. + * Create an instance of an openShift object. * @param OpenShift $body The request body * @param OpenShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OpenShift $body, ?OpenShiftsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php index 585de851b98..06e26d74395 100644 --- a/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. */ class OpenShiftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php index 46a21921ca4..b93d1c330c0 100644 --- a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.php @@ -126,7 +126,7 @@ public function delete(?ScheduleRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. * @param ScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -171,12 +171,12 @@ public function toDeleteRequestInformation(?ScheduleRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. * @param ScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -192,7 +192,7 @@ public function toGetRequestInformation(?ScheduleRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -211,7 +211,7 @@ public function toPutRequestInformation(Schedule $body, ?ScheduleRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilderGetQueryParameters.php index e66e874bb6c..1a5692dad9a 100644 --- a/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. */ class ScheduleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index 0750808109e..739d187d614 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @param SchedulingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?SchedulingGroupItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. * @param SchedulingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(SchedulingGroup $body, ?SchedulingGroupItemRequestBuilderP } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @param SchedulingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?SchedulingGroupItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. * @param SchedulingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?SchedulingGroupItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(SchedulingGroup $body, ?SchedulingGrou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php index 24b85104043..ac1252d556d 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. */ class SchedulingGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index f80264ffdf3..c6c45214d78 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. * @param SchedulingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SchedulingGroupsRequestBuilderGetRequestConfiguration $requ } /** - * Create a new schedulingGroup. This API is available in the following national cloud deployments. + * Create a new schedulingGroup. * @param SchedulingGroup $body The request body * @param SchedulingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SchedulingGroup $body, ?SchedulingGroupsRequestBuilderPostR } /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. * @param SchedulingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SchedulingGroupsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new schedulingGroup. This API is available in the following national cloud deployments. + * Create a new schedulingGroup. * @param SchedulingGroup $body The request body * @param SchedulingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SchedulingGroup $body, ?SchedulingGroup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php index 921ba20b32a..77794908e8f 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. */ class SchedulingGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php index d96a4d76602..79d6a0a6df3 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. * @param SharePostRequestBody $body The request body * @param ShareRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SharePostRequestBody $body, ?ShareRequestBuilderPostRequest } /** - * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. * @param SharePostRequestBody $body The request body * @param ShareRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SharePostRequestBody $body, ?ShareReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php index 933aff3a2db..5d414fa4d70 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a shift from the schedule. This API is available in the following national cloud deployments. + * Delete a shift from the schedule. * @param ShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ShiftItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. * @param ShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(Shift $body, ?ShiftItemRequestBuilderPatchRequestConfigura } /** - * Delete a shift from the schedule. This API is available in the following national cloud deployments. + * Delete a shift from the schedule. * @param ShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ShiftItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. * @param ShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ShiftItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(Shift $body, ?ShiftItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php index 46a8680d36c..2ee5cb2261d 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. */ class ShiftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php index be994ad754a..386d560ceb5 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. * @param ShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ShiftsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. * @param Shift $body The request body * @param ShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Shift $body, ?ShiftsRequestBuilderPostRequestConfiguration } /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. * @param ShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ShiftsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. * @param Shift $body The request body * @param ShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Shift $body, ?ShiftsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php index aa39976bac4..8f7b3c44ebc 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. */ class ShiftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php index 9d8feecd382..61c725c197d 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SwapShiftsChangeRequestItemRequestBuilderDeleteRequestCo } /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?SwapShiftsChangeRequestItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(SwapShiftsChangeRequest $body, ?SwapSh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php index db26b475096..7cec4deebea 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. */ class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php index f8ac4b5408b..6b9bf6ad2b1 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. * @param SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SwapShiftsChangeRequestsRequestBuilderGetRequestConfigurati } /** - * Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Create an instance of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequest $body The request body * @param SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SwapShiftsChangeRequest $body, ?SwapShiftsChangeRequestsReq } /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. * @param SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Create an instance of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequest $body The request body * @param SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SwapShiftsChangeRequest $body, ?SwapShi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php index 8b903b12129..c9ef6bee053 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. */ class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index 72d234cc6c6..9090b88c460 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. * @param TimeOffReasonItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffReasonItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. * @param TimeOffReasonItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(TimeOffReason $body, ?TimeOffReasonItemRequestBuilderPatch } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. * @param TimeOffReasonItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?TimeOffReasonItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. * @param TimeOffReasonItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TimeOffReasonItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TimeOffReason $body, ?TimeOffReasonIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php index 3546e497d2c..be9d8c4ef15 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. */ class TimeOffReasonItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index cbce71c22af..493d95bee76 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. * @param TimeOffReasonsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TimeOffReasonsRequestBuilderGetRequestConfiguration $reques } /** - * Create a new timeOffReason. This API is available in the following national cloud deployments. + * Create a new timeOffReason. * @param TimeOffReason $body The request body * @param TimeOffReasonsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TimeOffReason $body, ?TimeOffReasonsRequestBuilderPostReque } /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. * @param TimeOffReasonsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TimeOffReasonsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new timeOffReason. This API is available in the following national cloud deployments. + * Create a new timeOffReason. * @param TimeOffReason $body The request body * @param TimeOffReasonsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TimeOffReason $body, ?TimeOffReasonsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php index a29952c613f..d9eae4e8d61 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. */ class TimeOffReasonsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index c66ed7afacd..964029cfd70 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a timeOffRequest object. This API is available in the following national cloud deployments. + * Delete a timeOffRequest object. * @param TimeOffRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffRequestItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. * @param TimeOffRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(TimeOffRequest $body, ?TimeOffRequestItemRequestBuilderPat } /** - * Delete a timeOffRequest object. This API is available in the following national cloud deployments. + * Delete a timeOffRequest object. * @param TimeOffRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TimeOffRequestItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. * @param TimeOffRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TimeOffRequestItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TimeOffRequest $body, ?TimeOffRequestI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php index 85515a81262..8ae8ddb5754 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. */ class TimeOffRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index 72c8828691f..c8afbdfc0d2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. * @param TimeOffRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(TimeOffRequest $body, ?TimeOffRequestsRequestBuilderPostReq } /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. * @param TimeOffRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TimeOffRequestsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(TimeOffRequest $body, ?TimeOffRequestsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php index 0228cbb5e67..b6760a04b86 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. */ class TimeOffRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index b2d55fb35e1..40c71257ab9 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + * Delete a timeOff instance from a schedule. * @param TimeOffItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. * @param TimeOffItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(TimeOff $body, ?TimeOffItemRequestBuilderPatchRequestConfi } /** - * Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + * Delete a timeOff instance from a schedule. * @param TimeOffItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?TimeOffItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. * @param TimeOffItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TimeOffItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TimeOff $body, ?TimeOffItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php index ac9c03558aa..6d57df74754 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. */ class TimeOffItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php index 3c0cbc4dcf6..61b48fecfb2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. * @param TimesOffRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TimesOffRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + * Create a new timeOff instance in a schedule. * @param TimeOff $body The request body * @param TimesOffRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TimeOff $body, ?TimesOffRequestBuilderPostRequestConfigurat } /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. * @param TimesOffRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TimesOffRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + * Create a new timeOff instance in a schedule. * @param TimeOff $body The request body * @param TimesOffRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TimeOff $body, ?TimesOffRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php index fda409c40c5..778d1993708 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. */ class TimesOffRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php index b29eda5e462..0c0f20d2897 100644 --- a/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationPostRequestBody $body, ?SendActivit } /** - * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php index 528a5e5054b..a7c538f5b39 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + * Delete a member from a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TeamworkTagMemberItemRequestBuilderDeleteRequestConfigur } /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(TeamworkTagMember $body, ?TeamworkTagMemberItemRequestBuil } /** - * Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + * Delete a member from a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TeamworkTagMemberItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TeamworkTagMemberItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TeamworkTagMember $body, ?TeamworkTagM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php index 6745567bcd9..45f665e5066 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. */ class TeamworkTagMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php index a73e06dc050..9063966d36c 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + * Create a new teamworkTagMember object in a team. * @param TeamworkTagMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamworkTagMember $body, ?MembersRequestBuilderPostRequestC } /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + * Create a new teamworkTagMember object in a team. * @param TeamworkTagMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamworkTagMember $body, ?MembersReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php index d8839595a05..3e025196528 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php index a2cc5d147c9..d9704b9eb84 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a tag object permanently. This API is available in the following national cloud deployments. + * Delete a tag object permanently. * @param TeamworkTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamworkTagItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. * @param TeamworkTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamworkTagItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of a tag object. This API is available in the following national cloud deployments. + * Update the properties of a tag object. * @param TeamworkTag $body The request body * @param TeamworkTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamworkTag $body, ?TeamworkTagItemRequestBuilderPatchRequ } /** - * Delete a tag object permanently. This API is available in the following national cloud deployments. + * Delete a tag object permanently. * @param TeamworkTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamworkTagItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. * @param TeamworkTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamworkTagItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a tag object. This API is available in the following national cloud deployments. + * Update the properties of a tag object. * @param TeamworkTag $body The request body * @param TeamworkTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamworkTag $body, ?TeamworkTagItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php index 7aacf8fdcd7..1b299e7c8c3 100644 --- a/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. */ class TeamworkTagItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php b/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php index 259da8c93ba..e11658747de 100644 --- a/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TagsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a standard tag for members in a team. This API is available in the following national cloud deployments. + * Create a standard tag for members in a team. * @param TeamworkTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamworkTag $body, ?TagsRequestBuilderPostRequestConfigurat } /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a standard tag for members in a team. This API is available in the following national cloud deployments. + * Create a standard tag for members in a team. * @param TeamworkTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamworkTag $body, ?TagsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilderGetQueryParameters.php index 3b8639ff65e..3a3a1074a63 100644 --- a/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Tags/TagsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. */ class TagsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/TeamRequestBuilder.php b/src/Generated/Groups/Item/Team/TeamRequestBuilder.php index 07dddfd93b1..0af021c8bff 100644 --- a/src/Generated/Groups/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/TeamRequestBuilder.php @@ -234,7 +234,7 @@ public function toDeleteRequestInformation(?TeamRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -255,7 +255,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -274,7 +274,7 @@ public function toPutRequestInformation(Team $body, ?TeamRequestBuilderPutReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.php b/src/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.php index a8b808d3219..0d65d867b7a 100644 --- a/src/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TemplateRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php index fb12b12bd21..19d7b2f04cc 100644 --- a/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestCo } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index da2ec004755..bbee7e70944 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -47,11 +47,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. * @param ConversationThreadItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -63,11 +63,11 @@ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfigu } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 Find more info here */ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -79,7 +79,7 @@ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration } /** - * This API is available in the following national cloud deployments. + * Update conversation thread * @param ConversationThread $body The request body * @param ConversationThreadItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(ConversationThread $body, ?ConversationThreadItemRequestBu } /** - * This API is available in the following national cloud deployments. + * Delete conversationThread. * @param ConversationThreadItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?ConversationThreadItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * This API is available in the following national cloud deployments. + * Update conversation thread * @param ConversationThread $body The request body * @param ConversationThreadItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(ConversationThread $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index 6d073daebbc..acb3425410f 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get a thread object. */ class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php index 980c9b839d0..6c665a5056d 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 96f0e585e9a..1346a05b960 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index eefebb3362c..4e97f2dd6b6 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 0cdfc6a9dd6..6c3b9aff120 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -74,7 +74,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -95,7 +95,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php index f61170adf7c..9ff1c5e1ab1 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index adf045a74b8..a709a01f9c3 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 820d086339f..ae1a2a4e814 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $request } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 9f3074e8d2e..0df0d06f0e1 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php index bb63f325c92..7b8cb1519b5 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php index d909e8eda07..8fd1c196e06 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 8bd3189128d..f6dc01326ce 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a post. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 117ba9bb7e1..d87837b6219 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php index fe96a7d9cd9..453791d499d 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.php @@ -74,7 +74,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -95,7 +95,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php index d43dce0480a..dca37d9b4f7 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 9de06cdf30a..9b41ee77f00 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php index 48be21ec528..56a5ada5fe9 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $request } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 037949ff251..8cebfb72037 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php index 281e7304455..4577563d368 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php index e11941b8ffd..5b01045d51e 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.php @@ -94,7 +94,7 @@ public function toGetRequestInformation(?InReplyToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index 34b4dac1829..da270ce4e81 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php index 9daffb5d1c3..d72e1394693 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.php @@ -102,7 +102,7 @@ public function toGetRequestInformation(?PostItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index 9e6deca7d41..f6985ac547a 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + * 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. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 434eaf77bd4..3fcee487a77 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?PostsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 5e12e31ec01..91ed3aa47ec 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index cafbb3f098f..50753e7e246 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php index c50eae75601..056aed19399 100644 --- a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the threads of a group. This API is available in the following national cloud deployments. + * Get all the threads of a group. * @param ThreadsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ThreadsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group.Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. This API is available in the following national cloud deployments. + * Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group.Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. * @param ConversationThread $body The request body * @param ThreadsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ConversationThread $body, ?ThreadsRequestBuilderPostRequest } /** - * Get all the threads of a group. This API is available in the following national cloud deployments. + * Get all the threads of a group. * @param ThreadsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ThreadsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group.Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. This API is available in the following national cloud deployments. + * Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group.Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. * @param ConversationThread $body The request body * @param ThreadsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ConversationThread $body, ?ThreadsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php index 1790a13d01f..de31ef3788f 100644 --- a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the threads of a group. This API is available in the following national cloud deployments. + * Get all the threads of a group. */ class ThreadsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 015340ba400..8667c391130 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php index 129f94ce772..da4232e9f7e 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php index ea93e80d93b..7b3ed743af6 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index c83dfd93a06..48ccb5a9bbe 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index e3c63f61fe2..a8dcb2147d2 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php index 6e0081a9466..38f0c356cb4 100644 --- a/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TransitiveMemberOfRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.php index 13328a705e2..cabfc7fc5b2 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.php index baa40c5ad06..4a6aa56612e 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.php index 1f94b37bc83..a4b93e1bda8 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.php index 9ff37fc3fe9..48806ef80e0 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 0e0f9fc432a..2e705b28415 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.php index 4f48a48cf1d..a389229466b 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.php index f96e6fca413..66191bc8a87 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.php @@ -110,7 +110,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.php index 13d97d51a8b..120c163cde3 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.php index 346e28fe539..a770f53d714 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.php index b0a7e512775..cd3afced30e 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index 99899899c57..49351b3e8d9 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 5b39f0b946a..19fc614557c 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.php index 0e932334cab..eb4f2cd4a8c 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.php b/src/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.php index 2950895cf20..22eaeab990e 100644 --- a/src/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.php +++ b/src/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.php @@ -131,7 +131,7 @@ public function toGetRequestInformation(?TransitiveMembersRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.php b/src/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.php index 39e7d786b5d..d001a4c8458 100644 --- a/src/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.php +++ b/src/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calling this method prevents the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Calling this method prevents the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. * @param UnsubscribeByMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnsubscribeByMailRequestBuilderPostRequestConfiguration $r } /** - * Calling this method prevents the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + * Calling this method prevents the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. * @param UnsubscribeByMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnsubscribeByMailRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.php index ad697ddcf15..c7f24c60132 100644 --- a/src/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.php index e8563eb7437..b327a05a3b6 100644 --- a/src/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.php b/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.php index 118311ac4ab..419d68609e7 100644 --- a/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.php +++ b/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Read the properties of an identityApiConnector object. * @param ApiConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ApiConnectorsRequestBuilderGetRequestConfiguration $request } /** - * Create a new identityApiConnector object. This API is available in the following national cloud deployments. + * Create a new identityApiConnector object. * @param IdentityApiConnector $body The request body * @param ApiConnectorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(IdentityApiConnector $body, ?ApiConnectorsRequestBuilderPos } /** - * Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Read the properties of an identityApiConnector object. * @param ApiConnectorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ApiConnectorsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new identityApiConnector object. This API is available in the following national cloud deployments. + * Create a new identityApiConnector object. * @param IdentityApiConnector $body The request body * @param ApiConnectorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(IdentityApiConnector $body, ?ApiConnect $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilderGetQueryParameters.php index 8c9963913cd..fdb60bd878b 100644 --- a/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Read the properties of an identityApiConnector object. */ class ApiConnectorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php b/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php index 763e8199214..81a9f99952d 100644 --- a/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php +++ b/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an identityApiConnector object. This API is available in the following national cloud deployments. + * Delete an identityApiConnector object. * @param IdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?IdentityApiConnectorItemRequestBuilderDeleteRequestConfi } /** - * Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Read the properties of an identityApiConnector object. * @param IdentityApiConnectorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?IdentityApiConnectorItemRequestBuilderGetRequestConfigurati } /** - * Update the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Update the properties of an identityApiConnector object. * @param IdentityApiConnector $body The request body * @param IdentityApiConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(IdentityApiConnector $body, ?IdentityApiConnectorItemReque } /** - * Delete an identityApiConnector object. This API is available in the following national cloud deployments. + * Delete an identityApiConnector object. * @param IdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?IdentityApiConnectorItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Read the properties of an identityApiConnector object. * @param IdentityApiConnectorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?IdentityApiConnectorItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Update the properties of an identityApiConnector object. * @param IdentityApiConnector $body The request body * @param IdentityApiConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(IdentityApiConnector $body, ?IdentityA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilderGetQueryParameters.php index eaebd129431..c6e73e20fd4 100644 --- a/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + * Read the properties of an identityApiConnector object. */ class IdentityApiConnectorItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php b/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php index 8ed4e9da835..fbde1779ecb 100644 --- a/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php +++ b/src/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. * @param UploadClientCertificatePostRequestBody $body The request body * @param UploadClientCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UploadClientCertificatePostRequestBody $body, ?UploadClient } /** - * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. * @param UploadClientCertificatePostRequestBody $body The request body * @param UploadClientCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UploadClientCertificatePostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.php index dbe27e6e755..92e6d9f4fb2 100644 --- a/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of b2xIdentityUserFlow objects. This API is available in the following national cloud deployments. + * Retrieve a list of b2xIdentityUserFlow objects. * @param B2xUserFlowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?B2xUserFlowsRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Create a new b2xIdentityUserFlow object. * @param B2xIdentityUserFlow $body The request body * @param B2xUserFlowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(B2xIdentityUserFlow $body, ?B2xUserFlowsRequestBuilderPostR } /** - * Retrieve a list of b2xIdentityUserFlow objects. This API is available in the following national cloud deployments. + * Retrieve a list of b2xIdentityUserFlow objects. * @param B2xUserFlowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?B2xUserFlowsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Create a new b2xIdentityUserFlow object. * @param B2xIdentityUserFlow $body The request body * @param B2xUserFlowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(B2xIdentityUserFlow $body, ?B2xUserFlow $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilderGetQueryParameters.php index 1ccb1a82dd4..2009a98671d 100644 --- a/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of b2xIdentityUserFlow objects. This API is available in the following national cloud deployments. + * Retrieve a list of b2xIdentityUserFlow objects. */ class B2xUserFlowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.php index 427424d296c..c1b521d9100 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ApiConnectorConfigurationRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.php index 9fb6d4c2155..e39ecfcf969 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PostAttributeCollectionRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PostAttributeCollectionRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(IdentityApiConnector $body, ?PostAttri $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.php index fee414c116c..57d952235d6 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.php index 1cb744f00c6..c0b07e3c5db 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. * @param UploadClientCertificatePostRequestBody $body The request body * @param UploadClientCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UploadClientCertificatePostRequestBody $body, ?UploadClient } /** - * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. * @param UploadClientCertificatePostRequestBody $body The request body * @param UploadClientCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UploadClientCertificatePostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.php index f33551559d5..4a1beafaed2 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PostFederationSignupRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PostFederationSignupRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(IdentityApiConnector $body, ?PostFeder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.php index b585594ac8c..20bec632095 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.php index d44b345b39d..e2c87c3a329 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. * @param UploadClientCertificatePostRequestBody $body The request body * @param UploadClientCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UploadClientCertificatePostRequestBody $body, ?UploadClient } /** - * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + * Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. * @param UploadClientCertificatePostRequestBody $body The request body * @param UploadClientCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UploadClientCertificatePostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.php index 299e19abec3..3a9365b6a0d 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Delete a b2xIdentityUserFlow object. * @param B2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?B2xIdentityUserFlowItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a b2xIdentityUserFlow object. * @param B2xIdentityUserFlowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function patch(B2xIdentityUserFlow $body, ?B2xIdentityUserFlowItemRequest } /** - * Delete a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Delete a b2xIdentityUserFlow object. * @param B2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,12 +132,12 @@ public function toDeleteRequestInformation(?B2xIdentityUserFlowItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a b2xIdentityUserFlow object. * @param B2xIdentityUserFlowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -153,7 +153,7 @@ public function toGetRequestInformation(?B2xIdentityUserFlowItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -172,7 +172,7 @@ public function toPatchRequestInformation(B2xIdentityUserFlow $body, ?B2xIdentit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilderGetQueryParameters.php index 9c7042d7652..9a827fb568e 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a b2xIdentityUserFlow object. */ class B2xIdentityUserFlowItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php index 327a25713da..f7d12a73ea4 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the identity providers in a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Get the identity providers in a b2xIdentityUserFlow object. * @param IdentityProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?IdentityProvidersRequestBuilderGetRequestConfiguration $req } /** - * Get the identity providers in a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Get the identity providers in a b2xIdentityUserFlow object. * @param IdentityProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?IdentityProvidersRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php index 34b7a2fa0cd..18a76e7e9c4 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the identity providers in a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + * Get the identity providers in a b2xIdentityUserFlow object. */ class IdentityProvidersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php index 738bf1e1428..4af833abb5a 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?IdentityProviderItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?IdentityProviderItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php index a9226d73d9d..e93b3514184 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DefaultPagesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UserFlowLanguagePage $body, ?DefaultPag $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.php index d3e6c9db016..0a268ba9339 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UserFlowLanguagePageItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UserFlowLanguagePageItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UserFlowLanguagePage $body, ?UserFlowL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php index 1cd360f72ea..6986e8311f8 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php index 5e98f5d227d..4f5598577ce 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UserFlowLanguagePageItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UserFlowLanguagePageItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UserFlowLanguagePage $body, ?UserFlowL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php index d44d37443eb..54f448d921a 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php index 7817882a051..58776b24911 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. * @param OverridesPagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UserFlowLanguagePage $body, ?OverridesPagesRequestBuilderPo } /** - * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. * @param OverridesPagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?OverridesPagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UserFlowLanguagePage $body, ?OverridesP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php index def6df8bd97..c8b374eca59 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. */ class OverridesPagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php index 0ee92d604a4..4884ce3f1c8 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?UserFlowLanguageConfigurationItemRequestBuilderDeleteReq } /** - * Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Microsoft Entra user flows. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Microsoft Entra user flows. * @param UserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?UserFlowLanguageConfigurationItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Microsoft Entra user flows. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Microsoft Entra user flows. * @param UserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?UserFlowLanguageConfigurationItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(UserFlowLanguageConfiguration $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters.php index 6effb58b362..702f2646dd6 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Microsoft Entra user flows. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Microsoft Entra user flows. */ class UserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php index faea22c7c58..87d10d42450 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of languages supported for customization in a B2X user flow. This API is available in the following national cloud deployments. + * Retrieve a list of languages supported for customization in a B2X user flow. * @param LanguagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UserFlowLanguageConfiguration $body, ?LanguagesRequestBuild } /** - * Retrieve a list of languages supported for customization in a B2X user flow. This API is available in the following national cloud deployments. + * Retrieve a list of languages supported for customization in a B2X user flow. * @param LanguagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LanguagesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UserFlowLanguageConfiguration $body, ?L $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilderGetQueryParameters.php index 463b99ec471..9d45b8fa071 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of languages supported for customization in a B2X user flow. This API is available in the following national cloud deployments. + * Retrieve a list of languages supported for customization in a B2X user flow. */ class LanguagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.php index 24e7ed77e52..68fd338bcfe 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?GetOrderRequestBuilderGetRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.php index d127acc5bb1..35243d5ca3b 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Delete an identityUserFlowAttributeAssignment object. * @param IdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?IdentityUserFlowAttributeAssignmentItemRequestBuilderDel } /** - * Read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an identityUserFlowAttributeAssignment object. * @param IdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?IdentityUserFlowAttributeAssignmentItemRequestBuilderGetReq } /** - * Update the properties of a identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Update the properties of a identityUserFlowAttributeAssignment object. * @param IdentityUserFlowAttributeAssignment $body The request body * @param IdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(IdentityUserFlowAttributeAssignment $body, ?IdentityUserFl } /** - * Delete an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Delete an identityUserFlowAttributeAssignment object. * @param IdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?IdentityUserFlowAttributeAssignmentI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an identityUserFlowAttributeAssignment object. * @param IdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?IdentityUserFlowAttributeAssignmentItem } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Update the properties of a identityUserFlowAttributeAssignment object. * @param IdentityUserFlowAttributeAssignment $body The request body * @param IdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(IdentityUserFlowAttributeAssignment $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters.php index 35e9297e1f4..79a0e55a233 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an identityUserFlowAttributeAssignment object. */ class IdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.php index 3b76548a129..d4bce7cceec 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?UserAttributeRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.php index 5f2781f3eb6..a2944b3fb4b 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the order of identityUserFlowAttributeAssignments being collected within a user flow. This API is available in the following national cloud deployments. + * Set the order of identityUserFlowAttributeAssignments being collected within a user flow. * @param SetOrderPostRequestBody $body The request body * @param SetOrderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetOrderPostRequestBody $body, ?SetOrderRequestBuilderPostR } /** - * Set the order of identityUserFlowAttributeAssignments being collected within a user flow. This API is available in the following national cloud deployments. + * Set the order of identityUserFlowAttributeAssignments being collected within a user flow. * @param SetOrderPostRequestBody $body The request body * @param SetOrderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetOrderPostRequestBody $body, ?SetOrde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.php index 3d2e3e81164..70df0e3e60d 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + * Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. * @param UserAttributeAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function get(?UserAttributeAssignmentsRequestBuilderGetRequestConfigurati } /** - * Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + * Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. * @param IdentityUserFlowAttributeAssignment $body The request body * @param UserAttributeAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,7 +101,7 @@ public function post(IdentityUserFlowAttributeAssignment $body, ?UserAttributeAs } /** - * Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + * Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. * @param UserAttributeAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?UserAttributeAssignmentsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + * Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. * @param IdentityUserFlowAttributeAssignment $body The request body * @param UserAttributeAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPostRequestInformation(IdentityUserFlowAttributeAssignment $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilderGetQueryParameters.php index 8c6f24b20a7..0dc9e8228c7 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + * Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. */ class UserAttributeAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.php index 204e0335ea2..ad0d457e6ff 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.php @@ -61,7 +61,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.php index d905bd483b7..fab905804be 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php index 7cb9777748b..9af150ca2e2 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php @@ -90,7 +90,7 @@ public function toGetRequestInformation(?UserFlowIdentityProvidersRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.php index 6edf8b3c1e3..9ca7e59bceb 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of authenticationContextClassReference objects. This API is available in the following national cloud deployments. + * Retrieve a list of authenticationContextClassReference objects. * @param AuthenticationContextClassReferencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AuthenticationContextClassReference $body, ?AuthenticationC } /** - * Retrieve a list of authenticationContextClassReference objects. This API is available in the following national cloud deployments. + * Retrieve a list of authenticationContextClassReference objects. * @param AuthenticationContextClassReferencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AuthenticationContextClassReferencesReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AuthenticationContextClassReference $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilderGetQueryParameters.php index 400ae820f7d..2b4d9fdc5d0 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of authenticationContextClassReference objects. This API is available in the following national cloud deployments. + * Retrieve a list of authenticationContextClassReference objects. */ class AuthenticationContextClassReferencesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php index 2a09ff88bd7..dece2128ae0 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. This API is available in the following national cloud deployments. + * Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. * @param AuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?AuthenticationContextClassReferenceItemRequestBuilderDel } /** - * Retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a authenticationContextClassReference object. * @param AuthenticationContextClassReferenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?AuthenticationContextClassReferenceItemRequestBuilderGetReq } /** - * Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. This API is available in the following national cloud deployments. + * Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. * @param AuthenticationContextClassReference $body The request body * @param AuthenticationContextClassReferenceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(AuthenticationContextClassReference $body, ?Authentication } /** - * Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. This API is available in the following national cloud deployments. + * Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. * @param AuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?AuthenticationContextClassReferenceI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a authenticationContextClassReference object. * @param AuthenticationContextClassReferenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?AuthenticationContextClassReferenceItem } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. This API is available in the following national cloud deployments. + * Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. * @param AuthenticationContextClassReference $body The request body * @param AuthenticationContextClassReferenceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(AuthenticationContextClassReference $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters.php index 0888d30d589..791860bcb32 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a authenticationContextClassReference object. */ class AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php index f91fed9c08d..9717a7eb8c1 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + * Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. * @param AuthenticationMethodModesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AuthenticationMethodModeDetail $body, ?AuthenticationMethod } /** - * Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + * Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. * @param AuthenticationMethodModesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AuthenticationMethodModesRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AuthenticationMethodModeDetail $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilderGetQueryParameters.php index d99c4a83c98..4e7501bce7b 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + * Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. */ class AuthenticationMethodModesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.php index 2474120caa2..9c81deddbd1 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AuthenticationMethodModeDetailItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AuthenticationMethodModeDetailItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AuthenticationMethodModeDetail $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.php index 293b02f91e0..ddda47d3aa9 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?AuthenticationStrengthRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?AuthenticationStrengthRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AuthenticationStrengthRoot $body, ?Aut $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php index 7e7c413dab2..1c268365bc5 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AuthenticationStrengthPolicyItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AuthenticationStrengthPolicyItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AuthenticationStrengthPolicy $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php index b4075b4da14..a11b87aae0d 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. * @param CombinationConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CombinationConfigurationsRequestBuilderGetRequestConfigurat } /** - * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. * @param AuthenticationCombinationConfiguration $body The request body * @param CombinationConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AuthenticationCombinationConfiguration $body, ?CombinationC } /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. * @param CombinationConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CombinationConfigurationsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. * @param AuthenticationCombinationConfiguration $body The request body * @param CombinationConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AuthenticationCombinationConfiguration $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php index 882a605ee66..94f2cd31a97 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. */ class CombinationConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php index 908d90d873b..20a3cd2455c 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. * @param AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?AuthenticationCombinationConfigurationItemRequestBuilder } /** - * Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationCombinationConfiguration object. * @param AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?AuthenticationCombinationConfigurationItemRequestBuilderGet } /** - * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. * @param AuthenticationCombinationConfiguration $body The request body * @param AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(AuthenticationCombinationConfiguration $body, ?Authenticat } /** - * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. * @param AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?AuthenticationCombinationConfigurati $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationCombinationConfiguration object. * @param AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?AuthenticationCombinationConfigurationI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. * @param AuthenticationCombinationConfiguration $body The request body * @param AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(AuthenticationCombinationConfiguration $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php index addba50aa41..472541d9288 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationCombinationConfiguration object. */ class AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php index f81d5ce8e91..d1f0cfc1474 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. * @param UpdateAllowedCombinationsPostRequestBody $body The request body * @param UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UpdateAllowedCombinationsPostRequestBody $body, ?UpdateAllo } /** - * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. * @param UpdateAllowedCombinationsPostRequestBody $body The request body * @param UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UpdateAllowedCombinationsPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.php index 204a99c5c6f..bc895c80eaa 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?UsageRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.php index 770f33301da..5adc7a54987 100644 --- a/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?PoliciesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AuthenticationStrengthPolicy $body, ?Po $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php index 22a5a1841ca..7f00ff744e4 100644 --- a/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?ConditionalAccessRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?ConditionalAccessRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(ConditionalAccessRoot $body, ?Conditio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 5bec4326774..04bf5a23b4f 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a countryNamedLocation object. This API is available in the following national cloud deployments. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -47,11 +47,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a namedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -63,12 +63,12 @@ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of a countryNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 Find more info here */ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a countryNamedLocation object. This API is available in the following national cloud deployments. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a namedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of a countryNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(NamedLocation $body, ?NamedLocationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php index 572e57e165a..1082619bb8a 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a namedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php index 99c7b273264..cae49ae069b 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of namedLocation objects. This API is available in the following national cloud deployments. + * Get a list of namedLocation objects. * @param NamedLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?NamedLocationsRequestBuilderGetRequestConfiguration $reques } /** - * Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. This API is available in the following national cloud deployments. + * Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. * @param NamedLocation $body The request body * @param NamedLocationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(NamedLocation $body, ?NamedLocationsRequestBuilderPostReque } /** - * Get a list of namedLocation objects. This API is available in the following national cloud deployments. + * Get a list of namedLocation objects. * @param NamedLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?NamedLocationsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. This API is available in the following national cloud deployments. + * Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. * @param NamedLocation $body The request body * @param NamedLocationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(NamedLocation $body, ?NamedLocationsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php index c7890da4b2f..3ed5ecda74c 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of namedLocation objects. This API is available in the following national cloud deployments. + * Get a list of namedLocation objects. */ class NamedLocationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php index 29f1a277bff..27f3c8abcff 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Delete a conditionalAccessPolicy object. * @param ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConditionalAccessPolicyItemRequestBuilderDeleteRequestCo } /** - * Retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a conditionalAccessPolicy object. * @param ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?ConditionalAccessPolicyItemRequestBuilderGetRequestConfigur } /** - * Update the properties of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a conditionalAccessPolicy object. * @param ConditionalAccessPolicy $body The request body * @param ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(ConditionalAccessPolicy $body, ?ConditionalAccessPolicyIte } /** - * Delete a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Delete a conditionalAccessPolicy object. * @param ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConditionalAccessPolicyItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a conditionalAccessPolicy object. * @param ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConditionalAccessPolicyItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a conditionalAccessPolicy object. * @param ConditionalAccessPolicy $body The request body * @param ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConditionalAccessPolicy $body, ?Condit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php index 1c5a70f245e..5797f8242cd 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a conditionalAccessPolicy object. */ class ConditionalAccessPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php index 55bb2b3666c..04de92e3000 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conditionalAccessPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of conditionalAccessPolicy objects. * @param PoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PoliciesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new conditionalAccessPolicy. This API is available in the following national cloud deployments. + * Create a new conditionalAccessPolicy. * @param ConditionalAccessPolicy $body The request body * @param PoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ConditionalAccessPolicy $body, ?PoliciesRequestBuilderPostR } /** - * Retrieve a list of conditionalAccessPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of conditionalAccessPolicy objects. * @param PoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PoliciesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new conditionalAccessPolicy. This API is available in the following national cloud deployments. + * Create a new conditionalAccessPolicy. * @param ConditionalAccessPolicy $body The request body * @param PoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ConditionalAccessPolicy $body, ?Policie $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php index c6a73aeea38..ec46d634143 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conditionalAccessPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of conditionalAccessPolicy objects. */ class PoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php index 505336624b9..a152f43a031 100644 --- a/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a conditionalAccessTemplate object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a conditionalAccessTemplate object. * @param ConditionalAccessTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?ConditionalAccessTemplateItemRequestBuilderGetRequestConfig } /** - * Read the properties and relationships of a conditionalAccessTemplate object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a conditionalAccessTemplate object. * @param ConditionalAccessTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?ConditionalAccessTemplateItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilderGetQueryParameters.php index 19f26810a1f..17a55512ce2 100644 --- a/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a conditionalAccessTemplate object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a conditionalAccessTemplate object. */ class ConditionalAccessTemplateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php index cfcdb75ed59..c8c96a51dd0 100644 --- a/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the conditionalAccessTemplate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the conditionalAccessTemplate objects and their properties. * @param TemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TemplatesRequestBuilderGetRequestConfiguration $requestConf } /** - * Get a list of the conditionalAccessTemplate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the conditionalAccessTemplate objects and their properties. * @param TemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TemplatesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilderGetQueryParameters.php index 81a0ff25443..5da2fdd6115 100644 --- a/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the conditionalAccessTemplate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the conditionalAccessTemplate objects and their properties. */ class TemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php b/src/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php index 802fa7da2e2..c7e75095e9e 100644 --- a/src/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php +++ b/src/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?AvailableProviderTypesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.php b/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.php index 25153e2dfa7..997da105557 100644 --- a/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.php +++ b/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. This API is available in the following national cloud deployments. + * Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. * @param IdentityProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?IdentityProvidersRequestBuilderGetRequestConfiguration $req } /** - * Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBase $body The request body * @param IdentityProvidersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(IdentityProviderBase $body, ?IdentityProvidersRequestBuilde } /** - * Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. This API is available in the following national cloud deployments. + * Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. * @param IdentityProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?IdentityProvidersRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBase $body The request body * @param IdentityProvidersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(IdentityProviderBase $body, ?IdentityPr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php b/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php index 3c78aedd558..3ea1e317529 100644 --- a/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. This API is available in the following national cloud deployments. + * Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. */ class IdentityProvidersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php b/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php index 6bb0390e5ad..ce825bdd554 100644 --- a/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php +++ b/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?IdentityProviderBaseItemRequestBuilderDeleteRequestConfi } /** - * Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?IdentityProviderBaseItemRequestBuilderGetRequestConfigurati } /** - * Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBase $body The request body * @param IdentityProviderBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(IdentityProviderBase $body, ?IdentityProviderBaseItemReque } /** - * Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?IdentityProviderBaseItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?IdentityProviderBaseItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource. * @param IdentityProviderBase $body The request body * @param IdentityProviderBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(IdentityProviderBase $body, ?IdentityP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilderGetQueryParameters.php index 02dc8e69ebf..747d8d4b8ca 100644 --- a/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. */ class IdentityProviderBaseItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/IdentityRequestBuilder.php b/src/Generated/Identity/IdentityRequestBuilder.php index 11b675f394a..1d3ee9c1ae8 100644 --- a/src/Generated/Identity/IdentityRequestBuilder.php +++ b/src/Generated/Identity/IdentityRequestBuilder.php @@ -118,7 +118,7 @@ public function toGetRequestInformation(?IdentityRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -137,7 +137,7 @@ public function toPatchRequestInformation(IdentityContainer $body, ?IdentityRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.php b/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.php index 7d521c5620e..ac673f213c9 100644 --- a/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.php +++ b/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a custom identityUserFlowAttribute. This API is available in the following national cloud deployments. + * Delete a custom identityUserFlowAttribute. * @param IdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?IdentityUserFlowAttributeItemRequestBuilderDeleteRequest } /** - * Retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a identityUserFlowAttribute object. * @param IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?IdentityUserFlowAttributeItemRequestBuilderGetRequestConfig } /** - * Update the properties of a custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Update the properties of a custom identityUserFlowAttribute object. * @param IdentityUserFlowAttribute $body The request body * @param IdentityUserFlowAttributeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(IdentityUserFlowAttribute $body, ?IdentityUserFlowAttribut } /** - * Delete a custom identityUserFlowAttribute. This API is available in the following national cloud deployments. + * Delete a custom identityUserFlowAttribute. * @param IdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?IdentityUserFlowAttributeItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a identityUserFlowAttribute object. * @param IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?IdentityUserFlowAttributeItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Update the properties of a custom identityUserFlowAttribute object. * @param IdentityUserFlowAttribute $body The request body * @param IdentityUserFlowAttributeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(IdentityUserFlowAttribute $body, ?Iden $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters.php index ce76e233bc4..5d844c4ed72 100644 --- a/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a identityUserFlowAttribute object. */ class IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php b/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php index 1412892c653..337252d8cde 100644 --- a/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php +++ b/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of identityUserFlowAttribute objects. This API is available in the following national cloud deployments. + * Retrieve a list of identityUserFlowAttribute objects. * @param UserFlowAttributesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?UserFlowAttributesRequestBuilderGetRequestConfiguration $re } /** - * Create a new custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Create a new custom identityUserFlowAttribute object. * @param IdentityUserFlowAttribute $body The request body * @param UserFlowAttributesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(IdentityUserFlowAttribute $body, ?UserFlowAttributesRequest } /** - * Retrieve a list of identityUserFlowAttribute objects. This API is available in the following national cloud deployments. + * Retrieve a list of identityUserFlowAttribute objects. * @param UserFlowAttributesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?UserFlowAttributesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + * Create a new custom identityUserFlowAttribute object. * @param IdentityUserFlowAttribute $body The request body * @param UserFlowAttributesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(IdentityUserFlowAttribute $body, ?UserF $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilderGetQueryParameters.php index bf32115b7f5..e47bc484d2e 100644 --- a/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of identityUserFlowAttribute objects. This API is available in the following national cloud deployments. + * Retrieve a list of identityUserFlowAttribute objects. */ class UserFlowAttributesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.php index 981f9f81243..a69f4f6551e 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?AccessReviewsRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?AccessReviewsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessReviewSet $body, ?AccessReviewsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.php index 84b4f463d8d..f7a38409406 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the accessReviewScheduleDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the accessReviewScheduleDefinition objects and their properties. * @param DefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?DefinitionsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + * Create a new accessReviewScheduleDefinition object. * @param AccessReviewScheduleDefinition $body The request body * @param DefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(AccessReviewScheduleDefinition $body, ?DefinitionsRequestBu } /** - * Get a list of the accessReviewScheduleDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the accessReviewScheduleDefinition objects and their properties. * @param DefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?DefinitionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + * Create a new accessReviewScheduleDefinition object. * @param AccessReviewScheduleDefinition $body The request body * @param DefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(AccessReviewScheduleDefinition $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilderGetQueryParameters.php index fbfdcc07065..2e29c7a9673 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the accessReviewScheduleDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the accessReviewScheduleDefinition objects and their properties. */ class DefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 6f7a2407dfd..e530062d335 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php index 6df25802d75..afd1202dffe 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes an accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + * Deletes an accessReviewScheduleDefinition object. * @param AccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?AccessReviewScheduleDefinitionItemRequestBuilderDeleteRe } /** - * Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. * @param AccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -96,7 +96,7 @@ public function patch(AccessReviewScheduleDefinition $body, ?AccessReviewSchedul } /** - * Deletes an accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + * Deletes an accessReviewScheduleDefinition object. * @param AccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?AccessReviewScheduleDefinitionItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. * @param AccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,7 +130,7 @@ public function toGetRequestInformation(?AccessReviewScheduleDefinitionItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -149,7 +149,7 @@ public function toPatchRequestInformation(AccessReviewScheduleDefinition $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters.php index f4c336da541..c363ff1f6bc 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. */ class AccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index a18a3b0242c..ad4e7ab2f0d 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.php index 098e80c602a..19fd1c149d0 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the accessReviewInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the accessReviewInstance objects and their properties. * @param InstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(AccessReviewInstance $body, ?InstancesRequestBuilderPostReq } /** - * Get a list of the accessReviewInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the accessReviewInstance objects and their properties. * @param InstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(AccessReviewInstance $body, ?InstancesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 08105ca0474..c5bce5bb289 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the accessReviewInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the accessReviewInstance objects and their properties. */ class InstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.php index 0655873257b..95193c5a989 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed on an accessReviewInstance object for which the calling user is a reviewer. This API is available in the following national cloud deployments. + * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed on an accessReviewInstance object for which the calling user is a reviewer. * @param AcceptRecommendationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?AcceptRecommendationsRequestBuilderPostRequestConfiguratio } /** - * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed on an accessReviewInstance object for which the calling user is a reviewer. This API is available in the following national cloud deployments. + * Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed on an accessReviewInstance object for which the calling user is a reviewer. * @param AcceptRecommendationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?AcceptRecommendationsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php index 465cebc986c..7a917c8e029 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.php @@ -118,7 +118,7 @@ public function delete(?AccessReviewInstanceItemRequestBuilderDeleteRequestConfi } /** - * Read the properties and relationships of an accessReviewInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstance object. * @param AccessReviewInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -164,12 +164,12 @@ public function toDeleteRequestInformation(?AccessReviewInstanceItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an accessReviewInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstance object. * @param AccessReviewInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -185,7 +185,7 @@ public function toGetRequestInformation(?AccessReviewInstanceItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -204,7 +204,7 @@ public function toPatchRequestInformation(AccessReviewInstance $body, ?AccessRev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilderGetQueryParameters.php index ee50af5568b..532b07c3c53 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessReviewInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstance object. */ class AccessReviewInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.php index 542554ae4c6..cb3fffdefa3 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. This API is available in the following national cloud deployments. + * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param ApplyDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ApplyDecisionsRequestBuilderPostRequestConfiguration $requ } /** - * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. This API is available in the following national cloud deployments. + * Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. * @param ApplyDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ApplyDecisionsRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.php index 107ac5eacb2..6e1ab03a548 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. This API is available in the following national cloud deployments. + * Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. * @param BatchRecordDecisionsPostRequestBody $body The request body * @param BatchRecordDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(BatchRecordDecisionsPostRequestBody $body, ?BatchRecordDeci } /** - * Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. This API is available in the following national cloud deployments. + * Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. * @param BatchRecordDecisionsPostRequestBody $body The request body * @param BatchRecordDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(BatchRecordDecisionsPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php index 27468f89946..f7c8a1cf6cd 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @param ContactedReviewersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessReviewReviewer $body, ?ContactedReviewersRequestBuild } /** - * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @param ContactedReviewersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ContactedReviewersRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessReviewReviewer $body, ?ContactedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php index 0c266a34cf0..db2fd1ff1e7 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. */ class ContactedReviewersRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.php index eaa6b313569..47c3685bc1c 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessReviewReviewerItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessReviewReviewerItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessReviewReviewer $body, ?AccessRev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php index 4f9605c4b84..b6e180c6417 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(AccessReviewInstanceDecisionItem $body, ?DecisionsRequestBu } /** - * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?DecisionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(AccessReviewInstanceDecisionItem $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php index 6c2297c8c5b..99f98d6cbf9 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. */ class DecisionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index cd434bfd968..6c0ed8092c5 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php index da54fb1d90e..7b29aa02cf3 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?AccessReviewInstanceDecisionItemItemRequestBuilderDelete } /** - * Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?AccessReviewInstanceDecisionItemItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?AccessReviewInstanceDecisionItemItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(AccessReviewInstanceDecisionItem $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php index 2d94078a714..5783c232afa 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. */ class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.php index 10ded10038f..26c867bb3f1 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?InsightsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(GovernanceInsight $body, ?InsightsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php index 26b26058ce0..919d663d09e 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?GovernanceInsightItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?GovernanceInsightItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(GovernanceInsight $body, ?GovernanceIn $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.php index 2aadc2dedee..f7ba04392ba 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resets all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. This API is available in the following national cloud deployments. + * Resets all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param ResetDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ResetDecisionsRequestBuilderPostRequestConfiguration $requ } /** - * Resets all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. This API is available in the following national cloud deployments. + * Resets all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. * @param ResetDecisionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ResetDecisionsRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.php index e82e0b64679..e823e786725 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send a reminder to the reviewers of an active accessReviewInstance. This API is available in the following national cloud deployments. + * Send a reminder to the reviewers of an active accessReviewInstance. * @param SendReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SendReminderRequestBuilderPostRequestConfiguration $reques } /** - * Send a reminder to the reviewers of an active accessReviewInstance. This API is available in the following national cloud deployments. + * Send a reminder to the reviewers of an active accessReviewInstance. * @param SendReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SendReminderRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 978c6968d81..da1c4c997e2 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php index 84d3e15f6ec..f24d4f2c38c 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?AccessReviewStageItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an accessReviewStage object. * @param AccessReviewStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?AccessReviewStageItemRequestBuilderGetRequestConfiguration } /** - * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. This API is available in the following national cloud deployments. + * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. * @param AccessReviewStage $body The request body * @param AccessReviewStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?AccessReviewStageItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an accessReviewStage object. * @param AccessReviewStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?AccessReviewStageItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. This API is available in the following national cloud deployments. + * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. * @param AccessReviewStage $body The request body * @param AccessReviewStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(AccessReviewStage $body, ?AccessReview $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php index 5d236696ad5..48d2c97dbb1 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an accessReviewStage object. */ class AccessReviewStageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php index dc2546116e2..c82b6f39679 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(AccessReviewInstanceDecisionItem $body, ?DecisionsRequestBu } /** - * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?DecisionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(AccessReviewInstanceDecisionItem $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php index f9d7c92ae59..3d18fe4b831 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. */ class DecisionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 319d80852ac..7fe665c3d7f 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php index c3182a09cdd..cef5290af9e 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?AccessReviewInstanceDecisionItemItemRequestBuilderDelete } /** - * Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?AccessReviewInstanceDecisionItemItemRequestBuilderGetReques } /** - * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. + * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. * @param AccessReviewInstanceDecisionItem $body The request body * @param AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?AccessReviewInstanceDecisionItemItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?AccessReviewInstanceDecisionItemItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. + * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. * @param AccessReviewInstanceDecisionItem $body The request body * @param AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(AccessReviewInstanceDecisionItem $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php index fe1898e1517..6fc5bcd56a6 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. */ class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.php index 0315424c427..e126ab4acd4 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?InsightsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(GovernanceInsight $body, ?InsightsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php index 22a05617b18..899540e9e90 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?GovernanceInsightItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?GovernanceInsightItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(GovernanceInsight $body, ?GovernanceIn $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.php index 242367aa7d3..320d6956159 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. This API is available in the following national cloud deployments. + * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param StopRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?StopRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. This API is available in the following national cloud deployments. + * Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. * @param StopRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?StopRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php index fc0bc6faa85..8f6fd4e1aa2 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + * Retrieve the stages in a multi-stage access review instance. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(AccessReviewStage $body, ?StagesRequestBuilderPostRequestCo } /** - * Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + * Retrieve the stages in a multi-stage access review instance. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?StagesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(AccessReviewStage $body, ?StagesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php index cf6cde94dc2..c75d97785d3 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + * Retrieve the stages in a multi-stage access review instance. */ class StagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.php index d9f242a4fc1..08d6d57674c 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status is marked as Completed, the reviewers can no longer give input, and the access review decisions are applied. Stopping an instance will not stop future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. This API is available in the following national cloud deployments. + * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status is marked as Completed, the reviewers can no longer give input, and the access review decisions are applied. Stopping an instance will not stop future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param StopRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?StopRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status is marked as Completed, the reviewers can no longer give input, and the access review decisions are applied. Stopping an instance will not stop future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. This API is available in the following national cloud deployments. + * Stop a currently active accessReviewInstance. After the access review instance stops, the instance status is marked as Completed, the reviewers can no longer give input, and the access review decisions are applied. Stopping an instance will not stop future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. * @param StopRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?StopRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.php index 8d5411c82fd..6012f046be5 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?StopRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.php index 1d1e1b3f1a2..cb4e51d2b4c 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. This API is available in the following national cloud deployments. + * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. * @param HistoryDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?HistoryDefinitionsRequestBuilderGetRequestConfiguration $re } /** - * Create a new accessReviewHistoryDefinition object. This API is available in the following national cloud deployments. + * Create a new accessReviewHistoryDefinition object. * @param AccessReviewHistoryDefinition $body The request body * @param HistoryDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AccessReviewHistoryDefinition $body, ?HistoryDefinitionsReq } /** - * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. This API is available in the following national cloud deployments. + * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. * @param HistoryDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?HistoryDefinitionsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessReviewHistoryDefinition object. This API is available in the following national cloud deployments. + * Create a new accessReviewHistoryDefinition object. * @param AccessReviewHistoryDefinition $body The request body * @param HistoryDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AccessReviewHistoryDefinition $body, ?H $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilderGetQueryParameters.php index c5a27a663ac..c97bf233f8b 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. This API is available in the following national cloud deployments. + * Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. */ class HistoryDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php index e0cecc5256c..54cddf554ba 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?AccessReviewHistoryDefinitionItemRequestBuilderDeleteReq } /** - * Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. This API is available in the following national cloud deployments. + * Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. * @param AccessReviewHistoryDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?AccessReviewHistoryDefinitionItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. This API is available in the following national cloud deployments. + * Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. * @param AccessReviewHistoryDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?AccessReviewHistoryDefinitionItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(AccessReviewHistoryDefinition $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters.php index da6e944db0e..517a6c3b0cc 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. This API is available in the following national cloud deployments. + * Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. */ class AccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php index 04f8ad130ac..87b5e75fed6 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the instances of an access review history definition created in the last 30 days. This API is available in the following national cloud deployments. + * Retrieve the instances of an access review history definition created in the last 30 days. * @param InstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessReviewHistoryInstance $body, ?InstancesRequestBuilder } /** - * Retrieve the instances of an access review history definition created in the last 30 days. This API is available in the following national cloud deployments. + * Retrieve the instances of an access review history definition created in the last 30 days. * @param InstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessReviewHistoryInstance $body, ?Ins $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 4b66fd2498b..a2b37357b6c 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the instances of an access review history definition created in the last 30 days. This API is available in the following national cloud deployments. + * Retrieve the instances of an access review history definition created in the last 30 days. */ class InstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php index 566e82e32f9..e51e1d20cc9 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessReviewHistoryInstanceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessReviewHistoryInstanceItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessReviewHistoryInstance $body, ?Ac $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.php index ac05ec317e6..8febb46b4d7 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. This API is available in the following national cloud deployments. + * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. * @param GenerateDownloadUriRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?GenerateDownloadUriRequestBuilderPostRequestConfiguration } /** - * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. This API is available in the following national cloud deployments. + * Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. * @param GenerateDownloadUriRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?GenerateDownloadUriRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.php index 64fdf279650..36401a7f839 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AppConsentRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AppConsentRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AppConsentApprovalRoute $body, ?AppCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.php index f595ff13906..7791db83a22 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve appConsentRequest objects and their properties. This API is available in the following national cloud deployments. + * Retrieve appConsentRequest objects and their properties. * @param AppConsentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(AppConsentRequest $body, ?AppConsentRequestsRequestBuilderP } /** - * Retrieve appConsentRequest objects and their properties. This API is available in the following national cloud deployments. + * Retrieve appConsentRequest objects and their properties. * @param AppConsentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?AppConsentRequestsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(AppConsentRequest $body, ?AppConsentReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilderGetQueryParameters.php index 297c2fcb305..aa004316772 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve appConsentRequest objects and their properties. This API is available in the following national cloud deployments. + * Retrieve appConsentRequest objects and their properties. */ class AppConsentRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 74af2f16bb6..452171628c1 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.php index 59571a8352f..061c662e83b 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?AppConsentRequestItemRequestBuilderDeleteRequestConfigur } /** - * Read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an appConsentRequest object. * @param AppConsentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?AppConsentRequestItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an appConsentRequest object. * @param AppConsentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?AppConsentRequestItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(AppConsentRequest $body, ?AppConsentRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilderGetQueryParameters.php index 4267a62fd1c..1ca03976a37 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an appConsentRequest object. */ class AppConsentRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 9aa37a5cc41..57136eb2cd8 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.php index 2dfcf003633..965ee7496cc 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ApprovalRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ApprovalRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Approval $body, ?ApprovalRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.php index a0aea6cba5a..f161fbb7034 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ApprovalStageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. * @param ApprovalStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ApprovalStageItemRequestBuilderGetRequestConfiguration $req } /** - * Approve or deny an approvalStage object in an approval. This API is available in the following national cloud deployments. + * Approve or deny an approvalStage object in an approval. * @param ApprovalStage $body The request body * @param ApprovalStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ApprovalStageItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. * @param ApprovalStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ApprovalStageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Approve or deny an approvalStage object in an approval. This API is available in the following national cloud deployments. + * Approve or deny an approvalStage object in an approval. * @param ApprovalStage $body The request body * @param ApprovalStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ApprovalStage $body, ?ApprovalStageIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php index 0e0968269e7..c3050d37870 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. */ class ApprovalStageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.php index 0ae3bc20265..5436a0a4f89 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ApprovalStage $body, ?StagesRequestBuilderPostRequestConfig } /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?StagesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ApprovalStage $body, ?StagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilderGetQueryParameters.php index 0cfde20072b..769c12ff65d 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. */ class StagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php index 75349f4eee9..929040eb609 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?UserConsentRequestItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userConsentRequest object. * @param UserConsentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?UserConsentRequestItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userConsentRequest object. * @param UserConsentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?UserConsentRequestItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(UserConsentRequest $body, ?UserConsent $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilderGetQueryParameters.php index f652b97bbeb..7df1b41fb7b 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userConsentRequest object. */ class UserConsentRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php index a93d84d52bc..e791040a4d4 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a collection of userConsentRequest objects and their properties. * @param UserConsentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UserConsentRequest $body, ?UserConsentRequestsRequestBuilde } /** - * Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a collection of userConsentRequest objects and their properties. * @param UserConsentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?UserConsentRequestsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UserConsentRequest $body, ?UserConsentR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilderGetQueryParameters.php index ce3a26517f2..061f53ee062 100644 --- a/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a collection of userConsentRequest objects and their properties. */ class UserConsentRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php index cb9f9927fd3..4bae6ec66cc 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param AccessPackageAssignmentApprovalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -93,7 +93,7 @@ public function post(Approval $body, ?AccessPackageAssignmentApprovalsRequestBui } /** - * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param AccessPackageAssignmentApprovalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,7 +109,7 @@ public function toGetRequestInformation(?AccessPackageAssignmentApprovalsRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toPostRequestInformation(Approval $body, ?AccessPackageAssignmen $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters.php index 62b0b7965ed..4b6096d937f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. */ class AccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index e0618c64751..377b33f9024 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.php index 6e10ad12d2a..a68e81bacca 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ApprovalItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param ApprovalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ApprovalItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param ApprovalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ApprovalItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(Approval $body, ?ApprovalItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilderGetQueryParameters.php index bffb8deb5c4..3bb2fee3e2b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. */ class ApprovalItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php index 858d3a1bcb3..027d64dd458 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ApprovalStageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. * @param ApprovalStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ApprovalStageItemRequestBuilderGetRequestConfiguration $req } /** - * Approve or deny an approvalStage object in an approval. This API is available in the following national cloud deployments. + * Approve or deny an approvalStage object in an approval. * @param ApprovalStage $body The request body * @param ApprovalStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ApprovalStageItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. * @param ApprovalStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ApprovalStageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Approve or deny an approvalStage object in an approval. This API is available in the following national cloud deployments. + * Approve or deny an approvalStage object in an approval. * @param ApprovalStage $body The request body * @param ApprovalStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ApprovalStage $body, ?ApprovalStageIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php index 44ebca82844..936cc40a7e7 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. */ class ApprovalStageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php index f0d0c5e40a1..6e993b0c6f8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ApprovalStage $body, ?StagesRequestBuilderPostRequestConfig } /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?StagesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ApprovalStage $body, ?StagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php index c684fbb071a..aaa37221960 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. */ class StagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php index e8c40e9d7c6..83e4d4ce9ee 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. * @param AccessPackagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?AccessPackagesRequestBuilderGetRequestConfiguration $reques } /** - * Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. This API is available in the following national cloud deployments. + * Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. * @param AccessPackage $body The request body * @param AccessPackagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(AccessPackage $body, ?AccessPackagesRequestBuilderPostReque } /** - * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. * @param AccessPackagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?AccessPackagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. This API is available in the following national cloud deployments. + * Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. * @param AccessPackage $body The request body * @param AccessPackagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(AccessPackage $body, ?AccessPackagesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilderGetQueryParameters.php index ca276d50bf2..a11f766ecb4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. */ class AccessPackagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 04ba8030961..3b04cdce366 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 73773d7bffb..51137f14483 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -87,7 +87,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackage object. You cannot delete an access package if it has any accessPackageAssignment. This API is available in the following national cloud deployments. + * Delete an accessPackage object. You cannot delete an access package if it has any accessPackageAssignment. * @param AccessPackageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * 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. This API is available in the following national cloud deployments. + * 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 AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $req } /** - * Update an existing accessPackage object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + * Update an existing accessPackage object to change one or more of its properties, such as the display name or description. * @param AccessPackage $body The request body * @param AccessPackageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -136,7 +136,7 @@ public function patch(AccessPackage $body, ?AccessPackageItemRequestBuilderPatch } /** - * Delete an accessPackage object. You cannot delete an access package if it has any accessPackageAssignment. This API is available in the following national cloud deployments. + * Delete an accessPackage object. You cannot delete an access package if it has any accessPackageAssignment. * @param AccessPackageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -149,12 +149,12 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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 AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,12 +170,12 @@ public function toGetRequestInformation(?AccessPackageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an existing accessPackage object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + * Update an existing accessPackage object to change one or more of its properties, such as the display name or description. * @param AccessPackage $body The request body * @param AccessPackageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -189,7 +189,7 @@ public function toPatchRequestInformation(AccessPackage $body, ?AccessPackageIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index 8c91fd2e1d0..95e920d4be4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * 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. This API is available in the following national cloud deployments. + * 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. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.php index 1550127977a..da8fdef66fe 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. * @param AccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AccessPackagesIncompatibleWithRequestBuilderGetRequestConfi } /** - * Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. * @param AccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AccessPackagesIncompatibleWithRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters.php index c22fa23b5f0..d58dd916e2d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. */ class AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.php index e9b70477b19..67d6014ab22 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php index 776647793fb..508b3fc9ec5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AssignmentPoliciesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageAssignmentPolicy $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php index d1ddd687889..97eb16290b7 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php index 5a0fd627fa5..3b8eab256c6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?AccessPackageAssignmentPolicyItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?AccessPackageAssignmentPolicyItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(AccessPackageAssignmentPolicy $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php index edf0f2e6e58..5c3bf5a126d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CatalogRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php index df15013740f..85c5ea4a889 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?CustomExtensionStageSettingsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(CustomExtensionStageSetting $body, ?Cus $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php index 305ac156d31..428677ba565 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CustomExtensionRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php index 67251113449..d2a22b8a436 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?CustomExtensionStageSettingItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?CustomExtensionStageSettingItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(CustomExtensionStageSetting $body, ?Cu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php index 40812fb4daa..0b50a6c7ff0 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageQuestionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageQuestionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageQuestion $body, ?AccessPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php index 94b6fcd23f3..ce03bd2e96d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?QuestionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageQuestion $body, ?Questions $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.php index f8bba3a0ff9..4b45b65b4ff 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CatalogRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.php index 712ce5e4349..e5be236a6d0 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @param GetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?GetApplicablePolicyRequirementsRequestBuilderPostRequestCo } /** - * In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. * @param GetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?GetApplicablePolicyRequirementsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php index ae9e51cb164..97eadf0680e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. * @param IncompatibleAccessPackagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?IncompatibleAccessPackagesRequestBuilderGetRequestConfigura } /** - * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. * @param IncompatibleAccessPackagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?IncompatibleAccessPackagesRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilderGetQueryParameters.php index f9be73ce580..9b8e41d6cf5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. */ class IncompatibleAccessPackagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.php index f3e5ac49884..46c3680dd90 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 64f630a60d3..dc90625416a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.php index d522afa130e..9d444a425db 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilderGetQueryParameters.php index 4da7a8d47cf..48a9b42cdee 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php index b544b3ecd84..c2753a38292 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. * @param IncompatibleGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?IncompatibleGroupsRequestBuilderGetRequestConfiguration $re } /** - * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. * @param IncompatibleGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?IncompatibleGroupsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilderGetQueryParameters.php index 260ece35fbc..40c87315a65 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. */ class IncompatibleGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.php index 968f2120d61..690c4c3e60a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Remove a group from the list of groups that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Remove a group from the list of groups that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 14b8838b0ff..b90b1664374 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Remove a group from the list of groups that have been marked as incompatible on an accessPackage. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 1472b57bf29..cb4ce54743c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.php index 7bd35ea50af..a224a915db9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a group to the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Add a group to the list of groups that have been marked as incompatible on an accessPackage. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a group to the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Add a group to the list of groups that have been marked as incompatible on an accessPackage. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilderGetQueryParameters.php index 379d1e1fca4..f61cf8d9fb6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + * Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php index e9166be71aa..ae39310053e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. This API is available in the following national cloud deployments. + * Remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. * @param AccessPackageResourceRoleScopeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function patch(AccessPackageResourceRoleScope $body, ?AccessPackageResour } /** - * Remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. This API is available in the following national cloud deployments. + * Remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. * @param AccessPackageResourceRoleScopeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -107,7 +107,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleScopeItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleScopeItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(AccessPackageResourceRoleScope $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php index 7a5b7a39405..c105c4f98f4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php index c3d13e64c8b..fa5a6fbaec4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index a4abc089ee6..8aa0c1b1884 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php index 7704807cd22..708df597ef0 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index c0782de3fa4..e780e378588 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 24cdb3ab94a..33eede49a59 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index b1e989e7f67..87697bb5340 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 1163e971acd..dcf99375317 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 5ceb4cb2b1b..073a54c1d1e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php index b07401a905d..521d6299e14 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php index c1e76485b40..3407e0b7ca1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?RoleRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?RoleRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Role $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php index 4d674dc43d6..bcef94cf7e6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php index 05e29be8188..407b70c3dbb 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index f28a349510c..5cab17f3a38 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index deccccdf140..bc193cb063d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index 5243a4c7b4c..88d2db19486 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 6fbc01a650a..bb67955e2df 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index 659db0d6b98..a6904066e39 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php index 1a8e06b56e9..c3b3d52b208 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 178044eb5f9..5ccb032b9d4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php index 6e2160d999c..ddc0288fb44 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php index bcad60f9d10..718d318b49b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ScopeRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ScopeRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Sco $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php index fb0a099689e..f868fecc826 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?ResourceRoleScopesRequestBuilderGetRequestConfiguration $re } /** - * Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. This API is available in the following national cloud deployments. + * Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. * @param AccessPackageResourceRoleScope $body The request body * @param ResourceRoleScopesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ResourceRoleScopesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. This API is available in the following national cloud deployments. + * Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. * @param AccessPackageResourceRoleScope $body The request body * @param ResourceRoleScopesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessPackageResourceRoleScope $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php index 598e1e444c4..c4813866ff2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. * @param AssignmentPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AssignmentPoliciesRequestBuilderGetRequestConfiguration $re } /** - * In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. * @param AccessPackageAssignmentPolicy $body The request body * @param AssignmentPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AccessPackageAssignmentPolicy $body, ?AssignmentPoliciesReq } /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. * @param AssignmentPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AssignmentPoliciesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. * @param AccessPackageAssignmentPolicy $body The request body * @param AssignmentPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AccessPackageAssignmentPolicy $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilderGetQueryParameters.php index 50d3cbde181..82e45d9d300 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. */ class AssignmentPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php index 2d2d619228b..0c5f1bc6f06 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php index ce448fa63a4..75225d69898 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. * @param AccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?AccessPackageAssignmentPolicyItemRequestBuilderDeleteReq } /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. * @param AccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -111,7 +111,7 @@ public function put(AccessPackageAssignmentPolicy $body, ?AccessPackageAssignmen } /** - * In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. * @param AccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,12 +124,12 @@ public function toDeleteRequestInformation(?AccessPackageAssignmentPolicyItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. * @param AccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,7 +145,7 @@ public function toGetRequestInformation(?AccessPackageAssignmentPolicyItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -164,7 +164,7 @@ public function toPutRequestInformation(AccessPackageAssignmentPolicy $body, ?Ac $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters.php index a81b21092e0..c6aaebbc623 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. */ class AccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php index 6266920139d..5e0fb1af039 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CatalogRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php index 95530a82c5c..0266c5627df 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?CustomExtensionStageSettingsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(CustomExtensionStageSetting $body, ?Cus $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php index af11242af67..c768ec5156e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CustomExtensionRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php index 4f3d2c77ff8..8a47c0b1164 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?CustomExtensionStageSettingItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?CustomExtensionStageSettingItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(CustomExtensionStageSetting $body, ?Cu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php index 024a1578ab5..7219c57df5b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageQuestionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageQuestionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageQuestion $body, ?AccessPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php index f104b9e98f6..604c2045c8e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?QuestionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageQuestion $body, ?Questions $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.php index c8f2ad550d7..9b20b849f34 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. * @param AssignmentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?AssignmentRequestsRequestBuilderGetRequestConfiguration $re } /** - * In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. This API is available in the following national cloud deployments. + * In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. * @param AccessPackageAssignmentRequest $body The request body * @param AssignmentRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(AccessPackageAssignmentRequest $body, ?AssignmentRequestsRe } /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. * @param AssignmentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?AssignmentRequestsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. This API is available in the following national cloud deployments. + * In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. * @param AccessPackageAssignmentRequest $body The request body * @param AssignmentRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(AccessPackageAssignmentRequest $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilderGetQueryParameters.php index 4766917bf87..00985caa042 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. */ class AssignmentRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index bcb61405e08..e19730ddebf 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.php index f385d1c611e..9e4c6c997be 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.php index 5a891d7370c..3a02155bbeb 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You cannot delete an access package assignment request if it has any accessPackageAssignment objects. This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You cannot delete an access package assignment request if it has any accessPackageAssignment objects. * @param AccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?AccessPackageAssignmentRequestItemRequestBuilderDeleteRe } /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. * @param AccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(AccessPackageAssignmentRequest $body, ?AccessPackageAssign } /** - * Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You cannot delete an access package assignment request if it has any accessPackageAssignment objects. This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You cannot delete an access package assignment request if it has any accessPackageAssignment objects. * @param AccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?AccessPackageAssignmentRequestItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. * @param AccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?AccessPackageAssignmentRequestItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(AccessPackageAssignmentRequest $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters.php index 3379f765b31..a840d44025e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. */ class AccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.php index beebcdb23b9..28124babe1f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AssignmentRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.php index 74cadc96189..184e5141e68 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. This API is available in the following national cloud deployments. + * In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. This API is available in the following national cloud deployments. + * In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.php index 4897ebf498d..ba2fee74b1c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra entitlement management, callers can automatically retry a user's request for access to an access package. It's performed on an accessPackageAssignmentRequest object whose requestState is in a DeliveryFailed or PartiallyDelivered state. You can only reprocess a request within 14 days from the time the original request was completed. For requests completed more than 14 days, you will need to ask the users to cancel the request(s) and make a new request in the MyAccess portal. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, callers can automatically retry a user's request for access to an access package. It's performed on an accessPackageAssignmentRequest object whose requestState is in a DeliveryFailed or PartiallyDelivered state. You can only reprocess a request within 14 days from the time the original request was completed. For requests completed more than 14 days, you will need to ask the users to cancel the request(s) and make a new request in the MyAccess portal. * @param ReprocessRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReprocessRequestBuilderPostRequestConfiguration $requestCo } /** - * In Microsoft Entra entitlement management, callers can automatically retry a user's request for access to an access package. It's performed on an accessPackageAssignmentRequest object whose requestState is in a DeliveryFailed or PartiallyDelivered state. You can only reprocess a request within 14 days from the time the original request was completed. For requests completed more than 14 days, you will need to ask the users to cancel the request(s) and make a new request in the MyAccess portal. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, callers can automatically retry a user's request for access to an access package. It's performed on an accessPackageAssignmentRequest object whose requestState is in a DeliveryFailed or PartiallyDelivered state. You can only reprocess a request within 14 days from the time the original request was completed. For requests completed more than 14 days, you will need to ask the users to cancel the request(s) and make a new request in the MyAccess portal. * @param ReprocessRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReprocessRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.php index 3cbef5ac1f7..c0d5e117deb 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RequestorRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.php index 74362be69bf..2ec462ee8cd 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. * @param ResumePostRequestBody $body The request body * @param ResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?ResumeRequestBuilderPostReque } /** - * In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. * @param ResumePostRequestBody $body The request body * @param ResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?ResumeReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.php index af535c598a3..79e8147e508 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?AdditionalAccessRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.php index 3eafeb70ebd..09c13984cc1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.php @@ -66,7 +66,7 @@ public function toGetRequestInformation(?AdditionalAccessWithAccessPackageIdWith } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.php index 78c95e8be63..b641db91886 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.php @@ -81,7 +81,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -113,7 +113,7 @@ public function post(AccessPackageAssignment $body, ?AssignmentsRequestBuilderPo } /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPostRequestInformation(AccessPackageAssignment $body, ?Assignm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 953bc21e8d7..4d46f9f52e1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 22a63e740fa..31ce25b09e8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.php index 97708f9ad43..9b97b58732d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.php index f35a3159438..366b8bd9cba 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?AccessPackageAssignmentItemRequestBuilderDeleteRequestCo } /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. * @param AccessPackageAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?AccessPackageAssignmentItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. * @param AccessPackageAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?AccessPackageAssignmentItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(AccessPackageAssignment $body, ?Access $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilderGetQueryParameters.php index 8bdc3c8face..ddc429ec9f8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. */ class AccessPackageAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.php index b4d653f49fd..41bc6885644 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AssignmentPolicyRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.php index 1c45d360937..e56b2854c14 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action. * @param ReprocessRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReprocessRequestBuilderPostRequestConfiguration $requestCo } /** - * In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action. This API is available in the following national cloud deployments. + * In Microsoft Entra entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Microsoft Entra entitlement management can perform this action. * @param ReprocessRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReprocessRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.php index 9c5a553d816..8a5aebd6490 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.php index 594aa61a33d..8d52a64d454 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageCatalog objects. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageCatalog objects. * @param CatalogsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CatalogsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new accessPackageCatalog object. This API is available in the following national cloud deployments. + * Create a new accessPackageCatalog object. * @param AccessPackageCatalog $body The request body * @param CatalogsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AccessPackageCatalog $body, ?CatalogsRequestBuilderPostRequ } /** - * Retrieve a list of accessPackageCatalog objects. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageCatalog objects. * @param CatalogsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CatalogsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessPackageCatalog object. This API is available in the following national cloud deployments. + * Create a new accessPackageCatalog object. * @param AccessPackageCatalog $body The request body * @param CatalogsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AccessPackageCatalog $body, ?CatalogsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilderGetQueryParameters.php index 024ca74a3fc..c729011d54c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageCatalog objects. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageCatalog objects. */ class CatalogsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php index 8f66da8592e..b6cd7c9404b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageCatalog. This API is available in the following national cloud deployments. + * Delete an accessPackageCatalog. * @param AccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?AccessPackageCatalogItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an accessPackageCatalog object. * @param AccessPackageCatalogItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function get(?AccessPackageCatalogItemRequestBuilderGetRequestConfigurati } /** - * Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + * Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. * @param AccessPackageCatalog $body The request body * @param AccessPackageCatalogItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function patch(AccessPackageCatalog $body, ?AccessPackageCatalogItemReque } /** - * Delete an accessPackageCatalog. This API is available in the following national cloud deployments. + * Delete an accessPackageCatalog. * @param AccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?AccessPackageCatalogItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an accessPackageCatalog object. * @param AccessPackageCatalogItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,12 +154,12 @@ public function toGetRequestInformation(?AccessPackageCatalogItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + * Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. * @param AccessPackageCatalog $body The request body * @param AccessPackageCatalogItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(AccessPackageCatalog $body, ?AccessPac $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilderGetQueryParameters.php index 1d5b6fc60fa..f1039e6bf00 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an accessPackageCatalog object. */ class AccessPackageCatalogItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.php index dcb1573a8f8..ea50de96e8c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AccessPackagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 9642ac2129b..7f5f4901735 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php index be018bc51a9..e396a9a58f8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomWorkflowExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CustomWorkflowExtensionsRequestBuilderGetRequestConfigurati } /** - * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomCalloutExtension $body The request body * @param CustomWorkflowExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CustomCalloutExtension $body, ?CustomWorkflowExtensionsRequ } /** - * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomWorkflowExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CustomWorkflowExtensionsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomCalloutExtension $body The request body * @param CustomWorkflowExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CustomCalloutExtension $body, ?CustomWo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php index d14064b6337..b3e5b4d4ee8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. */ class CustomWorkflowExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index f262c8abc81..1c712bec44e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemR } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(CustomCalloutExtension $body, ?CustomC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index 16867effea7..dae8c9ba9e5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php index a01b330bcd9..bd2e4c73a45 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 399775f40a1..60de6624463 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.php index ee2e438b040..02a6ecc7640 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 6c883509d1b..67e22dfd99e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php index 1e484bdd1fe..c368a23fed2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 9e1edb2f0d2..ca46c3dd71a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index edfe2d94114..fc7bfc9b944 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index 7b30a7ae974..efe97395536 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 1b45b8e8219..d38d5ed52fe 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 0d5673c6b1d..119942f91f9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php index 1ad709c9d94..79ed2eb2b6b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.php index 2cab270f69b..3bc7f39750b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. * @param ResourceRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessPackageResourceRole $body, ?ResourceRolesRequestBuild } /** - * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. * @param ResourceRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ResourceRolesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Resou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php index 36cfc26e51b..02e93670154 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. */ class ResourceRolesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index fd5847b56fb..29c57c86e52 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 86e3ddb08cc..2799c03ed1e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.php index a89467c8b44..d0719102d57 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index c3403c2333e..5c3bf79008d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index aec435d1ee5..070c99408fc 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index 3a9527296ba..3480671b120 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 74afda56c3e..a2f09709313 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index c8e70e82ed7..bc4e1f80def 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php index c95d18286ad..4705d590084 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 9f117add410..d7771df9c28 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php index e02183576bf..28c80d63b72 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.php index befeeb2d38e..86b921ffab7 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceScopesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Reso $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php index 42f65709eef..c8091c74f4a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AccessPackageResourceItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?AccessPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php index e29cabe6c04..69b8782a316 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 7da065392ce..b83ab0e59b9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 40c0a56f981..cdf2b21c47b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php index 9d8279e0e2f..387483e391c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index c7ff382c82a..4271b8c21fe 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 12983e4ad90..9104355c569 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index 95a6f9d488c..553f1b4e5d2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index b174c63a510..1b3ca1956cd 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.php index c2949d40811..4118d86f17f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index f4bfa923644..91fd46d3128 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 208510346e3..62b83bd6a16 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php index a9d21da6520..b5f8b151625 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 908e5469f5f..ce482ac335d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index e453ace6f34..648f66eb75c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index d90a7d21896..ba6e8ac8025 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 4956a46b34c..7d39853c7da 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.php index af666e308a8..069737193dd 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.php index 4c0294b6059..3403928371a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessPackageResource $body, ?ResourcesRequestBuilderPostRe } /** - * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessPackageResource $body, ?Resources $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 01953051061..f06261b0e56 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php index 3365faa8776..dd65f83c38f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of connectedOrganization objects. This API is available in the following national cloud deployments. + * Retrieve a list of connectedOrganization objects. * @param ConnectedOrganizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ConnectedOrganizationsRequestBuilderGetRequestConfiguration } /** - * Create a new connectedOrganization object. This API is available in the following national cloud deployments. + * Create a new connectedOrganization object. * @param ConnectedOrganization $body The request body * @param ConnectedOrganizationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ConnectedOrganization $body, ?ConnectedOrganizationsRequest } /** - * Retrieve a list of connectedOrganization objects. This API is available in the following national cloud deployments. + * Retrieve a list of connectedOrganization objects. * @param ConnectedOrganizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ConnectedOrganizationsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new connectedOrganization object. This API is available in the following national cloud deployments. + * Create a new connectedOrganization object. * @param ConnectedOrganization $body The request body * @param ConnectedOrganizationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ConnectedOrganization $body, ?Connected $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilderGetQueryParameters.php index b1b49626961..43da746d809 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of connectedOrganization objects. This API is available in the following national cloud deployments. + * Retrieve a list of connectedOrganization objects. */ class ConnectedOrganizationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php index b82a8c22d0a..5be493656f3 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a connectedOrganization object. This API is available in the following national cloud deployments. + * Delete a connectedOrganization object. * @param ConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?ConnectedOrganizationItemRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a connectedOrganization object. * @param ConnectedOrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?ConnectedOrganizationItemRequestBuilderGetRequestConfigurat } /** - * Update a connectedOrganization object to change one or more of its properties. This API is available in the following national cloud deployments. + * Update a connectedOrganization object to change one or more of its properties. * @param ConnectedOrganization $body The request body * @param ConnectedOrganizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(ConnectedOrganization $body, ?ConnectedOrganizationItemReq } /** - * Delete a connectedOrganization object. This API is available in the following national cloud deployments. + * Delete a connectedOrganization object. * @param ConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?ConnectedOrganizationItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a connectedOrganization object. * @param ConnectedOrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?ConnectedOrganizationItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a connectedOrganization object to change one or more of its properties. This API is available in the following national cloud deployments. + * Update a connectedOrganization object to change one or more of its properties. * @param ConnectedOrganization $body The request body * @param ConnectedOrganizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(ConnectedOrganization $body, ?Connecte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilderGetQueryParameters.php index bf63b42f65e..340ac621dcd 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a connectedOrganization object. */ class ConnectedOrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php index e2302347a88..58aa2b39db3 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param ExternalSponsorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?ExternalSponsorsRequestBuilderGetRequestConfiguration $requ } /** - * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param ExternalSponsorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?ExternalSponsorsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilderGetQueryParameters.php index 5d424d83c68..184f6fdb7ea 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. */ class ExternalSponsorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.php index 791cd3e0328..54ec26d4e02 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 42a1c8e8e39..02b2ea2fd37 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.php index d77a64dbd69..13d48c72626 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php index 9ebc4706743..3967ceac52c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php index b386459bd14..a7ad2894d21 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param InternalSponsorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?InternalSponsorsRequestBuilderGetRequestConfiguration $requ } /** - * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param InternalSponsorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InternalSponsorsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilderGetQueryParameters.php index b73b6380ffe..8c57d03100d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. */ class InternalSponsorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.php index 489f6952160..3c945e0b0ec 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 815edf5d1ed..e1e5766826b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.php index af773018dc0..ab25bd5b3c7 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php index 347be7c8452..5c776ae9a8b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + * Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php index 4634970b1ed..bbe8138169d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.php @@ -186,7 +186,7 @@ public function toDeleteRequestInformation(?EntitlementManagementRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -207,7 +207,7 @@ public function toGetRequestInformation(?EntitlementManagementRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -226,7 +226,7 @@ public function toPatchRequestInformation(EntitlementManagement $body, ?Entitlem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.php index d88ad6d7845..9fb9e017c19 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceEnvironmentItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceEnvironmentItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceEnvironment $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php index 815ff33b873..9ad27d39e32 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AccessPackageResourceItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?AccessPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php index d82d8905a41..2cc342536f9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index cf49521cb39..c350bb26843 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 1020ba30793..55f70f8b629 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php index b9b8d13adb8..ee1f2bb5604 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 5bf4e3d69f3..af8cd490bd6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index bb18c14778d..c86ed71b2e9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index 9f8e77dcbfb..0970e642376 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index ce99e733fd6..ce5e6c174d6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.php index 5f40b191102..fcfa6a948a5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index ac33209b14d..1b8f44cd355 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 31593bec7fd..91700d73ac9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php index 28c9ce90941..22d68a6d9ff 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index a3e2aaad11f..7635e9ba4e6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index f16f732333e..c9bc3f5b660 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index 79b22957dc7..fd6a74bfd6d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 9317bd4d8f5..39f77b8465c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.php index 8ff076ad2cf..8552be17d59 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.php index 3e868e21d06..53ed1ef9f6f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResource $body, ?Resources $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.php index 61039c92c20..d151085e9f9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageResourceEnvironment objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceEnvironment objects and their properties. * @param ResourceEnvironmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessPackageResourceEnvironment $body, ?ResourceEnvironmen } /** - * Retrieve a list of accessPackageResourceEnvironment objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceEnvironment objects and their properties. * @param ResourceEnvironmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ResourceEnvironmentsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessPackageResourceEnvironment $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilderGetQueryParameters.php index 3f1efcf8b0b..ec060f22c23 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageResourceEnvironment objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceEnvironment objects and their properties. */ class ResourceEnvironmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.php index 70d73b43582..eca70016992 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRequestItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?AccessPackageResourceRequestItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResourceRequest $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.php index 3d68784909a..ce0c91bec1b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AccessPackagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.php index dff5a0e7757..93556c9bbb3 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AccessPackageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.php index 58ff201612d..bc3dcdc6e66 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?CatalogRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?CatalogRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(AccessPackageCatalog $body, ?CatalogRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php index 4ab1ae9fd39..d60aa986fce 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomWorkflowExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CustomWorkflowExtensionsRequestBuilderGetRequestConfigurati } /** - * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomCalloutExtension $body The request body * @param CustomWorkflowExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CustomCalloutExtension $body, ?CustomWorkflowExtensionsRequ } /** - * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomWorkflowExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CustomWorkflowExtensionsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Create a new accessPackageAssignmentRequestWorkflowExtension or accessPackageAssignmentWorkflowExtension object and add it to an existing accessPackageCatalog object. You must explicitly provide an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. * @param CustomCalloutExtension $body The request body * @param CustomWorkflowExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CustomCalloutExtension $body, ?CustomWo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php index d295313d07d..33a4bff7dc8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + * Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. */ class CustomWorkflowExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 61ec8eb46c3..dbaadd987f2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemR } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(CustomCalloutExtension $body, ?CustomC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index d744ba799fc..8c681c76e03 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php index edc9d4838a4..6a2917f21ab 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php index cd1c6f40948..edcbcbff85e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.php index 9fc10bae0e9..463c16645c6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index d3ca5cac2f6..0f0eae787c9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php index 4c41b1e7997..9ff5a633d8e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index d5ac8c8e1be..216cbb367cc 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 950fae11d94..3b146201a0f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index 171ee745b8c..6fdcde97f04 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 55816af503b..7321c2bbb2b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 106999e488a..30b339e8403 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php index 500512453a8..1f25a605c71 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.php index e33199f614a..3719fe67cb9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. * @param ResourceRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessPackageResourceRole $body, ?ResourceRolesRequestBuild } /** - * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. * @param ResourceRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ResourceRolesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Resou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php index a91233bc317..6184aacbb70 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. */ class ResourceRolesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 48bb0bf4661..96713d64304 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 27fa4908ee1..e56488810d1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.php index 1fc232a5acc..b7aa21fd5cd 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 1d3147a2c9e..8370d30e13f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index a807c6f65e4..93c4cfd8c8f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index e625dc63056..00d7411a301 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 35b6035b60a..3929c62e24f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index f37eedcc270..8e0b499c7d2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php index b06090d4b6f..246c0b4497c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 1db857646e1..074793646d2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php index 605797da578..652fa1f77a1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.php index 386503cc4cc..8a8e8cc7057 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceScopesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Reso $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.php index ad6fd852be2..1c2734f4bf4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AccessPackageResourceItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?AccessPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Environment/EnvironmentRequestBuilder.php index 06dfdc66ebe..d17997d2379 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 89a3ed23825..fc4b8561ea9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 207a8d27fb2..05e0614fac9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php index 7c87718b638..f64fb1efe7b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 8bf3fa72f13..79c6d8a386d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index a93f2e22421..ac49c914f43 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index b3cf41c457f..b982542564a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index 8f2f1e745ba..e14522bf990 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.php index 62b430e3d1f..402471460c3 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 91434643a1d..c8ffde04dc5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 16e8b112dd2..e3c69804b66 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php index 0b603e378f5..99d0051a27a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 68dae2c7aa1..8049a039dfa 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 9739e3bf5ec..e291b4751e5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index 02bcf0bfa90..4813a782fbd 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index e8cf097b63d..cb75256905c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.php index 1d9138b2246..13a2dfa4c49 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.php index f2c3e9fda62..542c162be15 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AccessPackageResource $body, ?ResourcesRequestBuilderPostRe } /** - * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AccessPackageResource $body, ?Resources $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilderGetQueryParameters.php index 841cb558292..c28fca9a22d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResource objects in an accessPackageCatalog. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Environment/EnvironmentRequestBuilder.php index 1af92cf664b..0f8f1485e3c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.php index 5c5e621d74a..6c3974ffe8b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 42995971269..09cf20dfcef 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 7739e2222c0..2bcfffd6efb 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index 31ba51cad04..16d74fc8408 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index ffa05edc55e..32dcf645db0 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 5a74d12916d..699b43e8ae3 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index a31f103e44b..54b52722c69 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index 4923a05d843..61c62e5165b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.php index b4dbdb1b7c9..460f299cf93 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 5248c2160bf..80c83692c88 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 06d9c108cea..d0a5a551f2f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index 8b907105f0e..5ce2228252f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 6cef995da98..c7b29c4496b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 131a055383e..583871d0c72 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index da499716f14..1ab769ae708 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index d1fc59f439d..fa18a29ad72 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.php index dc207b60ac7..cd5283397d1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.php index cdf007d3cca..759204cc6f9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of accessPackageResourceRequest objects. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRequest objects. * @param ResourceRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ResourceRequestsRequestBuilderGetRequestConfiguration $requ } /** - * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. This API is available in the following national cloud deployments. + * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. * @param AccessPackageResourceRequest $body The request body * @param ResourceRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AccessPackageResourceRequest $body, ?ResourceRequestsReques } /** - * Retrieve a list of accessPackageResourceRequest objects. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRequest objects. * @param ResourceRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ResourceRequestsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. This API is available in the following national cloud deployments. + * Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. * @param AccessPackageResourceRequest $body The request body * @param ResourceRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AccessPackageResourceRequest $body, ?Re $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilderGetQueryParameters.php index 61ab13702aa..5845640a59d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of accessPackageResourceRequest objects. This API is available in the following national cloud deployments. + * Retrieve a list of accessPackageResourceRequest objects. */ class ResourceRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php index 94ae5d4920f..ac75e9669c7 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleScopeItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleScopeItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResourceRoleScope $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php index f631b8114d0..e856601aab2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php index 71775aaac79..20363e7ec3d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 1b075b0a738..d2683811874 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php index d6ac7d76716..22e7b741d0f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index ba94403988b..cbb9adf0744 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index ae1784a9473..f027a409aed 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index 65e40e81d10..e104bb6b298 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 69bb2f1a1cc..0f5d405d51d 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 34192176382..5b3a924ba85 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php index b2ab85951b8..2b12a21a477 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php index 6890cbab98e..c943524adfa 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?RoleRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?RoleRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Role $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php index c8dca4da464..2a05bd540f6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php index cb117ce40c3..71b4c85e28f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 64b05c916b9..e0ef90886f8 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index b7d56eff3cb..c8eabfa3058 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index b60c84c1305..105513c581f 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 7695c14694b..5c8dff1584a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index b0ef2072f4a..58f5b2f01dc 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php index 37b926dfc07..8fcdd159b3e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 37574a0f396..ddc30e730c3 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php index 8b01627567a..2f34b986daf 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php index 4dc2223b984..c4eeb422e35 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ScopeRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ScopeRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Sco $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php index f06e07bfe68..637adebf0cf 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceRoleScopesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRoleScope $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.php index 5e2a166ecdc..c5218cd3249 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AccessPackageResourceItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?AccessPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Environment/EnvironmentRequestBuilder.php index e7af896db93..175e716c616 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index 8a427c4542a..f6f17487175 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index 8b2443fc4f2..b7d9acadb88 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php index b539821bc21..41ea2e72771 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 7da0220ed7d..946c369d0c1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index e4f4782c551..ec086a1f7a9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php index fa9413c8aea..176c2be4558 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php index 78bbe6cf272..a89edbb1b67 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.php index 3b74c6d22ad..36794f49f42 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php index 601268e1f6a..6b390c7900e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceScopeItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceScopeItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceScope $body, ?Acc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php index 392527d6b8f..abe25f9b3b5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php index 43b26ecf980..48d1a956bd0 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php index ecd3506a7c3..d1c1d556a54 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AccessPackageResourceRoleItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AccessPackageResourceRoleItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResourceRole $body, ?Acce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php index b65e69f911c..bf9b26eec2b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/Environment/EnvironmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EnvironmentRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php index 88c388571c7..ccee2dccde1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ResourceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AccessPackageResource $body, ?Resource $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php index 35173975a00..1de37c63d21 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceRole $body, ?Roles $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.php index e45cd79ee56..b34ce508476 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResourceScope $body, ?Scop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.php index 8d1f8dcce24..55572af223a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AccessPackageResource $body, ?Resources $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.php index 64d57d5fcac..f0c8c944e2b 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. + * Retrieve the properties of an entitlementManagementSettings object. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update an existing entitlementManagementSettings object to change one or more of its properties. This API is available in the following national cloud deployments. + * Update an existing entitlementManagementSettings object to change one or more of its properties. * @param EntitlementManagementSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. + * Retrieve the properties of an entitlementManagementSettings object. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an existing entitlementManagementSettings object to change one or more of its properties. This API is available in the following national cloud deployments. + * Update an existing entitlementManagementSettings object to change one or more of its properties. * @param EntitlementManagementSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(EntitlementManagementSettings $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilderGetQueryParameters.php index 52a37f42271..52a948f91f6 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. + * Retrieve the properties of an entitlementManagementSettings object. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.php b/src/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.php index feb06558495..046884d805c 100644 --- a/src/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.php +++ b/src/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.php @@ -126,7 +126,7 @@ public function toGetRequestInformation(?IdentityGovernanceRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -145,7 +145,7 @@ public function toPatchRequestInformation(IdentityGovernance $body, ?IdentityGov $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.php index 55538a14ff4..83152cb18c8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the customTaskExtension objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the customTaskExtension objects and their properties. * @param CustomTaskExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CustomTaskExtensionsRequestBuilderGetRequestConfiguration $ } /** - * Create a new customTaskExtension object. This API is available in the following national cloud deployments. + * Create a new customTaskExtension object. * @param CustomTaskExtension $body The request body * @param CustomTaskExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CustomTaskExtension $body, ?CustomTaskExtensionsRequestBuil } /** - * Get a list of the customTaskExtension objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the customTaskExtension objects and their properties. * @param CustomTaskExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CustomTaskExtensionsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new customTaskExtension object. This API is available in the following national cloud deployments. + * Create a new customTaskExtension object. * @param CustomTaskExtension $body The request body * @param CustomTaskExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CustomTaskExtension $body, ?CustomTaskE $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilderGetQueryParameters.php index 045548d7d5f..b1a9a22578c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the customTaskExtension objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the customTaskExtension objects and their properties. */ class CustomTaskExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.php index ee24eebe7c6..009c75e3ba1 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 91799134c52..2cb45fb27bf 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 92552646eef..51a73cb97e4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.php index 98dc91052b7..5b3892dfe2a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. This API is available in the following national cloud deployments. + * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. * @param CustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?CustomTaskExtensionItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a customTaskExtension object. * @param CustomTaskExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?CustomTaskExtensionItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a customTaskExtension object. This API is available in the following national cloud deployments. + * Update the properties of a customTaskExtension object. * @param CustomTaskExtension $body The request body * @param CustomTaskExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(CustomTaskExtension $body, ?CustomTaskExtensionItemRequest } /** - * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. This API is available in the following national cloud deployments. + * Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. * @param CustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?CustomTaskExtensionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a customTaskExtension object. * @param CustomTaskExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?CustomTaskExtensionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a customTaskExtension object. This API is available in the following national cloud deployments. + * Update the properties of a customTaskExtension object. * @param CustomTaskExtension $body The request body * @param CustomTaskExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(CustomTaskExtension $body, ?CustomTask $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilderGetQueryParameters.php index 2d2823bf8e9..4881cfb3c4f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a customTaskExtension object. */ class CustomTaskExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index 4be4bc5fd37..783be5720c4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 54fa7f75e52..dcedeed48ca 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index e8096d2ea77..fb03910f9f5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.php index 0c0be8912e7..32568118094 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.php @@ -82,7 +82,7 @@ public function toDeleteRequestInformation(?DeletedItemsRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -103,7 +103,7 @@ public function toGetRequestInformation(?DeletedItemsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php index 4e6f91766a3..dc0289da757 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 509380ad0c6..a32164d9a49 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 12034381bde..a2779105fd8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php index cf7b0aa8791..1dc8d65eb53 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ExecutionScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php index 836c818f7c4..3eb4ba6b262 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?UserProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index a1929ff1562..ad24ac7075f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 76444b14a4b..bf4bb46cce2 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 65537ef8082..bd174653a6a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php index c6c2b467f9a..8ba6b80a061 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param ActivatePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ActivatePostRequestBody $body, ?MicrosoftGraphIdentityGover } /** - * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param ActivatePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ActivatePostRequestBody $body, ?Microso $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php index 5b2ec696b26..8f4f4caac7c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new version of the workflow object. This API is available in the following national cloud deployments. + * Create a new version of the workflow object. * @param CreateNewVersionPostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateNewVersionPostRequestBody $body, ?MicrosoftGraphIdent } /** - * Create a new version of the workflow object. This API is available in the following national cloud deployments. + * Create a new version of the workflow object. * @param CreateNewVersionPostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateNewVersionPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php index 23ad1364794..dbb1119b7f5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @param MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostR } /** - * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @param MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?MicrosoftGraphIdentityGovernanceRestor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.php index 721dbbf51b2..82d1806540b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a run object. * @param RunItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?RunItemRequestBuilderGetRequestConfiguration $requestConfig } /** - * Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a run object. * @param RunItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?RunItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php index 6444df82305..3254eadcb35 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a run object. */ class RunItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index cdaa969fe7f..915881fc165 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 5a9f9f89e3d..b24c92843e3 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index ccb1cdac2d4..a76070b5f17 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index 94287bbca90..ea5a9a970f1 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 9ee121c0a46..4ca8d3a8c43 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 8b875f1a709..8407c9f89fe 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 175bf732010..f56f745e5d9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + * Get the taskProcessingResult resources for a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + * Get the taskProcessingResult resources for a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 16631674c99..2e5b114c192 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + * Get the taskProcessingResult resources for a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 10ef17444dc..e2f7fff5665 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 32ab6117474..918958ad431 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php index 3101c075d82..44921e2cb70 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 38df6cdc5cd..5cb8e4c3a8e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 5bcd46f27cc..2527dcde8cd 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index ef9600f3fec..2558d271cf8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index 315210fd942..ec48aa9e2d1 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 8ae8ed207bf..308b2106d74 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 70728a6b9cd..3aefb80c92d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 24a815d81b9..bb169621a76 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 11c00748434..dea18f57527 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index 56b16782e92..a43e063bc75 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + * Get the user processing result of a user processing result of a run. * @param UserProcessingResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?UserProcessingResultItemRequestBuilderGetRequestConfigurati } /** - * Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + * Get the user processing result of a user processing result of a run. * @param UserProcessingResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?UserProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php index 4a7882f2edf..c27fbcd17e8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + * Get the user processing result of a user processing result of a run. */ class UserProcessingResultItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index c802547511e..a8e0f373aec 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php index cbaba7fe411..ac3e6346670 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + * Get user processing results of a workflow run object. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + * Get user processing results of a workflow run object. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?UserProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php index 7954162a294..833048d2d16 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + * Get user processing results of a workflow run object. */ class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index dccff270e47..2d1d7e14b51 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.php index 6904c7ba87d..8fd7c47cdba 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + * Get a list of the run objects and their properties for a lifecycle workflow. * @param RunsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + * Get a list of the run objects and their properties for a lifecycle workflow. * @param RunsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?RunsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php index 1edf855eed5..78039a7ae17 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + * Get a list of the run objects and their properties for a lifecycle workflow. */ class RunsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php index 4584b7d0355..f867fd029e6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php index 667186b3e4f..a1ddac1b3aa 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 964b90c1067..b835f0bbd1d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index ac6b7c73237..83e7cb6251d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index c9aad072041..c9238044d5a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index b3609226ac6..fb8d309062e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 0db8187aaf6..d0db59564b6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 3be0613724b..b977b3c3646 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 854227e9339..ca87b885042 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + * Get the task processing result resources from the taskReport. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + * Get the task processing result resources from the taskReport. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index f372a69d59d..cd0ffe24b43 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + * Get the task processing result resources from the taskReport. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php index 6026e65adea..b1a1ce10010 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskReportItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index 9157e622e76..1468685794d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php index bcf532aecba..93954e18eaa 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskReport objects and their properties. * @param TaskReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskReport objects and their properties. * @param TaskReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?TaskReportsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php index 72f7f9ac86b..2afa36daf13 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskReport objects and their properties. */ class TaskReportsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php index edffbc1da1d..a4a1d8c6e32 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TaskItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TaskItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Task $body, ?TaskItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 115772be93a..de352eb237e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 5bed5cde391..cdd80f53101 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 173345881d8..8a2b3c330ec 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index defc3ab3416..151cc1e139d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 09509fc6ab3..59811af22e8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 57ca65f2f08..42d123d8fd9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index a19a40f81a1..74f78b67b36 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.php index c70e1cb0a33..f8ff3b10743 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Task $body, ?TasksRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 73256049598..ec64476aa93 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index a126544e2be..3a72c9bd5c0 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php index 0aac0671923..a0d775fda38 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 2a6d65da46b..817637afbf9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index d66060a7789..af2c77d32c6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 1aef0a0b3da..26c06e0bd42 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index ac43f1ebdc8..70192bd2deb 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index f0b816b0e9e..444119f4230 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 1016e772cd1..9f68657d635 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 44b6dee33f3..76b2c84be4b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 79e8ed1ebce..0a71193e75f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index edb12c111af..ec7be213070 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?UserProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index 7b868b89b94..8283cd5e267 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php index 6e8f2fa70c4..81750b0f191 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + * Get the userProcessingResult resources for a workflow. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + * Get the userProcessingResult resources for a workflow. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?UserProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php index 204624a94b4..40f07dcba45 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + * Get the userProcessingResult resources for a workflow. */ class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php index 00a98daafad..1126c979eb2 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 0aaa755e416..8287b7a3869 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 56c69ebf0b5..0ae3732306a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index 4958c57e9f9..71003e1c5c5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 71688773951..2dfcd99fe9e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index f032d582a5c..c413e4cc423 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php index 36626209b82..3cd08b4c1b3 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TaskItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TaskItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Task $body, ?TaskItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 69a92dce02e..3e235983410 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 01374c372a6..b7d12a0aaba 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index fe0c69192d2..5e0979c3143 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index b633571f981..d2adf07ec06 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 0ab1ea022df..e9e112f1e50 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 6eaa36aff7e..50aefe65d58 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index c43fb9a71c3..979ea0096e5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php index 880ddc584f5..2ba81a94e4c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Task $body, ?TasksRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php index 40687e70c87..9cd86b97122 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowVersion object. * @param WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?WorkflowVersionVersionNumberItemRequestBuilderGetRequestCon } /** - * Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowVersion object. * @param WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -87,7 +87,7 @@ public function toGetRequestInformation(?WorkflowVersionVersionNumberItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php index a964bbf3be6..d6ce195fe55 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowVersion object. */ class WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php index 65d65dfaae2..72986afa9fd 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowVersion objects and their properties. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?VersionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowVersion objects and their properties. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index 064cd8626f6..82a398b909f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowVersion objects and their properties. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php index fe8c8a4bdfe..903b47fb213 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.php @@ -119,7 +119,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a workflow object. This API is available in the following national cloud deployments. + * Delete a workflow object. * @param WorkflowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function delete(?WorkflowItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve a deleted workflow object. This API is available in the following national cloud deployments. + * Retrieve a deleted workflow object. * @param WorkflowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -151,7 +151,7 @@ public function get(?WorkflowItemRequestBuilderGetRequestConfiguration $requestC } /** - * Delete a workflow object. This API is available in the following national cloud deployments. + * Delete a workflow object. * @param WorkflowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -164,12 +164,12 @@ public function toDeleteRequestInformation(?WorkflowItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a deleted workflow object. This API is available in the following national cloud deployments. + * Retrieve a deleted workflow object. * @param WorkflowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -185,7 +185,7 @@ public function toGetRequestInformation(?WorkflowItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php index 3e2a3ad0c37..c87077d31b4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a deleted workflow object. This API is available in the following national cloud deployments. + * Retrieve a deleted workflow object. */ class WorkflowItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php index 4c2b5e46729..953b6ef32b9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the deleted workflow objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the deleted workflow objects and their properties. * @param WorkflowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?WorkflowsRequestBuilderGetRequestConfiguration $requestConf } /** - * Get a list of the deleted workflow objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the deleted workflow objects and their properties. * @param WorkflowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?WorkflowsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilderGetQueryParameters.php index 9ed9cc4e593..99140ad3106 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the deleted workflow objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the deleted workflow objects and their properties. */ class WorkflowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.php index 7898ac016a8..52501e2ebb8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?LifecycleWorkflowsRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?LifecycleWorkflowsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(LifecycleWorkflowsContainer $body, ?Li $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.php index d5b9e9b6d3e..a234f63f364 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a lifecycleManagementSettings object. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + * Update the properties of a lifecycleManagementSettings object. * @param LifecycleManagementSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -64,7 +64,7 @@ public function patch(LifecycleManagementSettings $body, ?SettingsRequestBuilder } /** - * Read the properties and relationships of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a lifecycleManagementSettings object. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -80,12 +80,12 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + * Update the properties of a lifecycleManagementSettings object. * @param LifecycleManagementSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -99,7 +99,7 @@ public function toPatchRequestInformation(LifecycleManagementSettings $body, ?Se $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilderGetQueryParameters.php index 7645e6e7ae2..42b91a22441 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a lifecycleManagementSettings object. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php index 86043bcdab7..7f70ac69b22 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the details of a built-in workflow task. This API is available in the following national cloud deployments. + * Read the details of a built-in workflow task. * @param TaskDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?TaskDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Read the details of a built-in workflow task. This API is available in the following national cloud deployments. + * Read the details of a built-in workflow task. * @param TaskDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?TaskDefinitionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilderGetQueryParameters.php index 52d25e8918e..5fbfdf7b24f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the details of a built-in workflow task. This API is available in the following national cloud deployments. + * Read the details of a built-in workflow task. */ class TaskDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php index 849c1b8e244..11b02660bb9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the taskDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskDefinition objects and their properties. * @param TaskDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Get a list of the taskDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskDefinition objects and their properties. * @param TaskDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskDefinitionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php index 69021967b7d..02cc26e0d46 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the taskDefinition objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskDefinition objects and their properties. */ class TaskDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.php index f184b429f00..0b541e76589 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?TaskItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 75fee7ff7bc..719bafe4824 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index d8f449ebaf4..9726555878d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index b6cd9efbd13..0c9796effdc 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index e4f151cd8f2..e3800731ddf 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index eb8cc342675..6df40e76f95 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index f0db86ff178..0e71ecfc73e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 2808ab245b8..3f8e12d478c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.php index 6c3d6dd06f4..fd3a3d7cbd3 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.php index e5ef7b02c20..945360dbf8c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a workflowTemplate object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowTemplate object. * @param WorkflowTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?WorkflowTemplateItemRequestBuilderGetRequestConfiguration $ } /** - * Read the properties and relationships of a workflowTemplate object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowTemplate object. * @param WorkflowTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?WorkflowTemplateItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilderGetQueryParameters.php index 97aa079aa06..b2266e0503b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a workflowTemplate object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowTemplate object. */ class WorkflowTemplateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php index d3ead643735..39701a9449d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the workflowTemplate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowTemplate objects and their properties. * @param WorkflowTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?WorkflowTemplatesRequestBuilderGetRequestConfiguration $req } /** - * Get a list of the workflowTemplate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowTemplate objects and their properties. * @param WorkflowTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?WorkflowTemplatesRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilderGetQueryParameters.php index fa9d72ee44b..deebd848d6c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the workflowTemplate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowTemplate objects and their properties. */ class WorkflowTemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php index 3ef094b122f..4d2def27af4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index ff9ce6bdc6c..e5d48c3d7aa 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 24ec5b44fc9..76707a31756 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php index 0b11c7d9f34..1a742e24a07 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ExecutionScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php index 960c6892f95..21d184c5e47 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?UserProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index 60ae62a1cac..c5deb5a0465 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index 51d04d97b04..4ab9d47bf97 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 29de297f30d..42dcf79def4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php index ffefbdff0a1..8df13451997 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param ActivatePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ActivatePostRequestBody $body, ?MicrosoftGraphIdentityGover } /** - * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + * Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. * @param ActivatePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ActivatePostRequestBody $body, ?Microso $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php index 621fa15de6c..1a461559382 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new version of the workflow object. This API is available in the following national cloud deployments. + * Create a new version of the workflow object. * @param CreateNewVersionPostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateNewVersionPostRequestBody $body, ?MicrosoftGraphIdent } /** - * Create a new version of the workflow object. This API is available in the following national cloud deployments. + * Create a new version of the workflow object. * @param CreateNewVersionPostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateNewVersionPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php index 83177056f3c..9cc4840d2af 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @param MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostR } /** - * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + * Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. * @param MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?MicrosoftGraphIdentityGovernanceRestor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.php index 6e3e080ce09..d140f484924 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a run object. * @param RunItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?RunItemRequestBuilderGetRequestConfiguration $requestConfig } /** - * Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a run object. * @param RunItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?RunItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php index e78d4fda44b..c51c01cfb2d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a run object. */ class RunItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 6588d9797cb..2e8d34f9d99 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index d54ea8d7efc..2cad7096b2c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 757bf42702f..462630fc091 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index d24081a25fa..4bc6e24f3e1 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index a925d4f751c..3511f2d33ab 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 833c667b7bb..c537490d857 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 316ba8e1df1..d276adea086 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + * Get the taskProcessingResult resources for a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + * Get the taskProcessingResult resources for a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 406fab1ba57..71950772f4e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + * Get the taskProcessingResult resources for a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 40a00b38e16..fa7c4f7149c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 428d903817d..847e4062562 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php index 4d789fd1e53..9f50540b51f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index eef2b0aaddf..47b6671c9c3 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 61ce727ff3e..98c4ccaebc4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index d243502925b..3ed95da49ea 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index e698d5ef466..66c53a14be2 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index b9d4cedcbc1..4a99eaa4b7b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index f2704cb15b6..32bf4241d1b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 6948e560444..76711909d0e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 94f85701aee..74e0efe7dec 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index af80aa3720f..3dc12d53c13 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + * Get the user processing result of a user processing result of a run. * @param UserProcessingResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?UserProcessingResultItemRequestBuilderGetRequestConfigurati } /** - * Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + * Get the user processing result of a user processing result of a run. * @param UserProcessingResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -79,7 +79,7 @@ public function toGetRequestInformation(?UserProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php index c6697e0c58b..ffe8470a5ea 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + * Get the user processing result of a user processing result of a run. */ class UserProcessingResultItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index 721b9466af0..6930dc1f977 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php index be6f0f3c30a..3b8c6bbabd2 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + * Get user processing results of a workflow run object. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + * Get user processing results of a workflow run object. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?UserProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php index 2da00e655b3..5a7098a21bc 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + * Get user processing results of a workflow run object. */ class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index f497df63a44..5afea555d78 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.php index 635c0bab1b9..fea017c5fda 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + * Get a list of the run objects and their properties for a lifecycle workflow. * @param RunsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + * Get a list of the run objects and their properties for a lifecycle workflow. * @param RunsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?RunsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php index 1ca270789ff..40b1cd9bfb0 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + * Get a list of the run objects and their properties for a lifecycle workflow. */ class RunsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php index 8600c49b7c0..82f598fc2f9 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php index 065a6f65c90..21c3488a962 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 3484761d0b3..26e147f23ec 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 529fec79324..e705e16e4f3 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 445368743b0..e7e41bd4f1f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index 3a2d0a8b42b..8aad92f104d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index b0cfac3c78e..e59a98eb01b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index cd528038109..f8458138d7f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index dd70398a84b..6c24ac13436 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + * Get the task processing result resources from the taskReport. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + * Get the task processing result resources from the taskReport. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 7f3e5994244..0cc096836b2 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + * Get the task processing result resources from the taskReport. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php index fe294c6b536..e47b1771685 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskReportItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index c70fff4259c..9b67fce294a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php index 4d76c584c1b..5a22348f1b4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskReport objects and their properties. * @param TaskReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskReport objects and their properties. * @param TaskReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?TaskReportsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php index a170fa5f1ed..eb56f0ebae5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the taskReport objects and their properties. */ class TaskReportsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php index 8cbd2d44e30..b27c8347d8f 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TaskItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TaskItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Task $body, ?TaskItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 6ededfc87fd..a278e362bff 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index cf60bd38b8a..a81d0fb14c1 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index ca6ec7fae31..4ee843cc7c6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index 1eb4bc20ffa..acea9f962c0 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 5bc33ad1950..930324ab72e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index 251ee541fae..8c4355c9cc6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index b790f5e9312..2ea2e4682a6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.php index 87e79c04d76..2deb9091108 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Task $body, ?TasksRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 99a8ae09e65..b50af03254e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 432d8050a66..c968b92714d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php index c68687ce182..22c52a8d13e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 996dbefdc3f..f4f964d7462 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 4816553bbe1..afe9d97d2b5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 5c2eff71eef..56f142ae49c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index 33b8afd0f32..799709e08b8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 9daeb4d75e0..af4a3312ae7 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index a618ccfeadf..87397788cfa 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 8bf50d7fdb3..dcd48365dcc 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 4fb5a2ded48..7730227665d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + * Get the task processing result from a userProcessingResult either directly or through a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index b9d3976499a..a3d5a9bf403 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?UserProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index a8f5dec325c..8edb6e709cf 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?MicrosoftGraphIdentityGovernanceSummary $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php index ce8eaa598fc..84c3e04009b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -53,7 +53,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + * Get the userProcessingResult resources for a workflow. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + * Get the userProcessingResult resources for a workflow. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toGetRequestInformation(?UserProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php index acdec5f9bcb..2258cb3c7a8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + * Get the userProcessingResult resources for a workflow. */ class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php index 2b1c5b98618..5a63e1bedbc 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index d56f6c22cc2..a2abb770f5c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 430eae96c59..47a97350502 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php index 3251b46968f..a79f073ec63 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php index ec6b716883d..7c6b598471c 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 7588555e66b..15322a66360 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php index efe225f57bf..5219c3c6a75 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TaskItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TaskItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Task $body, ?TaskItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php index 56b4514e49b..1c13b4be235 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ResumePostRequestBody $body, ?MicrosoftGraphIdentityGoverna } /** - * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + * Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. * @param ResumePostRequestBody $body The request body * @param MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ResumePostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php index 825ebe7e377..53a20be96ef 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 9b25ad42e8c..ed9d1fe29e5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php index 074179d8ccf..60c3928a6ba 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?SubjectRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php index 69694ae8297..24b75e31265 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Task/TaskRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TaskRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php index a6044a6cecf..271e23570d7 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?TaskProcessingResultItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 5c4875f6803..c2fe6c198ef 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TaskProcessingResultsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php index 9bfa804b3e8..ea20b0d949d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Task $body, ?TasksRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php index c858711b34b..7f8db238545 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowVersion object. * @param WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?WorkflowVersionVersionNumberItemRequestBuilderGetRequestCon } /** - * Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowVersion object. * @param WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -87,7 +87,7 @@ public function toGetRequestInformation(?WorkflowVersionVersionNumberItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php index e07db5c3f8b..6cdd8fb06d4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflowVersion object. */ class WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php index 7d366f39b7f..de3041421b8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowVersion objects and their properties. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?VersionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowVersion objects and their properties. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index acfdde3a145..54020a875c7 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the workflowVersion objects and their properties. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php index 2a904613b58..a391a8f3541 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.php @@ -119,7 +119,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. This API is available in the following national cloud deployments. + * Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. * @param WorkflowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function delete(?WorkflowItemRequestBuilderDeleteRequestConfiguration $re } /** - * Read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflow object. * @param WorkflowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -151,7 +151,7 @@ public function get(?WorkflowItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. This API is available in the following national cloud deployments. + * Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. * @param Workflow $body The request body * @param WorkflowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -168,7 +168,7 @@ public function patch(Workflow $body, ?WorkflowItemRequestBuilderPatchRequestCon } /** - * Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. This API is available in the following national cloud deployments. + * Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. * @param WorkflowItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -181,12 +181,12 @@ public function toDeleteRequestInformation(?WorkflowItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflow object. * @param WorkflowItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -202,12 +202,12 @@ public function toGetRequestInformation(?WorkflowItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. This API is available in the following national cloud deployments. + * Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. * @param Workflow $body The request body * @param WorkflowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -221,7 +221,7 @@ public function toPatchRequestInformation(Workflow $body, ?WorkflowItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php index 1b3724c37c2..0c95fb617d7 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a workflow object. */ class WorkflowItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php index 25479007dca..7518f1699fb 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of workflow resources that are associated with lifecycle workflows. This API is available in the following national cloud deployments. + * Get a list of workflow resources that are associated with lifecycle workflows. * @param WorkflowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?WorkflowsRequestBuilderGetRequestConfiguration $requestConf } /** - * Create a new workflow object. You can create up to 50 workflows in a tenant. This API is available in the following national cloud deployments. + * Create a new workflow object. You can create up to 50 workflows in a tenant. * @param Workflow $body The request body * @param WorkflowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Workflow $body, ?WorkflowsRequestBuilderPostRequestConfigur } /** - * Get a list of workflow resources that are associated with lifecycle workflows. This API is available in the following national cloud deployments. + * Get a list of workflow resources that are associated with lifecycle workflows. * @param WorkflowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?WorkflowsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new workflow object. You can create up to 50 workflows in a tenant. This API is available in the following national cloud deployments. + * Create a new workflow object. You can create up to 50 workflows in a tenant. * @param Workflow $body The request body * @param WorkflowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Workflow $body, ?WorkflowsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilderGetQueryParameters.php index a176ba1bd09..62cc9f2bcec 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of workflow resources that are associated with lifecycle workflows. This API is available in the following national cloud deployments. + * Get a list of workflow resources that are associated with lifecycle workflows. */ class WorkflowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.php index 4116d0d0f80..7cb50103669 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/AssignmentApprovalsRequestBuilder.php @@ -109,7 +109,7 @@ public function toGetRequestInformation(?AssignmentApprovalsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toPostRequestInformation(Approval $body, ?AssignmentApprovalsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index ca69d3dd2b5..cbb3a240afd 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.php index 88fc3937ba9..08beed7d360 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/ApprovalItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ApprovalItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ApprovalItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Approval $body, ?ApprovalItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php index 616e2b2c767..a1950a1e518 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ApprovalStageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. * @param ApprovalStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ApprovalStageItemRequestBuilderGetRequestConfiguration $req } /** - * Approve or deny an approvalStage object in an approval. This API is available in the following national cloud deployments. + * Approve or deny an approvalStage object in an approval. * @param ApprovalStage $body The request body * @param ApprovalStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ApprovalStageItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. * @param ApprovalStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ApprovalStageItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Approve or deny an approvalStage object in an approval. This API is available in the following national cloud deployments. + * Approve or deny an approvalStage object in an approval. * @param ApprovalStage $body The request body * @param ApprovalStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ApprovalStage $body, ?ApprovalStageIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php index 3e6035a853f..a7ac8d26203 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. This API is available in the following national cloud deployments. + * Retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. */ class ApprovalStageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php index dd4cbb41b42..121f0c371cf 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ApprovalStage $body, ?StagesRequestBuilderPostRequestConfig } /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?StagesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ApprovalStage $body, ?StagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php index ee117f54638..3ccd15a040d 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentApprovals/Item/Stages/StagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. This API is available in the following national cloud deployments. + * List the approvalStage objects associated with an approval. This API request is made by an approver in the following scenarios: In Microsoft Entra entitlement management, providing the identifier of the access package assignment request.In PIM for groups, providing the identifier of the assignment schedule request. */ class StagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php index 939dea3d7e0..0576499790b 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. * @param AssignmentScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(PrivilegedAccessGroupAssignmentScheduleInstance $body, ?Ass } /** - * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. * @param AssignmentScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?AssignmentScheduleInstancesRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(PrivilegedAccessGroupAssignmentSchedule $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilderGetQueryParameters.php index 6d57cfd59b3..d10ee550065 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/AssignmentScheduleInstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. */ class AssignmentScheduleInstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 4c977d85b88..45c06cccaf0 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 2768243c2ab..8f0054e7afe 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.php index bb6157db297..ff7e113ba3f 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index ee8915a7286..b52b3ea3ffd 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php index 74e6349ff19..21be9d20aa1 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.php index 3a04801b651..03cbaf846e1 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?PrivilegedAccessGroupAssignmentScheduleInstanceItemReque } /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. * @param PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?PrivilegedAccessGroupAssignmentSched $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. * @param PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?PrivilegedAccessGroupAssignmentSchedule } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroupAssignmentSchedul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php index fea6b694cfe..6e1bf3c69f7 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleInstances/Item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. */ class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php index 50b54e7b639..ae7ab68a624 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. * @param AssignmentScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?AssignmentScheduleRequestsRequestBuilderGetRequestConfigura } /** - * Create a new privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * Create a new privilegedAccessGroupAssignmentScheduleRequest object. * @param PrivilegedAccessGroupAssignmentScheduleRequest $body The request body * @param AssignmentScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(PrivilegedAccessGroupAssignmentScheduleRequest $body, ?Assi } /** - * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. * @param AssignmentScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?AssignmentScheduleRequestsRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * Create a new privilegedAccessGroupAssignmentScheduleRequest object. * @param PrivilegedAccessGroupAssignmentScheduleRequest $body The request body * @param AssignmentScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(PrivilegedAccessGroupAssignmentSchedule $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilderGetQueryParameters.php index 66199364cb0..86b30789377 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/AssignmentScheduleRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. */ class AssignmentScheduleRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 94b58020749..76cb26e0e3b 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 3d4c358308f..7de20fdfea8 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php index 8bc7858a953..a5b27fc4bf8 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + * Cancel an access assignment request to a group whose membership and ownership are governed by PIM. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.php index dc17ead6bf9..9ec907ea0ae 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 1d795847cdb..81fa6418c79 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php index a25b9849822..8d50762d650 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.php index e68f29c74ee..60cf7de83ec 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?PrivilegedAccessGroupAssignmentScheduleRequestItemReques } /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. * @param PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?PrivilegedAccessGroupAssignmentSched $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. * @param PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?PrivilegedAccessGroupAssignmentSchedule } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroupAssignmentSchedul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php index e9e406e4927..40e873e2b94 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. */ class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php index 60883fd3656..dcc688ca0a0 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetScheduleRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.php index 4a312bf534c..6fbe7878490 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. * @param AssignmentSchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(PrivilegedAccessGroupAssignmentSchedule $body, ?AssignmentS } /** - * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. * @param AssignmentSchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?AssignmentSchedulesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(PrivilegedAccessGroupAssignmentSchedule $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilderGetQueryParameters.php index 5467f7af90f..acb2ab64676 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/AssignmentSchedulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. */ class AssignmentSchedulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index b0baa6b8481..d11fb973405 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 4f2f7cbba62..6c0d0021c1b 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.php index 173e34de7fc..26fdd90f307 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 1c8474dd391..b679e0b1e93 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php index 68988750c79..360fb06d4cf 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.php index 8677d55c091..226ec1c1586 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?PrivilegedAccessGroupAssignmentScheduleItemRequestBuilde } /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. * @param PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?PrivilegedAccessGroupAssignmentSched $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. * @param PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?PrivilegedAccessGroupAssignmentSchedule } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroupAssignmentSchedul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters.php index 8cac0509635..464286126c5 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentSchedules/Item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. */ class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php index 952f042b615..777144f793f 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. * @param EligibilityScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(PrivilegedAccessGroupEligibilityScheduleInstance $body, ?El } /** - * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. * @param EligibilityScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?EligibilityScheduleInstancesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(PrivilegedAccessGroupEligibilitySchedul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilderGetQueryParameters.php index 7750dcb0a16..f7a3ca37691 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/EligibilityScheduleInstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. */ class EligibilityScheduleInstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 66b69d9ccf0..edbb6dcc03b 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.php index 94b94e6f0f1..3ae0864462f 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 0c4b914342c..71487aa5822 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php index e7802521ed4..6b60fb3b71a 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.php index 2c4b2dea8d5..c618b92f50a 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?PrivilegedAccessGroupEligibilityScheduleInstanceItemRequ } /** - * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. * @param PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?PrivilegedAccessGroupEligibilitySche $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. * @param PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?PrivilegedAccessGroupEligibilitySchedul } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroupEligibilitySchedu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php index 5226da1bd98..d1452ee0e40 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleInstances/Item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. */ class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php index bf3edb9da1a..23d60fcd2d6 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. * @param EligibilityScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?EligibilityScheduleRequestsRequestBuilderGetRequestConfigur } /** - * Create a new privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * Create a new privilegedAccessGroupEligibilityScheduleRequest object. * @param PrivilegedAccessGroupEligibilityScheduleRequest $body The request body * @param EligibilityScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(PrivilegedAccessGroupEligibilityScheduleRequest $body, ?Eli } /** - * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. * @param EligibilityScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?EligibilityScheduleRequestsRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * Create a new privilegedAccessGroupEligibilityScheduleRequest object. * @param PrivilegedAccessGroupEligibilityScheduleRequest $body The request body * @param EligibilityScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(PrivilegedAccessGroupEligibilitySchedul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilderGetQueryParameters.php index f2a05ed9262..132e9b7eb1a 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/EligibilityScheduleRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. */ class EligibilityScheduleRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 98e70460636..6d6f1ff32ed 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php index 1edaddc3b0a..6218985672f 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + * Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.php index 15345f32384..58accf4f609 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index d34a2d54b35..b49f072de50 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php index cc5c1f55796..c5d2022adcd 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.php index 6f1333b663e..4a5e125dbfe 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?PrivilegedAccessGroupEligibilityScheduleRequestItemReque } /** - * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. * @param PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?PrivilegedAccessGroupEligibilitySche $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. * @param PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?PrivilegedAccessGroupEligibilitySchedul } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroupEligibilitySchedu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php index 579b9dd07d3..34d44ed13c3 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. */ class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php index d9b4f255a06..e4caa9d7436 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetScheduleRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.php index f875b07857c..b59dd2c23ff 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. * @param EligibilitySchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(PrivilegedAccessGroupEligibilitySchedule $body, ?Eligibilit } /** - * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. * @param EligibilitySchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?EligibilitySchedulesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(PrivilegedAccessGroupEligibilitySchedul $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilderGetQueryParameters.php index 0fb93d59f5c..dcd2a907260 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/EligibilitySchedulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. */ class EligibilitySchedulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 84b0a6a5897..1ed350492d8 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.php index 95d5d5dcbc1..e0612ee7b9d 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 01c5aa1eb4f..2154e40ef83 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php index 00257a42adf..f619807fb58 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.php index 7fb3890512c..7685c6e3f75 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?PrivilegedAccessGroupEligibilityScheduleItemRequestBuild } /** - * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. * @param PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?PrivilegedAccessGroupEligibilitySche $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. * @param PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?PrivilegedAccessGroupEligibilitySchedul } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroupEligibilitySchedu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters.php index b4e7249afac..3f0b6d6f2cc 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/EligibilitySchedules/Item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. */ class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php index adb818fb909..e474ab4bd81 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/Group/GroupRequestBuilder.php @@ -146,7 +146,7 @@ public function toDeleteRequestInformation(?GroupRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -167,7 +167,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -186,7 +186,7 @@ public function toPatchRequestInformation(PrivilegedAccessGroup $body, ?GroupReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.php b/src/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.php index 96f525af03d..18929c9bc29 100644 --- a/src/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.php +++ b/src/Generated/IdentityGovernance/PrivilegedAccess/PrivilegedAccessRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PrivilegedAccessRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PrivilegedAccessRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(PrivilegedAccessRoot $body, ?Privilege $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php index 78a4c73997b..c4f538e702d 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AgreementAcceptancesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AgreementAcceptance $body, ?AgreementAc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php index 217616750f4..2f010147cf7 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementAcceptanceItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementAcceptanceItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementAcceptance $body, ?AgreementA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.php index f9f387b7798..b4e9612e555 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of agreement objects. This API is available in the following national cloud deployments. + * Retrieve a list of agreement objects. * @param AgreementsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AgreementsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new agreement object. This API is available in the following national cloud deployments. + * Create a new agreement object. * @param Agreement $body The request body * @param AgreementsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Agreement $body, ?AgreementsRequestBuilderPostRequestConfig } /** - * Retrieve a list of agreement objects. This API is available in the following national cloud deployments. + * Retrieve a list of agreement objects. * @param AgreementsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AgreementsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new agreement object. This API is available in the following national cloud deployments. + * Create a new agreement object. * @param Agreement $body The request body * @param AgreementsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Agreement $body, ?AgreementsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilderGetQueryParameters.php index d976f250937..f89aa8e8808 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of agreement objects. This API is available in the following national cloud deployments. + * Retrieve a list of agreement objects. */ class AgreementsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php index 1a85e6c1e29..1502d47f46c 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + * Get the details about the acceptance records for a specific agreement. * @param AcceptancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AgreementAcceptance $body, ?AcceptancesRequestBuilderPostRe } /** - * Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + * Get the details about the acceptance records for a specific agreement. * @param AcceptancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AcceptancesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AgreementAcceptance $body, ?Acceptances $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php index f8c0ced789e..5fa9db03d22 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + * Get the details about the acceptance records for a specific agreement. */ class AcceptancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php index 3d00059497d..1e6e40ca720 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementAcceptanceItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementAcceptanceItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementAcceptance $body, ?AgreementA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 97ee1b0a57c..a2723a6b06f 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an agreement object. This API is available in the following national cloud deployments. + * Delete an agreement object. * @param AgreementItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,11 +71,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -87,7 +87,7 @@ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of an agreement object. This API is available in the following national cloud deployments. + * Update the properties of an agreement object. * @param Agreement $body The request body * @param AgreementItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Agreement $body, ?AgreementItemRequestBuilderPatchRequestC } /** - * Delete an agreement object. This API is available in the following national cloud deployments. + * Delete an agreement object. * @param AgreementItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?AgreementItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an agreement object. This API is available in the following national cloud deployments. + * Update the properties of an agreement object. * @param Agreement $body The request body * @param AgreementItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Agreement $body, ?AgreementItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index edc5a48c2ae..3ba58bfc831 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php index 2215dea8de0..c1c353c3aa6 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?FileRequestBuilderDeleteRequestConfiguration $requestCon } /** - * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param FileRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?FileRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param FileRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?FileRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(AgreementFile $body, ?FileRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php index c4e1c27a2c4..7f00fbf054e 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/FileRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. */ class FileRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php index 3f75e19a75b..b21a42d7dbc 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AgreementFileLocalizationItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AgreementFileLocalizationItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AgreementFileLocalization $body, ?Agre $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php index 07e8de74197..9e1f66ecd85 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementFileVersionItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementFileVersionItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementFileVersion $body, ?Agreement $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php index a0f465181e4..d48e93d6835 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/Item/Versions/VersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AgreementFileVersion $body, ?VersionsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php index 4a84395c41f..6a3a47010c1 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + * Get a list of the default and localized agreement files. * @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AgreementFileLocalization $body, ?LocalizationsRequestBuild } /** - * Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + * Get a list of the default and localized agreement files. * @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LocalizationsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AgreementFileLocalization $body, ?Local $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php index 1f31dde28d1..d53ca3e435c 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/File/Localizations/LocalizationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + * Get a list of the default and localized agreement files. */ class LocalizationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php index 870408d2a92..f37ea8615ed 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?FilesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new localized agreement file. This API is available in the following national cloud deployments. + * Create a new localized agreement file. * @param AgreementFileLocalization $body The request body * @param FilesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?FilesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new localized agreement file. This API is available in the following national cloud deployments. + * Create a new localized agreement file. * @param AgreementFileLocalization $body The request body * @param FilesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(AgreementFileLocalization $body, ?Files $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php index 9841ea688a8..bcfc76f9f85 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AgreementFileLocalizationItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AgreementFileLocalizationItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AgreementFileLocalization $body, ?Agre $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php index 433a8732a4d..161f9e98a60 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AgreementFileVersionItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AgreementFileVersionItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AgreementFileVersion $body, ?Agreement $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php index a4261ca2e14..17267c9f63e 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AgreementFileVersion $body, ?VersionsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.php index 59d9e9a119c..3e075c66a38 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermsOfUseRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermsOfUseRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(TermsOfUseContainer $body, ?TermsOfUse $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/IdentityProtectionRequestBuilder.php b/src/Generated/IdentityProtection/IdentityProtectionRequestBuilder.php index 534b11cb9fe..a53aff3a880 100644 --- a/src/Generated/IdentityProtection/IdentityProtectionRequestBuilder.php +++ b/src/Generated/IdentityProtection/IdentityProtectionRequestBuilder.php @@ -110,7 +110,7 @@ public function toGetRequestInformation(?IdentityProtectionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPatchRequestInformation(IdentityProtectionRoot $body, ?Identit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php index 7334381125d..62ed20679a1 100644 --- a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?RiskDetectionItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of a riskDetection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskDetection object. * @param RiskDetectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?RiskDetectionItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a riskDetection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskDetection object. * @param RiskDetectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?RiskDetectionItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(RiskDetection $body, ?RiskDetectionIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php index e92156dde5b..f0271527cb4 100644 --- a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a riskDetection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskDetection object. */ class RiskDetectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php b/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php index d9be8575518..eddb9d1cd52 100644 --- a/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the riskDetection objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the riskDetection objects and their properties. * @param RiskDetectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(RiskDetection $body, ?RiskDetectionsRequestBuilderPostReque } /** - * Get a list of the riskDetection objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the riskDetection objects and their properties. * @param RiskDetectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RiskDetectionsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(RiskDetection $body, ?RiskDetectionsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php index 0240ad4e7e9..1250b599f79 100644 --- a/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the riskDetection objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the riskDetection objects and their properties. */ class RiskDetectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php index 96badb59a1b..fdc200aad61 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. This API is available in the following national cloud deployments. + * Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. * @param ConfirmCompromisedPostRequestBody $body The request body * @param ConfirmCompromisedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ConfirmCompromisedPostRequestBody $body, ?ConfirmCompromise } /** - * Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. This API is available in the following national cloud deployments. + * Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. * @param ConfirmCompromisedPostRequestBody $body The request body * @param ConfirmCompromisedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ConfirmCompromisedPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.php index 72c44fca5c4..49ec8aa6b80 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. This API is available in the following national cloud deployments. + * Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. * @param DismissPostRequestBody $body The request body * @param DismissRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DismissPostRequestBody $body, ?DismissRequestBuilderPostReq } /** - * Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. This API is available in the following national cloud deployments. + * Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. * @param DismissPostRequestBody $body The request body * @param DismissRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DismissPostRequestBody $body, ?DismissR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.php index 66b500e2f24..d9bfe33a6bb 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the risk history of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + * Get the risk history of a riskyServicePrincipal object. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(RiskyServicePrincipalHistoryItem $body, ?HistoryRequestBuil } /** - * Get the risk history of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + * Get the risk history of a riskyServicePrincipal object. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HistoryRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(RiskyServicePrincipalHistoryItem $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilderGetQueryParameters.php index 0a406fb78f5..e872a36f56b 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the risk history of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + * Get the risk history of a riskyServicePrincipal object. */ class HistoryRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.php index b9ab1a7db8b..765e45b6d5c 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RiskyServicePrincipalHistoryItemItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RiskyServicePrincipalHistoryItemItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(RiskyServicePrincipalHistoryItem $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.php index 5416ae459f3..cfea88ad233 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?RiskyServicePrincipalItemRequestBuilderDeleteRequestConf } /** - * Read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskyServicePrincipal object. * @param RiskyServicePrincipalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?RiskyServicePrincipalItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskyServicePrincipal object. * @param RiskyServicePrincipalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?RiskyServicePrincipalItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(RiskyServicePrincipal $body, ?RiskySer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilderGetQueryParameters.php index f8039e11e9f..adaae814fe6 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskyServicePrincipal object. */ class RiskyServicePrincipalItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php index 76906a4a5fc..801ecb6bdc7 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of riskyServicePrincipal objects. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of riskyServicePrincipal objects. * @param RiskyServicePrincipalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function post(RiskyServicePrincipal $body, ?RiskyServicePrincipalsRequest } /** - * Retrieve the properties and relationships of riskyServicePrincipal objects. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of riskyServicePrincipal objects. * @param RiskyServicePrincipalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?RiskyServicePrincipalsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toPostRequestInformation(RiskyServicePrincipal $body, ?RiskyServ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilderGetQueryParameters.php index cb178dc3d2e..636e5df1bec 100644 --- a/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of riskyServicePrincipal objects. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of riskyServicePrincipal objects. */ class RiskyServicePrincipalsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php index c5aab5217fb..6165fb9d416 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. This API is available in the following national cloud deployments. + * Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. * @param ConfirmCompromisedPostRequestBody $body The request body * @param ConfirmCompromisedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ConfirmCompromisedPostRequestBody $body, ?ConfirmCompromise } /** - * Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. This API is available in the following national cloud deployments. + * Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. * @param ConfirmCompromisedPostRequestBody $body The request body * @param ConfirmCompromisedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ConfirmCompromisedPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.php index 91d99f4b9b3..bd842c64ae9 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. This API is available in the following national cloud deployments. + * Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. * @param DismissPostRequestBody $body The request body * @param DismissRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DismissPostRequestBody $body, ?DismissRequestBuilderPostReq } /** - * Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. This API is available in the following national cloud deployments. + * Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. * @param DismissPostRequestBody $body The request body * @param DismissRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DismissPostRequestBody $body, ?DismissR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php index aac9c723627..eaca1ef2550 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(RiskyUserHistoryItem $body, ?HistoryRequestBuilderPostReque } /** - * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HistoryRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(RiskyUserHistoryItem $body, ?HistoryReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php index e765290e817..f2cc9e19d99 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. */ class HistoryRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.php index 273f1579c5b..2d26803580d 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RiskyUserHistoryItemItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RiskyUserHistoryItemItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(RiskyUserHistoryItem $body, ?RiskyUser $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.php index 400ed933d78..63607ec1c05 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?RiskyUserItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskyUser object. * @param RiskyUserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?RiskyUserItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskyUser object. * @param RiskyUserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?RiskyUserItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(RiskyUser $body, ?RiskyUserItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilderGetQueryParameters.php index ae19c78495a..d58903314d4 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a riskyUser object. */ class RiskyUserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php index bc54bd09776..4eb7d5cf4f7 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the riskyUser objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the riskyUser objects and their properties. * @param RiskyUsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function post(RiskyUser $body, ?RiskyUsersRequestBuilderPostRequestConfig } /** - * Get a list of the riskyUser objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the riskyUser objects and their properties. * @param RiskyUsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?RiskyUsersRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toPostRequestInformation(RiskyUser $body, ?RiskyUsersRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php index beb8b050674..67916c3ccad 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the riskyUser objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the riskyUser objects and their properties. */ class RiskyUsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php index 8e7f71005c6..dd6303a715e 100644 --- a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ServicePrincipalRiskDetectionItemRequestBuilderDeleteReq } /** - * Read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a servicePrincipalRiskDetection object. * @param ServicePrincipalRiskDetectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ServicePrincipalRiskDetectionItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a servicePrincipalRiskDetection object. * @param ServicePrincipalRiskDetectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ServicePrincipalRiskDetectionItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(ServicePrincipalRiskDetection $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters.php index 88e2d3304dd..1c67ab542b0 100644 --- a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a servicePrincipalRiskDetection object. */ class ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php index af2ecaf6dbe..f8ff846fb0c 100644 --- a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php +++ b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties of a collection of servicePrincipalRiskDetection objects. This API is available in the following national cloud deployments. + * Retrieve the properties of a collection of servicePrincipalRiskDetection objects. * @param ServicePrincipalRiskDetectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ServicePrincipalRiskDetection $body, ?ServicePrincipalRiskD } /** - * Retrieve the properties of a collection of servicePrincipalRiskDetection objects. This API is available in the following national cloud deployments. + * Retrieve the properties of a collection of servicePrincipalRiskDetection objects. * @param ServicePrincipalRiskDetectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ServicePrincipalRiskDetectionsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ServicePrincipalRiskDetection $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters.php index 5f4bc1fef7f..9910321348c 100644 --- a/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a collection of servicePrincipalRiskDetection objects. This API is available in the following national cloud deployments. + * Retrieve the properties of a collection of servicePrincipalRiskDetection objects. */ class ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php b/src/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php index 6323bfd2bea..485b284ad43 100644 --- a/src/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php +++ b/src/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?AvailableProviderTypesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/IdentityProviders/IdentityProvidersRequestBuilder.php b/src/Generated/IdentityProviders/IdentityProvidersRequestBuilder.php index f7f74d35d61..ffb3df7ea04 100644 --- a/src/Generated/IdentityProviders/IdentityProvidersRequestBuilder.php +++ b/src/Generated/IdentityProviders/IdentityProvidersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve all identityProviders in the directory. This API is available in the following national cloud deployments. + * Retrieve all identityProviders in the directory. * @param IdentityProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?IdentityProvidersRequestBuilderGetRequestConfiguration $req } /** - * Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret. This API is available in the following national cloud deployments. + * Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret. * @param IdentityProvider $body The request body * @param IdentityProvidersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(IdentityProvider $body, ?IdentityProvidersRequestBuilderPos } /** - * Retrieve all identityProviders in the directory. This API is available in the following national cloud deployments. + * Retrieve all identityProviders in the directory. * @param IdentityProvidersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?IdentityProvidersRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret. This API is available in the following national cloud deployments. + * Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret. * @param IdentityProvider $body The request body * @param IdentityProvidersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(IdentityProvider $body, ?IdentityProvid $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php index 67c075c4d93..5bf3413ce12 100644 --- a/src/Generated/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProviders/IdentityProvidersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve all identityProviders in the directory. This API is available in the following national cloud deployments. + * Retrieve all identityProviders in the directory. */ class IdentityProvidersRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php b/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php index 5821cfa1b15..45f671a5ebc 100644 --- a/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php +++ b/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an existing identityProvider. This API is available in the following national cloud deployments. + * Delete an existing identityProvider. * @param IdentityProviderItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?IdentityProviderItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the properties of an existing identityProvider. This API is available in the following national cloud deployments. + * Retrieve the properties of an existing identityProvider. * @param IdentityProviderItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?IdentityProviderItemRequestBuilderGetRequestConfiguration $ } /** - * Update properties in an existing identityProvider. This API is available in the following national cloud deployments. + * Update properties in an existing identityProvider. * @param IdentityProvider $body The request body * @param IdentityProviderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(IdentityProvider $body, ?IdentityProviderItemRequestBuilde } /** - * Delete an existing identityProvider. This API is available in the following national cloud deployments. + * Delete an existing identityProvider. * @param IdentityProviderItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?IdentityProviderItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an existing identityProvider. This API is available in the following national cloud deployments. + * Retrieve the properties of an existing identityProvider. * @param IdentityProviderItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?IdentityProviderItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update properties in an existing identityProvider. This API is available in the following national cloud deployments. + * Update properties in an existing identityProvider. * @param IdentityProvider $body The request body * @param IdentityProviderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(IdentityProvider $body, ?IdentityProvi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilderGetQueryParameters.php index b49d3d4b6de..04a2d58e162 100644 --- a/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an existing identityProvider. This API is available in the following national cloud deployments. + * Retrieve the properties of an existing identityProvider. */ class IdentityProviderItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.php b/src/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.php index 13144dc1919..9e9c0d6c63a 100644 --- a/src/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.php +++ b/src/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?BitlockerRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.php b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.php index eda10c15500..0ac3468c051 100644 --- a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.php +++ b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. * @param BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?BitlockerRecoveryKeyItemRequestBuilderGetRequestConfigurati } /** - * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. * @param BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?BitlockerRecoveryKeyItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters.php b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters.php index 196c4ae5c13..b103d80e214 100644 --- a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation doesn't return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Microsoft Entra audit logs. */ class BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php index 2e444857fa6..e80f83c4535 100644 --- a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php +++ b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. * @param RecoveryKeysRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?RecoveryKeysRequestBuilderGetRequestConfiguration $requestC } /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. * @param RecoveryKeysRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?RecoveryKeysRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilderGetQueryParameters.php b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilderGetQueryParameters.php index cfc10ededaa..fd1a5227b4e 100644 --- a/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilderGetQueryParameters.php +++ b/src/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + * Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. */ class RecoveryKeysRequestBuilderGetQueryParameters { diff --git a/src/Generated/InformationProtection/InformationProtectionRequestBuilder.php b/src/Generated/InformationProtection/InformationProtectionRequestBuilder.php index 7fcb82ce6c3..e432674ac4a 100644 --- a/src/Generated/InformationProtection/InformationProtectionRequestBuilder.php +++ b/src/Generated/InformationProtection/InformationProtectionRequestBuilder.php @@ -94,7 +94,7 @@ public function toGetRequestInformation(?InformationProtectionRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toPatchRequestInformation(InformationProtection $body, ?Informat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.php index 8a4ef765021..90a76048123 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ThreatAssessmentResultItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ThreatAssessmentResultItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ThreatAssessmentResult $body, ?ThreatA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.php index 3cb5ae53083..63ab2807358 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResultsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ThreatAssessmentResult $body, ?ResultsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.php index d947151c1ec..d92835692f1 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ThreatAssessmentRequestItemRequestBuilderDeleteRequestCo } /** - * Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: * @param ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ThreatAssessmentRequestItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: * @param ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ThreatAssessmentRequestItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ThreatAssessmentRequest $body, ?Threat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilderGetQueryParameters.php index d68fb4fe0e1..7a509537589 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: */ class ThreatAssessmentRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php index 19e63a09b41..549ae815d2d 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: * @param ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ThreatAssessmentRequestsRequestBuilderGetRequestConfigurati } /** - * Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Create a new threat assessment request. A threat assessment request can be one of the following types: * @param ThreatAssessmentRequest $body The request body * @param ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ThreatAssessmentRequest $body, ?ThreatAssessmentRequestsReq } /** - * Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: * @param ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ThreatAssessmentRequestsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Create a new threat assessment request. A threat assessment request can be one of the following types: * @param ThreatAssessmentRequest $body The request body * @param ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ThreatAssessmentRequest $body, ?ThreatA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilderGetQueryParameters.php b/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilderGetQueryParameters.php index f666fd94c7d..a37eb08ab0b 100644 --- a/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + * Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: */ class ThreatAssessmentRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Invitations/InvitationsRequestBuilder.php b/src/Generated/Invitations/InvitationsRequestBuilder.php index 6aa633d873d..f5d912fc9ef 100644 --- a/src/Generated/Invitations/InvitationsRequestBuilder.php +++ b/src/Generated/Invitations/InvitationsRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?InvitationsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new invitation. Invitation adds an external user to the organization. When creating a new invitation, you have several options available: This API is available in the following national cloud deployments. + * Use this API to create a new invitation. Invitation adds an external user to the organization. When creating a new invitation, you have several options available: * @param Invitation $body The request body * @param InvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toGetRequestInformation(?InvitationsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new invitation. Invitation adds an external user to the organization. When creating a new invitation, you have several options available: This API is available in the following national cloud deployments. + * Use this API to create a new invitation. Invitation adds an external user to the organization. When creating a new invitation, you have several options available: * @param Invitation $body The request body * @param InvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Invitation $body, ?InvitationsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Invitations/Item/InvitationItemRequestBuilder.php b/src/Generated/Invitations/Item/InvitationItemRequestBuilder.php index 4ccfd3c2a6f..f1d16f3cc08 100644 --- a/src/Generated/Invitations/Item/InvitationItemRequestBuilder.php +++ b/src/Generated/Invitations/Item/InvitationItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?InvitationItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?InvitationItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Invitation $body, ?InvitationItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php b/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php index a64dc1d8001..e25d13c5f92 100644 --- a/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php +++ b/src/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?InvitedUserRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 44c0d9be18d..9a1b7e7c667 100644 --- a/src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 0f46ad349fb..53d018ece16 100644 --- a/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Invitations/Item/InvitedUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Models/BookingBusiness.php b/src/Generated/Models/BookingBusiness.php index d9f4d8e1842..4aa2c3e9eb8 100644 --- a/src/Generated/Models/BookingBusiness.php +++ b/src/Generated/Models/BookingBusiness.php @@ -8,7 +8,7 @@ use Microsoft\Kiota\Abstractions\Types\TypeUtils; /** - * Represents a Microsot Bookings Business. + * Represents a Microsoft Bookings Business. */ class BookingBusiness extends Entity implements Parsable { diff --git a/src/Generated/Models/CallRecording.php b/src/Generated/Models/CallRecording.php index bdf2aea9a03..7c890f191b5 100644 --- a/src/Generated/Models/CallRecording.php +++ b/src/Generated/Models/CallRecording.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): CallR } /** - * Gets the content property value. The content property + * Gets the content property value. The content of the recording. Read-only. * @return StreamInterface|null */ public function getContent(): ?StreamInterface { @@ -39,7 +39,7 @@ public function getContent(): ?StreamInterface { } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. Date and time at which the recording was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -66,7 +66,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the meetingId property value. The meetingId property + * Gets the meetingId property value. The unique identifier of the onlineMeeting related to this recording. Read-only. * @return string|null */ public function getMeetingId(): ?string { @@ -78,7 +78,7 @@ public function getMeetingId(): ?string { } /** - * Gets the meetingOrganizer property value. The meetingOrganizer property + * Gets the meetingOrganizer property value. The identity information of the organizer of the onlineMeeting related to this recording. Read-only. * @return IdentitySet|null */ public function getMeetingOrganizer(): ?IdentitySet { @@ -90,7 +90,7 @@ public function getMeetingOrganizer(): ?IdentitySet { } /** - * Gets the recordingContentUrl property value. The recordingContentUrl property + * Gets the recordingContentUrl property value. The URL that can be used to access the content of the recording. Read-only. * @return string|null */ public function getRecordingContentUrl(): ?string { @@ -115,7 +115,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the content property value. The content property + * Sets the content property value. The content of the recording. Read-only. * @param StreamInterface|null $value Value to set for the content property. */ public function setContent(?StreamInterface $value): void { @@ -123,7 +123,7 @@ public function setContent(?StreamInterface $value): void { } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. Date and time at which the recording was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -131,7 +131,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the meetingId property value. The meetingId property + * Sets the meetingId property value. The unique identifier of the onlineMeeting related to this recording. Read-only. * @param string|null $value Value to set for the meetingId property. */ public function setMeetingId(?string $value): void { @@ -139,7 +139,7 @@ public function setMeetingId(?string $value): void { } /** - * Sets the meetingOrganizer property value. The meetingOrganizer property + * Sets the meetingOrganizer property value. The identity information of the organizer of the onlineMeeting related to this recording. Read-only. * @param IdentitySet|null $value Value to set for the meetingOrganizer property. */ public function setMeetingOrganizer(?IdentitySet $value): void { @@ -147,7 +147,7 @@ public function setMeetingOrganizer(?IdentitySet $value): void { } /** - * Sets the recordingContentUrl property value. The recordingContentUrl property + * Sets the recordingContentUrl property value. The URL that can be used to access the content of the recording. Read-only. * @param string|null $value Value to set for the recordingContentUrl property. */ public function setRecordingContentUrl(?string $value): void { diff --git a/src/Generated/Models/DeltaParticipants.php b/src/Generated/Models/DeltaParticipants.php new file mode 100644 index 00000000000..25a67038236 --- /dev/null +++ b/src/Generated/Models/DeltaParticipants.php @@ -0,0 +1,92 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'participants' => fn(ParseNode $n) => $o->setParticipants($n->getCollectionOfObjectValues([Participant::class, 'createFromDiscriminatorValue'])), + 'sequenceNumber' => fn(ParseNode $n) => $o->setSequenceNumber($n->getIntegerValue()), + ]); + } + + /** + * Gets the participants property value. The participants property + * @return array|null + */ + public function getParticipants(): ?array { + $val = $this->getBackingStore()->get('participants'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Participant::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'participants'"); + } + + /** + * Gets the sequenceNumber property value. The sequenceNumber property + * @return int|null + */ + public function getSequenceNumber(): ?int { + $val = $this->getBackingStore()->get('sequenceNumber'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sequenceNumber'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('participants', $this->getParticipants()); + $writer->writeIntegerValue('sequenceNumber', $this->getSequenceNumber()); + } + + /** + * Sets the participants property value. The participants property + * @param array|null $value Value to set for the participants property. + */ + public function setParticipants(?array $value): void { + $this->getBackingStore()->set('participants', $value); + } + + /** + * Sets the sequenceNumber property value. The sequenceNumber property + * @param int|null $value Value to set for the sequenceNumber property. + */ + public function setSequenceNumber(?int $value): void { + $this->getBackingStore()->set('sequenceNumber', $value); + } + +} diff --git a/src/Generated/Models/DriveItem.php b/src/Generated/Models/DriveItem.php index 4b20ee74d60..da5b8b038ab 100644 --- a/src/Generated/Models/DriveItem.php +++ b/src/Generated/Models/DriveItem.php @@ -140,6 +140,7 @@ public function getFieldDeserializers(): array { 'photo' => fn(ParseNode $n) => $o->setPhoto($n->getObjectValue([Photo::class, 'createFromDiscriminatorValue'])), 'publication' => fn(ParseNode $n) => $o->setPublication($n->getObjectValue([PublicationFacet::class, 'createFromDiscriminatorValue'])), 'remoteItem' => fn(ParseNode $n) => $o->setRemoteItem($n->getObjectValue([RemoteItem::class, 'createFromDiscriminatorValue'])), + 'retentionLabel' => fn(ParseNode $n) => $o->setRetentionLabel($n->getObjectValue([ItemRetentionLabel::class, 'createFromDiscriminatorValue'])), 'root' => fn(ParseNode $n) => $o->setRoot($n->getObjectValue([Root::class, 'createFromDiscriminatorValue'])), 'searchResult' => fn(ParseNode $n) => $o->setSearchResult($n->getObjectValue([SearchResult::class, 'createFromDiscriminatorValue'])), 'shared' => fn(ParseNode $n) => $o->setShared($n->getObjectValue([Shared::class, 'createFromDiscriminatorValue'])), @@ -313,6 +314,18 @@ public function getRemoteItem(): ?RemoteItem { throw new \UnexpectedValueException("Invalid type found in backing store for 'remoteItem'"); } + /** + * Gets the retentionLabel property value. Information about retention label and settings enforced on the driveItem. Read-write. + * @return ItemRetentionLabel|null + */ + public function getRetentionLabel(): ?ItemRetentionLabel { + $val = $this->getBackingStore()->get('retentionLabel'); + if (is_null($val) || $val instanceof ItemRetentionLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'retentionLabel'"); + } + /** * Gets the root property value. If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. * @return Root|null @@ -489,6 +502,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('photo', $this->getPhoto()); $writer->writeObjectValue('publication', $this->getPublication()); $writer->writeObjectValue('remoteItem', $this->getRemoteItem()); + $writer->writeObjectValue('retentionLabel', $this->getRetentionLabel()); $writer->writeObjectValue('root', $this->getRoot()); $writer->writeObjectValue('searchResult', $this->getSearchResult()); $writer->writeObjectValue('shared', $this->getShared()); @@ -663,6 +677,14 @@ public function setRemoteItem(?RemoteItem $value): void { $this->getBackingStore()->set('remoteItem', $value); } + /** + * Sets the retentionLabel property value. Information about retention label and settings enforced on the driveItem. Read-write. + * @param ItemRetentionLabel|null $value Value to set for the retentionLabel property. + */ + public function setRetentionLabel(?ItemRetentionLabel $value): void { + $this->getBackingStore()->set('retentionLabel', $value); + } + /** * Sets the root property value. If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. * @param Root|null $value Value to set for the root property. diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 5ab2b667b2f..eab94bf37cc 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -282,6 +282,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.delegatedPermissionClassification': return new DelegatedPermissionClassification(); case '#microsoft.graph.deletedItemContainer': return new DeletedItemContainer(); case '#microsoft.graph.deletedTeam': return new DeletedTeam(); + case '#microsoft.graph.deltaParticipants': return new DeltaParticipants(); case '#microsoft.graph.detectedApp': return new DetectedApp(); case '#microsoft.graph.device': return new Device(); case '#microsoft.graph.deviceAndAppManagementRoleAssignment': return new DeviceAndAppManagementRoleAssignment(); @@ -451,6 +452,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.itemActivityStat': return new ItemActivityStat(); case '#microsoft.graph.itemAnalytics': return new ItemAnalytics(); case '#microsoft.graph.itemAttachment': return new ItemAttachment(); + case '#microsoft.graph.itemRetentionLabel': return new ItemRetentionLabel(); case '#microsoft.graph.landingPage': return new LandingPage(); case '#microsoft.graph.landingPageDetail': return new LandingPageDetail(); case '#microsoft.graph.learningAssignment': return new LearningAssignment(); @@ -540,6 +542,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.onenoteResource': return new OnenoteResource(); case '#microsoft.graph.onenoteSection': return new OnenoteSection(); case '#microsoft.graph.onlineMeeting': return new OnlineMeeting(); + case '#microsoft.graph.onlineMeetingBase': return new OnlineMeetingBase(); case '#microsoft.graph.onPremisesConditionalAccessSettings': return new OnPremisesConditionalAccessSettings(); case '#microsoft.graph.onPremisesDirectorySynchronization': return new OnPremisesDirectorySynchronization(); case '#microsoft.graph.openShift': return new OpenShift(); @@ -851,6 +854,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.userSettings': return new UserSettings(); case '#microsoft.graph.userSignInInsight': return new UserSignInInsight(); case '#microsoft.graph.userTeamwork': return new UserTeamwork(); + case '#microsoft.graph.virtualEvent': return new VirtualEvent(); + case '#microsoft.graph.virtualEventRegistration': return new VirtualEventRegistration(); + case '#microsoft.graph.virtualEventSession': return new VirtualEventSession(); + case '#microsoft.graph.virtualEventsRoot': return new VirtualEventsRoot(); + case '#microsoft.graph.virtualEventWebinar': return new VirtualEventWebinar(); case '#microsoft.graph.voiceAuthenticationMethodConfiguration': return new VoiceAuthenticationMethodConfiguration(); case '#microsoft.graph.vppToken': return new VppToken(); case '#microsoft.graph.webApp': return new WebApp(); diff --git a/src/Generated/Models/ExtensionProperty.php b/src/Generated/Models/ExtensionProperty.php index ba102d7fa57..9bbcd9850f1 100644 --- a/src/Generated/Models/ExtensionProperty.php +++ b/src/Generated/Models/ExtensionProperty.php @@ -74,7 +74,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isMultiValued property value. The isMultiValued property + * Gets the isMultiValued property value. Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of integers. The default value is false. Supports $filter (eq). * @return bool|null */ public function getIsMultiValued(): ?bool { @@ -154,7 +154,7 @@ public function setDataType(?string $value): void { } /** - * Sets the isMultiValued property value. The isMultiValued property + * Sets the isMultiValued property value. Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of integers. The default value is false. Supports $filter (eq). * @param bool|null $value Value to set for the isMultiValued property. */ public function setIsMultiValued(?bool $value): void { diff --git a/src/Generated/Models/InternalDomainFederation.php b/src/Generated/Models/InternalDomainFederation.php index e5ba8e9388d..bc28ebd92ee 100644 --- a/src/Generated/Models/InternalDomainFederation.php +++ b/src/Generated/Models/InternalDomainFederation.php @@ -67,7 +67,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * Gets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed. * @return bool|null */ public function getIsSignedAuthenticationRequestRequired(): ?bool { @@ -79,7 +79,7 @@ public function getIsSignedAuthenticationRequestRequired(): ?bool { } /** - * Gets the nextSigningCertificate property value. Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * Gets the nextSigningCertificate property value. Fallback token signing certificate that can also be used to sign tokens, for example when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. * @return string|null */ public function getNextSigningCertificate(): ?string { @@ -158,7 +158,7 @@ public function setFederatedIdpMfaBehavior(?FederatedIdpMfaBehavior $value): voi } /** - * Sets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * Sets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed. * @param bool|null $value Value to set for the isSignedAuthenticationRequestRequired property. */ public function setIsSignedAuthenticationRequestRequired(?bool $value): void { @@ -166,7 +166,7 @@ public function setIsSignedAuthenticationRequestRequired(?bool $value): void { } /** - * Sets the nextSigningCertificate property value. Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * Sets the nextSigningCertificate property value. Fallback token signing certificate that can also be used to sign tokens, for example when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. * @param string|null $value Value to set for the nextSigningCertificate property. */ public function setNextSigningCertificate(?string $value): void { diff --git a/src/Generated/Models/ItemRetentionLabel.php b/src/Generated/Models/ItemRetentionLabel.php new file mode 100644 index 00000000000..b8bdc5bef82 --- /dev/null +++ b/src/Generated/Models/ItemRetentionLabel.php @@ -0,0 +1,156 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isLabelAppliedExplicitly' => fn(ParseNode $n) => $o->setIsLabelAppliedExplicitly($n->getBooleanValue()), + 'labelAppliedBy' => fn(ParseNode $n) => $o->setLabelAppliedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), + 'labelAppliedDateTime' => fn(ParseNode $n) => $o->setLabelAppliedDateTime($n->getDateTimeValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + 'retentionSettings' => fn(ParseNode $n) => $o->setRetentionSettings($n->getObjectValue([RetentionLabelSettings::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the isLabelAppliedExplicitly property value. Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only. + * @return bool|null + */ + public function getIsLabelAppliedExplicitly(): ?bool { + $val = $this->getBackingStore()->get('isLabelAppliedExplicitly'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isLabelAppliedExplicitly'"); + } + + /** + * Gets the labelAppliedBy property value. Identity of the user who applied the label. Read-only. + * @return IdentitySet|null + */ + public function getLabelAppliedBy(): ?IdentitySet { + $val = $this->getBackingStore()->get('labelAppliedBy'); + if (is_null($val) || $val instanceof IdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'labelAppliedBy'"); + } + + /** + * Gets the labelAppliedDateTime property value. The date and time when the label was applied on the item. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @return DateTime|null + */ + public function getLabelAppliedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('labelAppliedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'labelAppliedDateTime'"); + } + + /** + * Gets the name property value. The retention label on the document. Read-write. + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the retentionSettings property value. The retention settings enforced on the item. Read-write. + * @return RetentionLabelSettings|null + */ + public function getRetentionSettings(): ?RetentionLabelSettings { + $val = $this->getBackingStore()->get('retentionSettings'); + if (is_null($val) || $val instanceof RetentionLabelSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'retentionSettings'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeBooleanValue('isLabelAppliedExplicitly', $this->getIsLabelAppliedExplicitly()); + $writer->writeObjectValue('labelAppliedBy', $this->getLabelAppliedBy()); + $writer->writeDateTimeValue('labelAppliedDateTime', $this->getLabelAppliedDateTime()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeObjectValue('retentionSettings', $this->getRetentionSettings()); + } + + /** + * Sets the isLabelAppliedExplicitly property value. Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only. + * @param bool|null $value Value to set for the isLabelAppliedExplicitly property. + */ + public function setIsLabelAppliedExplicitly(?bool $value): void { + $this->getBackingStore()->set('isLabelAppliedExplicitly', $value); + } + + /** + * Sets the labelAppliedBy property value. Identity of the user who applied the label. Read-only. + * @param IdentitySet|null $value Value to set for the labelAppliedBy property. + */ + public function setLabelAppliedBy(?IdentitySet $value): void { + $this->getBackingStore()->set('labelAppliedBy', $value); + } + + /** + * Sets the labelAppliedDateTime property value. The date and time when the label was applied on the item. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @param DateTime|null $value Value to set for the labelAppliedDateTime property. + */ + public function setLabelAppliedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('labelAppliedDateTime', $value); + } + + /** + * Sets the name property value. The retention label on the document. Read-write. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the retentionSettings property value. The retention settings enforced on the item. Read-write. + * @param RetentionLabelSettings|null $value Value to set for the retentionSettings property. + */ + public function setRetentionSettings(?RetentionLabelSettings $value): void { + $this->getBackingStore()->set('retentionSettings', $value); + } + +} diff --git a/src/Generated/Models/MeetingAudience.php b/src/Generated/Models/MeetingAudience.php new file mode 100644 index 00000000000..b9a833cefa1 --- /dev/null +++ b/src/Generated/Models/MeetingAudience.php @@ -0,0 +1,11 @@ +setOdataType('#microsoft.graph.onlineMeeting'); } /** @@ -27,92 +28,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Onlin return new OnlineMeeting(); } - /** - * Gets the allowAttendeeToEnableCamera property value. Indicates whether attendees can turn on their camera. - * @return bool|null - */ - public function getAllowAttendeeToEnableCamera(): ?bool { - $val = $this->getBackingStore()->get('allowAttendeeToEnableCamera'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'allowAttendeeToEnableCamera'"); - } - - /** - * Gets the allowAttendeeToEnableMic property value. Indicates whether attendees can turn on their microphone. - * @return bool|null - */ - public function getAllowAttendeeToEnableMic(): ?bool { - $val = $this->getBackingStore()->get('allowAttendeeToEnableMic'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'allowAttendeeToEnableMic'"); - } - - /** - * Gets the allowedPresenters property value. Specifies who can be a presenter in a meeting. Possible values are listed in the following table. - * @return OnlineMeetingPresenters|null - */ - public function getAllowedPresenters(): ?OnlineMeetingPresenters { - $val = $this->getBackingStore()->get('allowedPresenters'); - if (is_null($val) || $val instanceof OnlineMeetingPresenters) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'allowedPresenters'"); - } - - /** - * Gets the allowMeetingChat property value. Specifies the mode of meeting chat. - * @return MeetingChatMode|null - */ - public function getAllowMeetingChat(): ?MeetingChatMode { - $val = $this->getBackingStore()->get('allowMeetingChat'); - if (is_null($val) || $val instanceof MeetingChatMode) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'allowMeetingChat'"); - } - - /** - * Gets the allowParticipantsToChangeName property value. Specifies if participants are allowed to rename themselves in an instance of the meeting. - * @return bool|null - */ - public function getAllowParticipantsToChangeName(): ?bool { - $val = $this->getBackingStore()->get('allowParticipantsToChangeName'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'allowParticipantsToChangeName'"); - } - - /** - * Gets the allowTeamworkReactions property value. Indicates whether Teams reactions are enabled for the meeting. - * @return bool|null - */ - public function getAllowTeamworkReactions(): ?bool { - $val = $this->getBackingStore()->get('allowTeamworkReactions'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'allowTeamworkReactions'"); - } - - /** - * Gets the attendanceReports property value. The attendance reports of an online meeting. Read-only. - * @return array|null - */ - public function getAttendanceReports(): ?array { - $val = $this->getBackingStore()->get('attendanceReports'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, MeetingAttendanceReport::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'attendanceReports'"); - } - /** * Gets the attendeeReport property value. The attendeeReport property * @return StreamInterface|null @@ -125,18 +40,6 @@ public function getAttendeeReport(): ?StreamInterface { throw new \UnexpectedValueException("Invalid type found in backing store for 'attendeeReport'"); } - /** - * Gets the audioConferencing property value. The phone access (dial-in) information for an online meeting. Read-only. - * @return AudioConferencing|null - */ - public function getAudioConferencing(): ?AudioConferencing { - $val = $this->getBackingStore()->get('audioConferencing'); - if (is_null($val) || $val instanceof AudioConferencing) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'audioConferencing'"); - } - /** * Gets the broadcastSettings property value. The broadcastSettings property * @return BroadcastMeetingSettings|null @@ -149,18 +52,6 @@ public function getBroadcastSettings(): ?BroadcastMeetingSettings { throw new \UnexpectedValueException("Invalid type found in backing store for 'broadcastSettings'"); } - /** - * Gets the chatInfo property value. The chat information associated with this online meeting. - * @return ChatInfo|null - */ - public function getChatInfo(): ?ChatInfo { - $val = $this->getBackingStore()->get('chatInfo'); - if (is_null($val) || $val instanceof ChatInfo) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'chatInfo'"); - } - /** * Gets the creationDateTime property value. The meeting creation time in UTC. Read-only. * @return DateTime|null @@ -204,35 +95,16 @@ public function getExternalId(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'allowAttendeeToEnableCamera' => fn(ParseNode $n) => $o->setAllowAttendeeToEnableCamera($n->getBooleanValue()), - 'allowAttendeeToEnableMic' => fn(ParseNode $n) => $o->setAllowAttendeeToEnableMic($n->getBooleanValue()), - 'allowedPresenters' => fn(ParseNode $n) => $o->setAllowedPresenters($n->getEnumValue(OnlineMeetingPresenters::class)), - 'allowMeetingChat' => fn(ParseNode $n) => $o->setAllowMeetingChat($n->getEnumValue(MeetingChatMode::class)), - 'allowParticipantsToChangeName' => fn(ParseNode $n) => $o->setAllowParticipantsToChangeName($n->getBooleanValue()), - 'allowTeamworkReactions' => fn(ParseNode $n) => $o->setAllowTeamworkReactions($n->getBooleanValue()), - 'attendanceReports' => fn(ParseNode $n) => $o->setAttendanceReports($n->getCollectionOfObjectValues([MeetingAttendanceReport::class, 'createFromDiscriminatorValue'])), 'attendeeReport' => fn(ParseNode $n) => $o->setAttendeeReport($n->getBinaryContent()), - 'audioConferencing' => fn(ParseNode $n) => $o->setAudioConferencing($n->getObjectValue([AudioConferencing::class, 'createFromDiscriminatorValue'])), 'broadcastSettings' => fn(ParseNode $n) => $o->setBroadcastSettings($n->getObjectValue([BroadcastMeetingSettings::class, 'createFromDiscriminatorValue'])), - 'chatInfo' => fn(ParseNode $n) => $o->setChatInfo($n->getObjectValue([ChatInfo::class, 'createFromDiscriminatorValue'])), 'creationDateTime' => fn(ParseNode $n) => $o->setCreationDateTime($n->getDateTimeValue()), 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getDateTimeValue()), 'externalId' => fn(ParseNode $n) => $o->setExternalId($n->getStringValue()), 'isBroadcast' => fn(ParseNode $n) => $o->setIsBroadcast($n->getBooleanValue()), - 'isEntryExitAnnounced' => fn(ParseNode $n) => $o->setIsEntryExitAnnounced($n->getBooleanValue()), - 'joinInformation' => fn(ParseNode $n) => $o->setJoinInformation($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), - 'joinMeetingIdSettings' => fn(ParseNode $n) => $o->setJoinMeetingIdSettings($n->getObjectValue([JoinMeetingIdSettings::class, 'createFromDiscriminatorValue'])), - 'joinWebUrl' => fn(ParseNode $n) => $o->setJoinWebUrl($n->getStringValue()), - 'lobbyBypassSettings' => fn(ParseNode $n) => $o->setLobbyBypassSettings($n->getObjectValue([LobbyBypassSettings::class, 'createFromDiscriminatorValue'])), 'participants' => fn(ParseNode $n) => $o->setParticipants($n->getObjectValue([MeetingParticipants::class, 'createFromDiscriminatorValue'])), - 'recordAutomatically' => fn(ParseNode $n) => $o->setRecordAutomatically($n->getBooleanValue()), 'recordings' => fn(ParseNode $n) => $o->setRecordings($n->getCollectionOfObjectValues([CallRecording::class, 'createFromDiscriminatorValue'])), - 'shareMeetingChatHistoryDefault' => fn(ParseNode $n) => $o->setShareMeetingChatHistoryDefault($n->getEnumValue(MeetingChatHistoryDefaultMode::class)), 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getDateTimeValue()), - 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), 'transcripts' => fn(ParseNode $n) => $o->setTranscripts($n->getCollectionOfObjectValues([CallTranscript::class, 'createFromDiscriminatorValue'])), - 'videoTeleconferenceId' => fn(ParseNode $n) => $o->setVideoTeleconferenceId($n->getStringValue()), - 'watermarkProtection' => fn(ParseNode $n) => $o->setWatermarkProtection($n->getObjectValue([WatermarkProtectionValues::class, 'createFromDiscriminatorValue'])), ]); } @@ -248,66 +120,6 @@ public function getIsBroadcast(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isBroadcast'"); } - /** - * Gets the isEntryExitAnnounced property value. Indicates whether to announce when callers join or leave. - * @return bool|null - */ - public function getIsEntryExitAnnounced(): ?bool { - $val = $this->getBackingStore()->get('isEntryExitAnnounced'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isEntryExitAnnounced'"); - } - - /** - * Gets the joinInformation property value. The join information in the language and locale variant specified in the Accept-Language request HTTP header. Read-only. - * @return ItemBody|null - */ - public function getJoinInformation(): ?ItemBody { - $val = $this->getBackingStore()->get('joinInformation'); - if (is_null($val) || $val instanceof ItemBody) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'joinInformation'"); - } - - /** - * Gets the joinMeetingIdSettings property value. Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created. - * @return JoinMeetingIdSettings|null - */ - public function getJoinMeetingIdSettings(): ?JoinMeetingIdSettings { - $val = $this->getBackingStore()->get('joinMeetingIdSettings'); - if (is_null($val) || $val instanceof JoinMeetingIdSettings) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'joinMeetingIdSettings'"); - } - - /** - * Gets the joinWebUrl property value. The join URL of the online meeting. Read-only. - * @return string|null - */ - public function getJoinWebUrl(): ?string { - $val = $this->getBackingStore()->get('joinWebUrl'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'joinWebUrl'"); - } - - /** - * Gets the lobbyBypassSettings property value. Specifies which participants can bypass the meeting lobby. - * @return LobbyBypassSettings|null - */ - public function getLobbyBypassSettings(): ?LobbyBypassSettings { - $val = $this->getBackingStore()->get('lobbyBypassSettings'); - if (is_null($val) || $val instanceof LobbyBypassSettings) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lobbyBypassSettings'"); - } - /** * Gets the participants property value. The participants associated with the online meeting. This includes the organizer and the attendees. * @return MeetingParticipants|null @@ -321,19 +133,7 @@ public function getParticipants(): ?MeetingParticipants { } /** - * Gets the recordAutomatically property value. Indicates whether to record the meeting automatically. - * @return bool|null - */ - public function getRecordAutomatically(): ?bool { - $val = $this->getBackingStore()->get('recordAutomatically'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'recordAutomatically'"); - } - - /** - * Gets the recordings property value. The recordings property + * Gets the recordings property value. The recordings of an online meeting. Read-only. * @return array|null */ public function getRecordings(): ?array { @@ -346,18 +146,6 @@ public function getRecordings(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'recordings'"); } - /** - * Gets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. - * @return MeetingChatHistoryDefaultMode|null - */ - public function getShareMeetingChatHistoryDefault(): ?MeetingChatHistoryDefaultMode { - $val = $this->getBackingStore()->get('shareMeetingChatHistoryDefault'); - if (is_null($val) || $val instanceof MeetingChatHistoryDefaultMode) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shareMeetingChatHistoryDefault'"); - } - /** * Gets the startDateTime property value. The meeting start time in UTC. * @return DateTime|null @@ -370,18 +158,6 @@ public function getStartDateTime(): ?DateTime { throw new \UnexpectedValueException("Invalid type found in backing store for 'startDateTime'"); } - /** - * Gets the subject property value. The subject of the online meeting. - * @return string|null - */ - public function getSubject(): ?string { - $val = $this->getBackingStore()->get('subject'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'subject'"); - } - /** * Gets the transcripts property value. The transcripts of an online meeting. Read-only. * @return array|null @@ -396,121 +172,22 @@ public function getTranscripts(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'transcripts'"); } - /** - * Gets the videoTeleconferenceId property value. The video teleconferencing ID. Read-only. - * @return string|null - */ - public function getVideoTeleconferenceId(): ?string { - $val = $this->getBackingStore()->get('videoTeleconferenceId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'videoTeleconferenceId'"); - } - - /** - * Gets the watermarkProtection property value. Specifies whether a watermark should be applied to a content type by the client application. - * @return WatermarkProtectionValues|null - */ - public function getWatermarkProtection(): ?WatermarkProtectionValues { - $val = $this->getBackingStore()->get('watermarkProtection'); - if (is_null($val) || $val instanceof WatermarkProtectionValues) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'watermarkProtection'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeBooleanValue('allowAttendeeToEnableCamera', $this->getAllowAttendeeToEnableCamera()); - $writer->writeBooleanValue('allowAttendeeToEnableMic', $this->getAllowAttendeeToEnableMic()); - $writer->writeEnumValue('allowedPresenters', $this->getAllowedPresenters()); - $writer->writeEnumValue('allowMeetingChat', $this->getAllowMeetingChat()); - $writer->writeBooleanValue('allowParticipantsToChangeName', $this->getAllowParticipantsToChangeName()); - $writer->writeBooleanValue('allowTeamworkReactions', $this->getAllowTeamworkReactions()); - $writer->writeCollectionOfObjectValues('attendanceReports', $this->getAttendanceReports()); $writer->writeBinaryContent('attendeeReport', $this->getAttendeeReport()); - $writer->writeObjectValue('audioConferencing', $this->getAudioConferencing()); $writer->writeObjectValue('broadcastSettings', $this->getBroadcastSettings()); - $writer->writeObjectValue('chatInfo', $this->getChatInfo()); $writer->writeDateTimeValue('creationDateTime', $this->getCreationDateTime()); $writer->writeDateTimeValue('endDateTime', $this->getEndDateTime()); $writer->writeStringValue('externalId', $this->getExternalId()); $writer->writeBooleanValue('isBroadcast', $this->getIsBroadcast()); - $writer->writeBooleanValue('isEntryExitAnnounced', $this->getIsEntryExitAnnounced()); - $writer->writeObjectValue('joinInformation', $this->getJoinInformation()); - $writer->writeObjectValue('joinMeetingIdSettings', $this->getJoinMeetingIdSettings()); - $writer->writeStringValue('joinWebUrl', $this->getJoinWebUrl()); - $writer->writeObjectValue('lobbyBypassSettings', $this->getLobbyBypassSettings()); $writer->writeObjectValue('participants', $this->getParticipants()); - $writer->writeBooleanValue('recordAutomatically', $this->getRecordAutomatically()); $writer->writeCollectionOfObjectValues('recordings', $this->getRecordings()); - $writer->writeEnumValue('shareMeetingChatHistoryDefault', $this->getShareMeetingChatHistoryDefault()); $writer->writeDateTimeValue('startDateTime', $this->getStartDateTime()); - $writer->writeStringValue('subject', $this->getSubject()); $writer->writeCollectionOfObjectValues('transcripts', $this->getTranscripts()); - $writer->writeStringValue('videoTeleconferenceId', $this->getVideoTeleconferenceId()); - $writer->writeObjectValue('watermarkProtection', $this->getWatermarkProtection()); - } - - /** - * Sets the allowAttendeeToEnableCamera property value. Indicates whether attendees can turn on their camera. - * @param bool|null $value Value to set for the allowAttendeeToEnableCamera property. - */ - public function setAllowAttendeeToEnableCamera(?bool $value): void { - $this->getBackingStore()->set('allowAttendeeToEnableCamera', $value); - } - - /** - * Sets the allowAttendeeToEnableMic property value. Indicates whether attendees can turn on their microphone. - * @param bool|null $value Value to set for the allowAttendeeToEnableMic property. - */ - public function setAllowAttendeeToEnableMic(?bool $value): void { - $this->getBackingStore()->set('allowAttendeeToEnableMic', $value); - } - - /** - * Sets the allowedPresenters property value. Specifies who can be a presenter in a meeting. Possible values are listed in the following table. - * @param OnlineMeetingPresenters|null $value Value to set for the allowedPresenters property. - */ - public function setAllowedPresenters(?OnlineMeetingPresenters $value): void { - $this->getBackingStore()->set('allowedPresenters', $value); - } - - /** - * Sets the allowMeetingChat property value. Specifies the mode of meeting chat. - * @param MeetingChatMode|null $value Value to set for the allowMeetingChat property. - */ - public function setAllowMeetingChat(?MeetingChatMode $value): void { - $this->getBackingStore()->set('allowMeetingChat', $value); - } - - /** - * Sets the allowParticipantsToChangeName property value. Specifies if participants are allowed to rename themselves in an instance of the meeting. - * @param bool|null $value Value to set for the allowParticipantsToChangeName property. - */ - public function setAllowParticipantsToChangeName(?bool $value): void { - $this->getBackingStore()->set('allowParticipantsToChangeName', $value); - } - - /** - * Sets the allowTeamworkReactions property value. Indicates whether Teams reactions are enabled for the meeting. - * @param bool|null $value Value to set for the allowTeamworkReactions property. - */ - public function setAllowTeamworkReactions(?bool $value): void { - $this->getBackingStore()->set('allowTeamworkReactions', $value); - } - - /** - * Sets the attendanceReports property value. The attendance reports of an online meeting. Read-only. - * @param array|null $value Value to set for the attendanceReports property. - */ - public function setAttendanceReports(?array $value): void { - $this->getBackingStore()->set('attendanceReports', $value); } /** @@ -521,14 +198,6 @@ public function setAttendeeReport(?StreamInterface $value): void { $this->getBackingStore()->set('attendeeReport', $value); } - /** - * Sets the audioConferencing property value. The phone access (dial-in) information for an online meeting. Read-only. - * @param AudioConferencing|null $value Value to set for the audioConferencing property. - */ - public function setAudioConferencing(?AudioConferencing $value): void { - $this->getBackingStore()->set('audioConferencing', $value); - } - /** * Sets the broadcastSettings property value. The broadcastSettings property * @param BroadcastMeetingSettings|null $value Value to set for the broadcastSettings property. @@ -537,14 +206,6 @@ public function setBroadcastSettings(?BroadcastMeetingSettings $value): void { $this->getBackingStore()->set('broadcastSettings', $value); } - /** - * Sets the chatInfo property value. The chat information associated with this online meeting. - * @param ChatInfo|null $value Value to set for the chatInfo property. - */ - public function setChatInfo(?ChatInfo $value): void { - $this->getBackingStore()->set('chatInfo', $value); - } - /** * Sets the creationDateTime property value. The meeting creation time in UTC. Read-only. * @param DateTime|null $value Value to set for the creationDateTime property. @@ -577,46 +238,6 @@ public function setIsBroadcast(?bool $value): void { $this->getBackingStore()->set('isBroadcast', $value); } - /** - * Sets the isEntryExitAnnounced property value. Indicates whether to announce when callers join or leave. - * @param bool|null $value Value to set for the isEntryExitAnnounced property. - */ - public function setIsEntryExitAnnounced(?bool $value): void { - $this->getBackingStore()->set('isEntryExitAnnounced', $value); - } - - /** - * Sets the joinInformation property value. The join information in the language and locale variant specified in the Accept-Language request HTTP header. Read-only. - * @param ItemBody|null $value Value to set for the joinInformation property. - */ - public function setJoinInformation(?ItemBody $value): void { - $this->getBackingStore()->set('joinInformation', $value); - } - - /** - * Sets the joinMeetingIdSettings property value. Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created. - * @param JoinMeetingIdSettings|null $value Value to set for the joinMeetingIdSettings property. - */ - public function setJoinMeetingIdSettings(?JoinMeetingIdSettings $value): void { - $this->getBackingStore()->set('joinMeetingIdSettings', $value); - } - - /** - * Sets the joinWebUrl property value. The join URL of the online meeting. Read-only. - * @param string|null $value Value to set for the joinWebUrl property. - */ - public function setJoinWebUrl(?string $value): void { - $this->getBackingStore()->set('joinWebUrl', $value); - } - - /** - * Sets the lobbyBypassSettings property value. Specifies which participants can bypass the meeting lobby. - * @param LobbyBypassSettings|null $value Value to set for the lobbyBypassSettings property. - */ - public function setLobbyBypassSettings(?LobbyBypassSettings $value): void { - $this->getBackingStore()->set('lobbyBypassSettings', $value); - } - /** * Sets the participants property value. The participants associated with the online meeting. This includes the organizer and the attendees. * @param MeetingParticipants|null $value Value to set for the participants property. @@ -626,29 +247,13 @@ public function setParticipants(?MeetingParticipants $value): void { } /** - * Sets the recordAutomatically property value. Indicates whether to record the meeting automatically. - * @param bool|null $value Value to set for the recordAutomatically property. - */ - public function setRecordAutomatically(?bool $value): void { - $this->getBackingStore()->set('recordAutomatically', $value); - } - - /** - * Sets the recordings property value. The recordings property + * Sets the recordings property value. The recordings of an online meeting. Read-only. * @param array|null $value Value to set for the recordings property. */ public function setRecordings(?array $value): void { $this->getBackingStore()->set('recordings', $value); } - /** - * Sets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. - * @param MeetingChatHistoryDefaultMode|null $value Value to set for the shareMeetingChatHistoryDefault property. - */ - public function setShareMeetingChatHistoryDefault(?MeetingChatHistoryDefaultMode $value): void { - $this->getBackingStore()->set('shareMeetingChatHistoryDefault', $value); - } - /** * Sets the startDateTime property value. The meeting start time in UTC. * @param DateTime|null $value Value to set for the startDateTime property. @@ -657,14 +262,6 @@ public function setStartDateTime(?DateTime $value): void { $this->getBackingStore()->set('startDateTime', $value); } - /** - * Sets the subject property value. The subject of the online meeting. - * @param string|null $value Value to set for the subject property. - */ - public function setSubject(?string $value): void { - $this->getBackingStore()->set('subject', $value); - } - /** * Sets the transcripts property value. The transcripts of an online meeting. Read-only. * @param array|null $value Value to set for the transcripts property. @@ -673,20 +270,4 @@ public function setTranscripts(?array $value): void { $this->getBackingStore()->set('transcripts', $value); } - /** - * Sets the videoTeleconferenceId property value. The video teleconferencing ID. Read-only. - * @param string|null $value Value to set for the videoTeleconferenceId property. - */ - public function setVideoTeleconferenceId(?string $value): void { - $this->getBackingStore()->set('videoTeleconferenceId', $value); - } - - /** - * Sets the watermarkProtection property value. Specifies whether a watermark should be applied to a content type by the client application. - * @param WatermarkProtectionValues|null $value Value to set for the watermarkProtection property. - */ - public function setWatermarkProtection(?WatermarkProtectionValues $value): void { - $this->getBackingStore()->set('watermarkProtection', $value); - } - } diff --git a/src/Generated/Models/OnlineMeetingBase.php b/src/Generated/Models/OnlineMeetingBase.php new file mode 100644 index 00000000000..15737c6e0d3 --- /dev/null +++ b/src/Generated/Models/OnlineMeetingBase.php @@ -0,0 +1,474 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.onlineMeeting': return new OnlineMeeting(); + case '#microsoft.graph.virtualEventSession': return new VirtualEventSession(); + } + } + return new OnlineMeetingBase(); + } + + /** + * Gets the allowAttendeeToEnableCamera property value. The allowAttendeeToEnableCamera property + * @return bool|null + */ + public function getAllowAttendeeToEnableCamera(): ?bool { + $val = $this->getBackingStore()->get('allowAttendeeToEnableCamera'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowAttendeeToEnableCamera'"); + } + + /** + * Gets the allowAttendeeToEnableMic property value. The allowAttendeeToEnableMic property + * @return bool|null + */ + public function getAllowAttendeeToEnableMic(): ?bool { + $val = $this->getBackingStore()->get('allowAttendeeToEnableMic'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowAttendeeToEnableMic'"); + } + + /** + * Gets the allowedPresenters property value. The allowedPresenters property + * @return OnlineMeetingPresenters|null + */ + public function getAllowedPresenters(): ?OnlineMeetingPresenters { + $val = $this->getBackingStore()->get('allowedPresenters'); + if (is_null($val) || $val instanceof OnlineMeetingPresenters) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowedPresenters'"); + } + + /** + * Gets the allowMeetingChat property value. The allowMeetingChat property + * @return MeetingChatMode|null + */ + public function getAllowMeetingChat(): ?MeetingChatMode { + $val = $this->getBackingStore()->get('allowMeetingChat'); + if (is_null($val) || $val instanceof MeetingChatMode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowMeetingChat'"); + } + + /** + * Gets the allowParticipantsToChangeName property value. The allowParticipantsToChangeName property + * @return bool|null + */ + public function getAllowParticipantsToChangeName(): ?bool { + $val = $this->getBackingStore()->get('allowParticipantsToChangeName'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowParticipantsToChangeName'"); + } + + /** + * Gets the allowTeamworkReactions property value. The allowTeamworkReactions property + * @return bool|null + */ + public function getAllowTeamworkReactions(): ?bool { + $val = $this->getBackingStore()->get('allowTeamworkReactions'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowTeamworkReactions'"); + } + + /** + * Gets the attendanceReports property value. The attendanceReports property + * @return array|null + */ + public function getAttendanceReports(): ?array { + $val = $this->getBackingStore()->get('attendanceReports'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MeetingAttendanceReport::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attendanceReports'"); + } + + /** + * Gets the audioConferencing property value. The audioConferencing property + * @return AudioConferencing|null + */ + public function getAudioConferencing(): ?AudioConferencing { + $val = $this->getBackingStore()->get('audioConferencing'); + if (is_null($val) || $val instanceof AudioConferencing) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'audioConferencing'"); + } + + /** + * Gets the chatInfo property value. The chatInfo property + * @return ChatInfo|null + */ + public function getChatInfo(): ?ChatInfo { + $val = $this->getBackingStore()->get('chatInfo'); + if (is_null($val) || $val instanceof ChatInfo) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'chatInfo'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allowAttendeeToEnableCamera' => fn(ParseNode $n) => $o->setAllowAttendeeToEnableCamera($n->getBooleanValue()), + 'allowAttendeeToEnableMic' => fn(ParseNode $n) => $o->setAllowAttendeeToEnableMic($n->getBooleanValue()), + 'allowedPresenters' => fn(ParseNode $n) => $o->setAllowedPresenters($n->getEnumValue(OnlineMeetingPresenters::class)), + 'allowMeetingChat' => fn(ParseNode $n) => $o->setAllowMeetingChat($n->getEnumValue(MeetingChatMode::class)), + 'allowParticipantsToChangeName' => fn(ParseNode $n) => $o->setAllowParticipantsToChangeName($n->getBooleanValue()), + 'allowTeamworkReactions' => fn(ParseNode $n) => $o->setAllowTeamworkReactions($n->getBooleanValue()), + 'attendanceReports' => fn(ParseNode $n) => $o->setAttendanceReports($n->getCollectionOfObjectValues([MeetingAttendanceReport::class, 'createFromDiscriminatorValue'])), + 'audioConferencing' => fn(ParseNode $n) => $o->setAudioConferencing($n->getObjectValue([AudioConferencing::class, 'createFromDiscriminatorValue'])), + 'chatInfo' => fn(ParseNode $n) => $o->setChatInfo($n->getObjectValue([ChatInfo::class, 'createFromDiscriminatorValue'])), + 'isEntryExitAnnounced' => fn(ParseNode $n) => $o->setIsEntryExitAnnounced($n->getBooleanValue()), + 'joinInformation' => fn(ParseNode $n) => $o->setJoinInformation($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + 'joinMeetingIdSettings' => fn(ParseNode $n) => $o->setJoinMeetingIdSettings($n->getObjectValue([JoinMeetingIdSettings::class, 'createFromDiscriminatorValue'])), + 'joinWebUrl' => fn(ParseNode $n) => $o->setJoinWebUrl($n->getStringValue()), + 'lobbyBypassSettings' => fn(ParseNode $n) => $o->setLobbyBypassSettings($n->getObjectValue([LobbyBypassSettings::class, 'createFromDiscriminatorValue'])), + 'recordAutomatically' => fn(ParseNode $n) => $o->setRecordAutomatically($n->getBooleanValue()), + 'shareMeetingChatHistoryDefault' => fn(ParseNode $n) => $o->setShareMeetingChatHistoryDefault($n->getEnumValue(MeetingChatHistoryDefaultMode::class)), + 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), + 'videoTeleconferenceId' => fn(ParseNode $n) => $o->setVideoTeleconferenceId($n->getStringValue()), + 'watermarkProtection' => fn(ParseNode $n) => $o->setWatermarkProtection($n->getObjectValue([WatermarkProtectionValues::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the isEntryExitAnnounced property value. The isEntryExitAnnounced property + * @return bool|null + */ + public function getIsEntryExitAnnounced(): ?bool { + $val = $this->getBackingStore()->get('isEntryExitAnnounced'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEntryExitAnnounced'"); + } + + /** + * Gets the joinInformation property value. The joinInformation property + * @return ItemBody|null + */ + public function getJoinInformation(): ?ItemBody { + $val = $this->getBackingStore()->get('joinInformation'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'joinInformation'"); + } + + /** + * Gets the joinMeetingIdSettings property value. The joinMeetingIdSettings property + * @return JoinMeetingIdSettings|null + */ + public function getJoinMeetingIdSettings(): ?JoinMeetingIdSettings { + $val = $this->getBackingStore()->get('joinMeetingIdSettings'); + if (is_null($val) || $val instanceof JoinMeetingIdSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'joinMeetingIdSettings'"); + } + + /** + * Gets the joinWebUrl property value. The joinWebUrl property + * @return string|null + */ + public function getJoinWebUrl(): ?string { + $val = $this->getBackingStore()->get('joinWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'joinWebUrl'"); + } + + /** + * Gets the lobbyBypassSettings property value. The lobbyBypassSettings property + * @return LobbyBypassSettings|null + */ + public function getLobbyBypassSettings(): ?LobbyBypassSettings { + $val = $this->getBackingStore()->get('lobbyBypassSettings'); + if (is_null($val) || $val instanceof LobbyBypassSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lobbyBypassSettings'"); + } + + /** + * Gets the recordAutomatically property value. The recordAutomatically property + * @return bool|null + */ + public function getRecordAutomatically(): ?bool { + $val = $this->getBackingStore()->get('recordAutomatically'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recordAutomatically'"); + } + + /** + * Gets the shareMeetingChatHistoryDefault property value. The shareMeetingChatHistoryDefault property + * @return MeetingChatHistoryDefaultMode|null + */ + public function getShareMeetingChatHistoryDefault(): ?MeetingChatHistoryDefaultMode { + $val = $this->getBackingStore()->get('shareMeetingChatHistoryDefault'); + if (is_null($val) || $val instanceof MeetingChatHistoryDefaultMode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'shareMeetingChatHistoryDefault'"); + } + + /** + * Gets the subject property value. The subject property + * @return string|null + */ + public function getSubject(): ?string { + $val = $this->getBackingStore()->get('subject'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subject'"); + } + + /** + * Gets the videoTeleconferenceId property value. The videoTeleconferenceId property + * @return string|null + */ + public function getVideoTeleconferenceId(): ?string { + $val = $this->getBackingStore()->get('videoTeleconferenceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'videoTeleconferenceId'"); + } + + /** + * Gets the watermarkProtection property value. The watermarkProtection property + * @return WatermarkProtectionValues|null + */ + public function getWatermarkProtection(): ?WatermarkProtectionValues { + $val = $this->getBackingStore()->get('watermarkProtection'); + if (is_null($val) || $val instanceof WatermarkProtectionValues) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'watermarkProtection'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeBooleanValue('allowAttendeeToEnableCamera', $this->getAllowAttendeeToEnableCamera()); + $writer->writeBooleanValue('allowAttendeeToEnableMic', $this->getAllowAttendeeToEnableMic()); + $writer->writeEnumValue('allowedPresenters', $this->getAllowedPresenters()); + $writer->writeEnumValue('allowMeetingChat', $this->getAllowMeetingChat()); + $writer->writeBooleanValue('allowParticipantsToChangeName', $this->getAllowParticipantsToChangeName()); + $writer->writeBooleanValue('allowTeamworkReactions', $this->getAllowTeamworkReactions()); + $writer->writeCollectionOfObjectValues('attendanceReports', $this->getAttendanceReports()); + $writer->writeObjectValue('audioConferencing', $this->getAudioConferencing()); + $writer->writeObjectValue('chatInfo', $this->getChatInfo()); + $writer->writeBooleanValue('isEntryExitAnnounced', $this->getIsEntryExitAnnounced()); + $writer->writeObjectValue('joinInformation', $this->getJoinInformation()); + $writer->writeObjectValue('joinMeetingIdSettings', $this->getJoinMeetingIdSettings()); + $writer->writeStringValue('joinWebUrl', $this->getJoinWebUrl()); + $writer->writeObjectValue('lobbyBypassSettings', $this->getLobbyBypassSettings()); + $writer->writeBooleanValue('recordAutomatically', $this->getRecordAutomatically()); + $writer->writeEnumValue('shareMeetingChatHistoryDefault', $this->getShareMeetingChatHistoryDefault()); + $writer->writeStringValue('subject', $this->getSubject()); + $writer->writeStringValue('videoTeleconferenceId', $this->getVideoTeleconferenceId()); + $writer->writeObjectValue('watermarkProtection', $this->getWatermarkProtection()); + } + + /** + * Sets the allowAttendeeToEnableCamera property value. The allowAttendeeToEnableCamera property + * @param bool|null $value Value to set for the allowAttendeeToEnableCamera property. + */ + public function setAllowAttendeeToEnableCamera(?bool $value): void { + $this->getBackingStore()->set('allowAttendeeToEnableCamera', $value); + } + + /** + * Sets the allowAttendeeToEnableMic property value. The allowAttendeeToEnableMic property + * @param bool|null $value Value to set for the allowAttendeeToEnableMic property. + */ + public function setAllowAttendeeToEnableMic(?bool $value): void { + $this->getBackingStore()->set('allowAttendeeToEnableMic', $value); + } + + /** + * Sets the allowedPresenters property value. The allowedPresenters property + * @param OnlineMeetingPresenters|null $value Value to set for the allowedPresenters property. + */ + public function setAllowedPresenters(?OnlineMeetingPresenters $value): void { + $this->getBackingStore()->set('allowedPresenters', $value); + } + + /** + * Sets the allowMeetingChat property value. The allowMeetingChat property + * @param MeetingChatMode|null $value Value to set for the allowMeetingChat property. + */ + public function setAllowMeetingChat(?MeetingChatMode $value): void { + $this->getBackingStore()->set('allowMeetingChat', $value); + } + + /** + * Sets the allowParticipantsToChangeName property value. The allowParticipantsToChangeName property + * @param bool|null $value Value to set for the allowParticipantsToChangeName property. + */ + public function setAllowParticipantsToChangeName(?bool $value): void { + $this->getBackingStore()->set('allowParticipantsToChangeName', $value); + } + + /** + * Sets the allowTeamworkReactions property value. The allowTeamworkReactions property + * @param bool|null $value Value to set for the allowTeamworkReactions property. + */ + public function setAllowTeamworkReactions(?bool $value): void { + $this->getBackingStore()->set('allowTeamworkReactions', $value); + } + + /** + * Sets the attendanceReports property value. The attendanceReports property + * @param array|null $value Value to set for the attendanceReports property. + */ + public function setAttendanceReports(?array $value): void { + $this->getBackingStore()->set('attendanceReports', $value); + } + + /** + * Sets the audioConferencing property value. The audioConferencing property + * @param AudioConferencing|null $value Value to set for the audioConferencing property. + */ + public function setAudioConferencing(?AudioConferencing $value): void { + $this->getBackingStore()->set('audioConferencing', $value); + } + + /** + * Sets the chatInfo property value. The chatInfo property + * @param ChatInfo|null $value Value to set for the chatInfo property. + */ + public function setChatInfo(?ChatInfo $value): void { + $this->getBackingStore()->set('chatInfo', $value); + } + + /** + * Sets the isEntryExitAnnounced property value. The isEntryExitAnnounced property + * @param bool|null $value Value to set for the isEntryExitAnnounced property. + */ + public function setIsEntryExitAnnounced(?bool $value): void { + $this->getBackingStore()->set('isEntryExitAnnounced', $value); + } + + /** + * Sets the joinInformation property value. The joinInformation property + * @param ItemBody|null $value Value to set for the joinInformation property. + */ + public function setJoinInformation(?ItemBody $value): void { + $this->getBackingStore()->set('joinInformation', $value); + } + + /** + * Sets the joinMeetingIdSettings property value. The joinMeetingIdSettings property + * @param JoinMeetingIdSettings|null $value Value to set for the joinMeetingIdSettings property. + */ + public function setJoinMeetingIdSettings(?JoinMeetingIdSettings $value): void { + $this->getBackingStore()->set('joinMeetingIdSettings', $value); + } + + /** + * Sets the joinWebUrl property value. The joinWebUrl property + * @param string|null $value Value to set for the joinWebUrl property. + */ + public function setJoinWebUrl(?string $value): void { + $this->getBackingStore()->set('joinWebUrl', $value); + } + + /** + * Sets the lobbyBypassSettings property value. The lobbyBypassSettings property + * @param LobbyBypassSettings|null $value Value to set for the lobbyBypassSettings property. + */ + public function setLobbyBypassSettings(?LobbyBypassSettings $value): void { + $this->getBackingStore()->set('lobbyBypassSettings', $value); + } + + /** + * Sets the recordAutomatically property value. The recordAutomatically property + * @param bool|null $value Value to set for the recordAutomatically property. + */ + public function setRecordAutomatically(?bool $value): void { + $this->getBackingStore()->set('recordAutomatically', $value); + } + + /** + * Sets the shareMeetingChatHistoryDefault property value. The shareMeetingChatHistoryDefault property + * @param MeetingChatHistoryDefaultMode|null $value Value to set for the shareMeetingChatHistoryDefault property. + */ + public function setShareMeetingChatHistoryDefault(?MeetingChatHistoryDefaultMode $value): void { + $this->getBackingStore()->set('shareMeetingChatHistoryDefault', $value); + } + + /** + * Sets the subject property value. The subject property + * @param string|null $value Value to set for the subject property. + */ + public function setSubject(?string $value): void { + $this->getBackingStore()->set('subject', $value); + } + + /** + * Sets the videoTeleconferenceId property value. The videoTeleconferenceId property + * @param string|null $value Value to set for the videoTeleconferenceId property. + */ + public function setVideoTeleconferenceId(?string $value): void { + $this->getBackingStore()->set('videoTeleconferenceId', $value); + } + + /** + * Sets the watermarkProtection property value. The watermarkProtection property + * @param WatermarkProtectionValues|null $value Value to set for the watermarkProtection property. + */ + public function setWatermarkProtection(?WatermarkProtectionValues $value): void { + $this->getBackingStore()->set('watermarkProtection', $value); + } + +} diff --git a/src/Generated/Models/Participant.php b/src/Generated/Models/Participant.php index efcc1dc1f70..e9b617cf23f 100644 --- a/src/Generated/Models/Participant.php +++ b/src/Generated/Models/Participant.php @@ -38,7 +38,9 @@ public function getFieldDeserializers(): array { 'mediaStreams' => fn(ParseNode $n) => $o->setMediaStreams($n->getCollectionOfObjectValues([MediaStream::class, 'createFromDiscriminatorValue'])), 'metadata' => fn(ParseNode $n) => $o->setMetadata($n->getStringValue()), 'recordingInfo' => fn(ParseNode $n) => $o->setRecordingInfo($n->getObjectValue([RecordingInfo::class, 'createFromDiscriminatorValue'])), + 'removedState' => fn(ParseNode $n) => $o->setRemovedState($n->getObjectValue([RemovedState::class, 'createFromDiscriminatorValue'])), 'restrictedExperience' => fn(ParseNode $n) => $o->setRestrictedExperience($n->getObjectValue([OnlineMeetingRestricted::class, 'createFromDiscriminatorValue'])), + 'rosterSequenceNumber' => fn(ParseNode $n) => $o->setRosterSequenceNumber($n->getIntegerValue()), ]); } @@ -116,6 +118,18 @@ public function getRecordingInfo(): ?RecordingInfo { throw new \UnexpectedValueException("Invalid type found in backing store for 'recordingInfo'"); } + /** + * Gets the removedState property value. The removedState property + * @return RemovedState|null + */ + public function getRemovedState(): ?RemovedState { + $val = $this->getBackingStore()->get('removedState'); + if (is_null($val) || $val instanceof RemovedState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'removedState'"); + } + /** * Gets the restrictedExperience property value. Indicates the reason or reasons media content from this participant is restricted. * @return OnlineMeetingRestricted|null @@ -128,6 +142,18 @@ public function getRestrictedExperience(): ?OnlineMeetingRestricted { throw new \UnexpectedValueException("Invalid type found in backing store for 'restrictedExperience'"); } + /** + * Gets the rosterSequenceNumber property value. The rosterSequenceNumber property + * @return int|null + */ + public function getRosterSequenceNumber(): ?int { + $val = $this->getBackingStore()->get('rosterSequenceNumber'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'rosterSequenceNumber'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -140,7 +166,9 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('mediaStreams', $this->getMediaStreams()); $writer->writeStringValue('metadata', $this->getMetadata()); $writer->writeObjectValue('recordingInfo', $this->getRecordingInfo()); + $writer->writeObjectValue('removedState', $this->getRemovedState()); $writer->writeObjectValue('restrictedExperience', $this->getRestrictedExperience()); + $writer->writeIntegerValue('rosterSequenceNumber', $this->getRosterSequenceNumber()); } /** @@ -191,6 +219,14 @@ public function setRecordingInfo(?RecordingInfo $value): void { $this->getBackingStore()->set('recordingInfo', $value); } + /** + * Sets the removedState property value. The removedState property + * @param RemovedState|null $value Value to set for the removedState property. + */ + public function setRemovedState(?RemovedState $value): void { + $this->getBackingStore()->set('removedState', $value); + } + /** * Sets the restrictedExperience property value. Indicates the reason or reasons media content from this participant is restricted. * @param OnlineMeetingRestricted|null $value Value to set for the restrictedExperience property. @@ -199,4 +235,12 @@ public function setRestrictedExperience(?OnlineMeetingRestricted $value): void { $this->getBackingStore()->set('restrictedExperience', $value); } + /** + * Sets the rosterSequenceNumber property value. The rosterSequenceNumber property + * @param int|null $value Value to set for the rosterSequenceNumber property. + */ + public function setRosterSequenceNumber(?int $value): void { + $this->getBackingStore()->set('rosterSequenceNumber', $value); + } + } diff --git a/src/Generated/Models/RemovedState.php b/src/Generated/Models/RemovedState.php new file mode 100644 index 00000000000..a7a532f5c6b --- /dev/null +++ b/src/Generated/Models/RemovedState.php @@ -0,0 +1,136 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RemovedState + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovedState { + return new RemovedState(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'reason' => fn(ParseNode $n) => $o->setReason($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the reason property value. The reason property + * @return string|null + */ + public function getReason(): ?string { + $val = $this->getBackingStore()->get('reason'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reason'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('reason', $this->getReason()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the reason property value. The reason property + * @param string|null $value Value to set for the reason property. + */ + public function setReason(?string $value): void { + $this->getBackingStore()->set('reason', $value); + } + +} diff --git a/src/Generated/Models/RetentionLabelSettings.php b/src/Generated/Models/RetentionLabelSettings.php new file mode 100644 index 00000000000..c3e61e2ec17 --- /dev/null +++ b/src/Generated/Models/RetentionLabelSettings.php @@ -0,0 +1,247 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RetentionLabelSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RetentionLabelSettings { + return new RetentionLabelSettings(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the behaviorDuringRetentionPeriod property value. Describes the item behavior during retention period. Possible values are: doNotRetain, retain, retainAsRecord, retainAsRegulatoryRecord, unknownFutureValue. Read-only. + * @return BehaviorDuringRetentionPeriod|null + */ + public function getBehaviorDuringRetentionPeriod(): ?BehaviorDuringRetentionPeriod { + $val = $this->getBackingStore()->get('behaviorDuringRetentionPeriod'); + if (is_null($val) || $val instanceof BehaviorDuringRetentionPeriod) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'behaviorDuringRetentionPeriod'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'behaviorDuringRetentionPeriod' => fn(ParseNode $n) => $o->setBehaviorDuringRetentionPeriod($n->getEnumValue(BehaviorDuringRetentionPeriod::class)), + 'isContentUpdateAllowed' => fn(ParseNode $n) => $o->setIsContentUpdateAllowed($n->getBooleanValue()), + 'isDeleteAllowed' => fn(ParseNode $n) => $o->setIsDeleteAllowed($n->getBooleanValue()), + 'isLabelUpdateAllowed' => fn(ParseNode $n) => $o->setIsLabelUpdateAllowed($n->getBooleanValue()), + 'isMetadataUpdateAllowed' => fn(ParseNode $n) => $o->setIsMetadataUpdateAllowed($n->getBooleanValue()), + 'isRecordLocked' => fn(ParseNode $n) => $o->setIsRecordLocked($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isContentUpdateAllowed property value. Specifies whether updates to document content are allowed. Read-only. + * @return bool|null + */ + public function getIsContentUpdateAllowed(): ?bool { + $val = $this->getBackingStore()->get('isContentUpdateAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isContentUpdateAllowed'"); + } + + /** + * Gets the isDeleteAllowed property value. Specifies whether the document deletion is allowed. Read-only. + * @return bool|null + */ + public function getIsDeleteAllowed(): ?bool { + $val = $this->getBackingStore()->get('isDeleteAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isDeleteAllowed'"); + } + + /** + * Gets the isLabelUpdateAllowed property value. Specifies whether you're allowed to change the retention label on the document. Read-only. + * @return bool|null + */ + public function getIsLabelUpdateAllowed(): ?bool { + $val = $this->getBackingStore()->get('isLabelUpdateAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isLabelUpdateAllowed'"); + } + + /** + * Gets the isMetadataUpdateAllowed property value. Specifies whether updates to the item metadata (for example, the Title field) are blocked. Read-only. + * @return bool|null + */ + public function getIsMetadataUpdateAllowed(): ?bool { + $val = $this->getBackingStore()->get('isMetadataUpdateAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isMetadataUpdateAllowed'"); + } + + /** + * Gets the isRecordLocked property value. Specifies whether the item is locked. Read-write. + * @return bool|null + */ + public function getIsRecordLocked(): ?bool { + $val = $this->getBackingStore()->get('isRecordLocked'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isRecordLocked'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('behaviorDuringRetentionPeriod', $this->getBehaviorDuringRetentionPeriod()); + $writer->writeBooleanValue('isContentUpdateAllowed', $this->getIsContentUpdateAllowed()); + $writer->writeBooleanValue('isDeleteAllowed', $this->getIsDeleteAllowed()); + $writer->writeBooleanValue('isLabelUpdateAllowed', $this->getIsLabelUpdateAllowed()); + $writer->writeBooleanValue('isMetadataUpdateAllowed', $this->getIsMetadataUpdateAllowed()); + $writer->writeBooleanValue('isRecordLocked', $this->getIsRecordLocked()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the behaviorDuringRetentionPeriod property value. Describes the item behavior during retention period. Possible values are: doNotRetain, retain, retainAsRecord, retainAsRegulatoryRecord, unknownFutureValue. Read-only. + * @param BehaviorDuringRetentionPeriod|null $value Value to set for the behaviorDuringRetentionPeriod property. + */ + public function setBehaviorDuringRetentionPeriod(?BehaviorDuringRetentionPeriod $value): void { + $this->getBackingStore()->set('behaviorDuringRetentionPeriod', $value); + } + + /** + * Sets the isContentUpdateAllowed property value. Specifies whether updates to document content are allowed. Read-only. + * @param bool|null $value Value to set for the isContentUpdateAllowed property. + */ + public function setIsContentUpdateAllowed(?bool $value): void { + $this->getBackingStore()->set('isContentUpdateAllowed', $value); + } + + /** + * Sets the isDeleteAllowed property value. Specifies whether the document deletion is allowed. Read-only. + * @param bool|null $value Value to set for the isDeleteAllowed property. + */ + public function setIsDeleteAllowed(?bool $value): void { + $this->getBackingStore()->set('isDeleteAllowed', $value); + } + + /** + * Sets the isLabelUpdateAllowed property value. Specifies whether you're allowed to change the retention label on the document. Read-only. + * @param bool|null $value Value to set for the isLabelUpdateAllowed property. + */ + public function setIsLabelUpdateAllowed(?bool $value): void { + $this->getBackingStore()->set('isLabelUpdateAllowed', $value); + } + + /** + * Sets the isMetadataUpdateAllowed property value. Specifies whether updates to the item metadata (for example, the Title field) are blocked. Read-only. + * @param bool|null $value Value to set for the isMetadataUpdateAllowed property. + */ + public function setIsMetadataUpdateAllowed(?bool $value): void { + $this->getBackingStore()->set('isMetadataUpdateAllowed', $value); + } + + /** + * Sets the isRecordLocked property value. Specifies whether the item is locked. Read-write. + * @param bool|null $value Value to set for the isRecordLocked property. + */ + public function setIsRecordLocked(?bool $value): void { + $this->getBackingStore()->set('isRecordLocked', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/Security/Alert.php b/src/Generated/Models/Security/Alert.php index a2226ebae39..72286436666 100644 --- a/src/Generated/Models/Security/Alert.php +++ b/src/Generated/Models/Security/Alert.php @@ -138,7 +138,7 @@ public function getDescription(): ?string { } /** - * Gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. + * Gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement. * @return DetectionSource|null */ public function getDetectionSource(): ?DetectionSource { @@ -551,7 +551,7 @@ public function setDescription(?string $value): void { } /** - * Sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. + * Sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement. * @param DetectionSource|null $value Value to set for the detectionSource property. */ public function setDetectionSource(?DetectionSource $value): void { diff --git a/src/Generated/Models/Security/BehaviorDuringRetentionPeriod.php b/src/Generated/Models/Security/BehaviorDuringRetentionPeriod.php new file mode 100644 index 00000000000..2888c7a6ace --- /dev/null +++ b/src/Generated/Models/Security/BehaviorDuringRetentionPeriod.php @@ -0,0 +1,13 @@ + fn(ParseNode $n) => $o->setBookingBusinesses($n->getCollectionOfObjectValues([BookingBusiness::class, 'createFromDiscriminatorValue'])), 'bookingCurrencies' => fn(ParseNode $n) => $o->setBookingCurrencies($n->getCollectionOfObjectValues([BookingCurrency::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'virtualEvents' => fn(ParseNode $n) => $o->setVirtualEvents($n->getObjectValue([VirtualEventsRoot::class, 'createFromDiscriminatorValue'])), ]; } @@ -109,6 +110,18 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } + /** + * Gets the virtualEvents property value. The virtualEvents property + * @return VirtualEventsRoot|null + */ + public function getVirtualEvents(): ?VirtualEventsRoot { + $val = $this->getBackingStore()->get('virtualEvents'); + if (is_null($val) || $val instanceof VirtualEventsRoot) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'virtualEvents'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -117,6 +130,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('bookingBusinesses', $this->getBookingBusinesses()); $writer->writeCollectionOfObjectValues('bookingCurrencies', $this->getBookingCurrencies()); $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('virtualEvents', $this->getVirtualEvents()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,4 +174,12 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } + /** + * Sets the virtualEvents property value. The virtualEvents property + * @param VirtualEventsRoot|null $value Value to set for the virtualEvents property. + */ + public function setVirtualEvents(?VirtualEventsRoot $value): void { + $this->getBackingStore()->set('virtualEvents', $value); + } + } diff --git a/src/Generated/Models/UserRegistrationDetails.php b/src/Generated/Models/UserRegistrationDetails.php index 11376aecc71..4da5a35b924 100644 --- a/src/Generated/Models/UserRegistrationDetails.php +++ b/src/Generated/Models/UserRegistrationDetails.php @@ -174,7 +174,7 @@ public function getLastUpdatedDateTime(): ?DateTime { } /** - * Gets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq). + * Gets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, passKeyDeviceBound. Supports $filter (any with eq). * @return array|null */ public function getMethodsRegistered(): ?array { @@ -345,7 +345,7 @@ public function setLastUpdatedDateTime(?DateTime $value): void { } /** - * Sets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq). + * Sets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, passKeyDeviceBound. Supports $filter (any with eq). * @param array|null $value Value to set for the methodsRegistered property. */ public function setMethodsRegistered(?array $value): void { diff --git a/src/Generated/Models/VirtualEvent.php b/src/Generated/Models/VirtualEvent.php new file mode 100644 index 00000000000..46c5d32d731 --- /dev/null +++ b/src/Generated/Models/VirtualEvent.php @@ -0,0 +1,209 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.virtualEventWebinar': return new VirtualEventWebinar(); + } + } + return new VirtualEvent(); + } + + /** + * Gets the createdBy property value. The createdBy property + * @return CommunicationsIdentitySet|null + */ + public function getCreatedBy(): ?CommunicationsIdentitySet { + $val = $this->getBackingStore()->get('createdBy'); + if (is_null($val) || $val instanceof CommunicationsIdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdBy'"); + } + + /** + * Gets the description property value. The description property + * @return ItemBody|null + */ + public function getDescription(): ?ItemBody { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || $val instanceof ItemBody) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * Gets the endDateTime property value. The endDateTime property + * @return DateTimeTimeZone|null + */ + public function getEndDateTime(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('endDateTime'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'endDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdBy' => fn(ParseNode $n) => $o->setCreatedBy($n->getObjectValue([CommunicationsIdentitySet::class, 'createFromDiscriminatorValue'])), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'sessions' => fn(ParseNode $n) => $o->setSessions($n->getCollectionOfObjectValues([VirtualEventSession::class, 'createFromDiscriminatorValue'])), + 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(VirtualEventStatus::class)), + ]); + } + + /** + * Gets the sessions property value. The sessions property + * @return array|null + */ + public function getSessions(): ?array { + $val = $this->getBackingStore()->get('sessions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventSession::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sessions'"); + } + + /** + * Gets the startDateTime property value. The startDateTime property + * @return DateTimeTimeZone|null + */ + public function getStartDateTime(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('startDateTime'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDateTime'"); + } + + /** + * Gets the status property value. The status property + * @return VirtualEventStatus|null + */ + public function getStatus(): ?VirtualEventStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof VirtualEventStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('createdBy', $this->getCreatedBy()); + $writer->writeObjectValue('description', $this->getDescription()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeObjectValue('endDateTime', $this->getEndDateTime()); + $writer->writeCollectionOfObjectValues('sessions', $this->getSessions()); + $writer->writeObjectValue('startDateTime', $this->getStartDateTime()); + $writer->writeEnumValue('status', $this->getStatus()); + } + + /** + * Sets the createdBy property value. The createdBy property + * @param CommunicationsIdentitySet|null $value Value to set for the createdBy property. + */ + public function setCreatedBy(?CommunicationsIdentitySet $value): void { + $this->getBackingStore()->set('createdBy', $value); + } + + /** + * Sets the description property value. The description property + * @param ItemBody|null $value Value to set for the description property. + */ + public function setDescription(?ItemBody $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the endDateTime property value. The endDateTime property + * @param DateTimeTimeZone|null $value Value to set for the endDateTime property. + */ + public function setEndDateTime(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('endDateTime', $value); + } + + /** + * Sets the sessions property value. The sessions property + * @param array|null $value Value to set for the sessions property. + */ + public function setSessions(?array $value): void { + $this->getBackingStore()->set('sessions', $value); + } + + /** + * Sets the startDateTime property value. The startDateTime property + * @param DateTimeTimeZone|null $value Value to set for the startDateTime property. + */ + public function setStartDateTime(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('startDateTime', $value); + } + + /** + * Sets the status property value. The status property + * @param VirtualEventStatus|null $value Value to set for the status property. + */ + public function setStatus(?VirtualEventStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventAttendeeRegistrationStatus.php b/src/Generated/Models/VirtualEventAttendeeRegistrationStatus.php new file mode 100644 index 00000000000..8d276fa5073 --- /dev/null +++ b/src/Generated/Models/VirtualEventAttendeeRegistrationStatus.php @@ -0,0 +1,14 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEvent::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEvent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistration.php b/src/Generated/Models/VirtualEventRegistration.php new file mode 100644 index 00000000000..9565f9a1810 --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistration.php @@ -0,0 +1,225 @@ +getBackingStore()->get('cancelationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cancelationDateTime'"); + } + + /** + * Gets the email property value. The email property + * @return string|null + */ + public function getEmail(): ?string { + $val = $this->getBackingStore()->get('email'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'email'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'cancelationDateTime' => fn(ParseNode $n) => $o->setCancelationDateTime($n->getDateTimeValue()), + 'email' => fn(ParseNode $n) => $o->setEmail($n->getStringValue()), + 'firstName' => fn(ParseNode $n) => $o->setFirstName($n->getStringValue()), + 'lastName' => fn(ParseNode $n) => $o->setLastName($n->getStringValue()), + 'registrationDateTime' => fn(ParseNode $n) => $o->setRegistrationDateTime($n->getDateTimeValue()), + 'registrationQuestionAnswers' => fn(ParseNode $n) => $o->setRegistrationQuestionAnswers($n->getCollectionOfObjectValues([VirtualEventRegistrationQuestionAnswer::class, 'createFromDiscriminatorValue'])), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(VirtualEventAttendeeRegistrationStatus::class)), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]); + } + + /** + * Gets the firstName property value. The firstName property + * @return string|null + */ + public function getFirstName(): ?string { + $val = $this->getBackingStore()->get('firstName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'firstName'"); + } + + /** + * Gets the lastName property value. The lastName property + * @return string|null + */ + public function getLastName(): ?string { + $val = $this->getBackingStore()->get('lastName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastName'"); + } + + /** + * Gets the registrationDateTime property value. The registrationDateTime property + * @return DateTime|null + */ + public function getRegistrationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('registrationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'registrationDateTime'"); + } + + /** + * Gets the registrationQuestionAnswers property value. The registrationQuestionAnswers property + * @return array|null + */ + public function getRegistrationQuestionAnswers(): ?array { + $val = $this->getBackingStore()->get('registrationQuestionAnswers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventRegistrationQuestionAnswer::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'registrationQuestionAnswers'"); + } + + /** + * Gets the status property value. The status property + * @return VirtualEventAttendeeRegistrationStatus|null + */ + public function getStatus(): ?VirtualEventAttendeeRegistrationStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof VirtualEventAttendeeRegistrationStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('cancelationDateTime', $this->getCancelationDateTime()); + $writer->writeStringValue('email', $this->getEmail()); + $writer->writeStringValue('firstName', $this->getFirstName()); + $writer->writeStringValue('lastName', $this->getLastName()); + $writer->writeDateTimeValue('registrationDateTime', $this->getRegistrationDateTime()); + $writer->writeCollectionOfObjectValues('registrationQuestionAnswers', $this->getRegistrationQuestionAnswers()); + $writer->writeEnumValue('status', $this->getStatus()); + $writer->writeStringValue('userId', $this->getUserId()); + } + + /** + * Sets the cancelationDateTime property value. The cancelationDateTime property + * @param DateTime|null $value Value to set for the cancelationDateTime property. + */ + public function setCancelationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('cancelationDateTime', $value); + } + + /** + * Sets the email property value. The email property + * @param string|null $value Value to set for the email property. + */ + public function setEmail(?string $value): void { + $this->getBackingStore()->set('email', $value); + } + + /** + * Sets the firstName property value. The firstName property + * @param string|null $value Value to set for the firstName property. + */ + public function setFirstName(?string $value): void { + $this->getBackingStore()->set('firstName', $value); + } + + /** + * Sets the lastName property value. The lastName property + * @param string|null $value Value to set for the lastName property. + */ + public function setLastName(?string $value): void { + $this->getBackingStore()->set('lastName', $value); + } + + /** + * Sets the registrationDateTime property value. The registrationDateTime property + * @param DateTime|null $value Value to set for the registrationDateTime property. + */ + public function setRegistrationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('registrationDateTime', $value); + } + + /** + * Sets the registrationQuestionAnswers property value. The registrationQuestionAnswers property + * @param array|null $value Value to set for the registrationQuestionAnswers property. + */ + public function setRegistrationQuestionAnswers(?array $value): void { + $this->getBackingStore()->set('registrationQuestionAnswers', $value); + } + + /** + * Sets the status property value. The status property + * @param VirtualEventAttendeeRegistrationStatus|null $value Value to set for the status property. + */ + public function setStatus(?VirtualEventAttendeeRegistrationStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistrationCollectionResponse.php b/src/Generated/Models/VirtualEventRegistrationCollectionResponse.php new file mode 100644 index 00000000000..d56e4195896 --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistrationCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventRegistration::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventRegistration::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistrationQuestionAnswer.php b/src/Generated/Models/VirtualEventRegistrationQuestionAnswer.php new file mode 100644 index 00000000000..957b8ede364 --- /dev/null +++ b/src/Generated/Models/VirtualEventRegistrationQuestionAnswer.php @@ -0,0 +1,234 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return VirtualEventRegistrationQuestionAnswer + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventRegistrationQuestionAnswer { + return new VirtualEventRegistrationQuestionAnswer(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the booleanValue property value. The booleanValue property + * @return bool|null + */ + public function getBooleanValue(): ?bool { + $val = $this->getBackingStore()->get('booleanValue'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'booleanValue'"); + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'booleanValue' => fn(ParseNode $n) => $o->setBooleanValue($n->getBooleanValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'multiChoiceValues' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setMultiChoiceValues($val); + }, + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'questionId' => fn(ParseNode $n) => $o->setQuestionId($n->getStringValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), + ]; + } + + /** + * Gets the multiChoiceValues property value. The multiChoiceValues property + * @return array|null + */ + public function getMultiChoiceValues(): ?array { + $val = $this->getBackingStore()->get('multiChoiceValues'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'multiChoiceValues'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the questionId property value. The questionId property + * @return string|null + */ + public function getQuestionId(): ?string { + $val = $this->getBackingStore()->get('questionId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'questionId'"); + } + + /** + * Gets the value property value. The value property + * @return string|null + */ + public function getValue(): ?string { + $val = $this->getBackingStore()->get('value'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('booleanValue', $this->getBooleanValue()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeCollectionOfPrimitiveValues('multiChoiceValues', $this->getMultiChoiceValues()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('questionId', $this->getQuestionId()); + $writer->writeStringValue('value', $this->getValue()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the booleanValue property value. The booleanValue property + * @param bool|null $value Value to set for the booleanValue property. + */ + public function setBooleanValue(?bool $value): void { + $this->getBackingStore()->set('booleanValue', $value); + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the multiChoiceValues property value. The multiChoiceValues property + * @param array|null $value Value to set for the multiChoiceValues property. + */ + public function setMultiChoiceValues(?array $value): void { + $this->getBackingStore()->set('multiChoiceValues', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the questionId property value. The questionId property + * @param string|null $value Value to set for the questionId property. + */ + public function setQuestionId(?string $value): void { + $this->getBackingStore()->set('questionId', $value); + } + + /** + * Sets the value property value. The value property + * @param string|null $value Value to set for the value property. + */ + public function setValue(?string $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventSession.php b/src/Generated/Models/VirtualEventSession.php new file mode 100644 index 00000000000..cca7d4d4d76 --- /dev/null +++ b/src/Generated/Models/VirtualEventSession.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.virtualEventSession'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return VirtualEventSession + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): VirtualEventSession { + return new VirtualEventSession(); + } + + /** + * Gets the endDateTime property value. The endDateTime property + * @return DateTimeTimeZone|null + */ + public function getEndDateTime(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('endDateTime'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'endDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the startDateTime property value. The startDateTime property + * @return DateTimeTimeZone|null + */ + public function getStartDateTime(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('startDateTime'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('endDateTime', $this->getEndDateTime()); + $writer->writeObjectValue('startDateTime', $this->getStartDateTime()); + } + + /** + * Sets the endDateTime property value. The endDateTime property + * @param DateTimeTimeZone|null $value Value to set for the endDateTime property. + */ + public function setEndDateTime(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('endDateTime', $value); + } + + /** + * Sets the startDateTime property value. The startDateTime property + * @param DateTimeTimeZone|null $value Value to set for the startDateTime property. + */ + public function setStartDateTime(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('startDateTime', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventSessionCollectionResponse.php b/src/Generated/Models/VirtualEventSessionCollectionResponse.php new file mode 100644 index 00000000000..1cfb693a6ba --- /dev/null +++ b/src/Generated/Models/VirtualEventSessionCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventSession::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventSession::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventStatus.php b/src/Generated/Models/VirtualEventStatus.php new file mode 100644 index 00000000000..b501434ac89 --- /dev/null +++ b/src/Generated/Models/VirtualEventStatus.php @@ -0,0 +1,12 @@ +getBackingStore()->get('audience'); + if (is_null($val) || $val instanceof MeetingAudience) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'audience'"); + } + + /** + * Gets the coOrganizers property value. The coOrganizers property + * @return array|null + */ + public function getCoOrganizers(): ?array { + $val = $this->getBackingStore()->get('coOrganizers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CommunicationsUserIdentity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'coOrganizers'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'audience' => fn(ParseNode $n) => $o->setAudience($n->getEnumValue(MeetingAudience::class)), + 'coOrganizers' => fn(ParseNode $n) => $o->setCoOrganizers($n->getCollectionOfObjectValues([CommunicationsUserIdentity::class, 'createFromDiscriminatorValue'])), + 'registrations' => fn(ParseNode $n) => $o->setRegistrations($n->getCollectionOfObjectValues([VirtualEventRegistration::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the registrations property value. The registrations property + * @return array|null + */ + public function getRegistrations(): ?array { + $val = $this->getBackingStore()->get('registrations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventRegistration::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'registrations'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('audience', $this->getAudience()); + $writer->writeCollectionOfObjectValues('coOrganizers', $this->getCoOrganizers()); + $writer->writeCollectionOfObjectValues('registrations', $this->getRegistrations()); + } + + /** + * Sets the audience property value. The audience property + * @param MeetingAudience|null $value Value to set for the audience property. + */ + public function setAudience(?MeetingAudience $value): void { + $this->getBackingStore()->set('audience', $value); + } + + /** + * Sets the coOrganizers property value. The coOrganizers property + * @param array|null $value Value to set for the coOrganizers property. + */ + public function setCoOrganizers(?array $value): void { + $this->getBackingStore()->set('coOrganizers', $value); + } + + /** + * Sets the registrations property value. The registrations property + * @param array|null $value Value to set for the registrations property. + */ + public function setRegistrations(?array $value): void { + $this->getBackingStore()->set('registrations', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventWebinarCollectionResponse.php b/src/Generated/Models/VirtualEventWebinarCollectionResponse.php new file mode 100644 index 00000000000..3f7302d7ebd --- /dev/null +++ b/src/Generated/Models/VirtualEventWebinarCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventWebinar::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventWebinar::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/VirtualEventsRoot.php b/src/Generated/Models/VirtualEventsRoot.php new file mode 100644 index 00000000000..03c6d09529c --- /dev/null +++ b/src/Generated/Models/VirtualEventsRoot.php @@ -0,0 +1,94 @@ +|null + */ + public function getEvents(): ?array { + $val = $this->getBackingStore()->get('events'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEvent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'events'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'events' => fn(ParseNode $n) => $o->setEvents($n->getCollectionOfObjectValues([VirtualEvent::class, 'createFromDiscriminatorValue'])), + 'webinars' => fn(ParseNode $n) => $o->setWebinars($n->getCollectionOfObjectValues([VirtualEventWebinar::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the webinars property value. The webinars property + * @return array|null + */ + public function getWebinars(): ?array { + $val = $this->getBackingStore()->get('webinars'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventWebinar::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'webinars'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('events', $this->getEvents()); + $writer->writeCollectionOfObjectValues('webinars', $this->getWebinars()); + } + + /** + * Sets the events property value. The events property + * @param array|null $value Value to set for the events property. + */ + public function setEvents(?array $value): void { + $this->getBackingStore()->set('events', $value); + } + + /** + * Sets the webinars property value. The webinars property + * @param array|null $value Value to set for the webinars property. + */ + public function setWebinars(?array $value): void { + $this->getBackingStore()->set('webinars', $value); + } + +} diff --git a/src/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.php b/src/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.php index 0302f79b26f..c53a189c2c8 100644 --- a/src/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php b/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php index 073462e47bf..53fb9cbb1a3 100644 --- a/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php +++ b/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. This API is available in the following national cloud deployments. + * Delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. * @param OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?OAuth2PermissionGrantItemRequestBuilderDeleteRequestConf } /** - * Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. This API is available in the following national cloud deployments. + * Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. * @param OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?OAuth2PermissionGrantItemRequestBuilderGetRequestConfigurat } /** - * Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. This API is available in the following national cloud deployments. + * Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. * @param OAuth2PermissionGrant $body The request body * @param OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(OAuth2PermissionGrant $body, ?OAuth2PermissionGrantItemReq } /** - * Delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. This API is available in the following national cloud deployments. + * Delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. * @param OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?OAuth2PermissionGrantItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. This API is available in the following national cloud deployments. + * Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. * @param OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?OAuth2PermissionGrantItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. This API is available in the following national cloud deployments. + * Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. * @param OAuth2PermissionGrant $body The request body * @param OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(OAuth2PermissionGrant $body, ?OAuth2Pe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilderGetQueryParameters.php b/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilderGetQueryParameters.php index 567cfefabde..90ca330ce49 100644 --- a/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. This API is available in the following national cloud deployments. + * Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. */ class OAuth2PermissionGrantItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php b/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php index bb5030a757c..930b53cd1f8 100644 --- a/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php +++ b/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. * @param Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration } /** - * Create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. This API is available in the following national cloud deployments. + * Create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. * @param OAuth2PermissionGrant $body The request body * @param Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(OAuth2PermissionGrant $body, ?Oauth2PermissionGrantsRequest } /** - * Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. * @param Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?Oauth2PermissionGrantsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. This API is available in the following national cloud deployments. + * Create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. * @param OAuth2PermissionGrant $body The request body * @param Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(OAuth2PermissionGrant $body, ?Oauth2Per $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php index d4d4a7be7f3..51bba44bad4 100644 --- a/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. */ class Oauth2PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Delta/DeltaRequestBuilder.php b/src/Generated/Organization/Delta/DeltaRequestBuilder.php index aeb6450bd18..8a23c166845 100644 --- a/src/Generated/Organization/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Organization/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 8cbd4c2127b..224f348706d 100644 --- a/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Organization/GetByIds/GetByIdsRequestBuilder.php index 9a0e2741c8c..00138fe2e00 100644 --- a/src/Generated/Organization/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Organization/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.php b/src/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.php index 37130dba8b4..8fdff8dcdd4 100644 --- a/src/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?BackgroundImageRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.php index d0f268fe6f8..d03c4f92919 100644 --- a/src/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?BannerLogoRequestBuilderGetRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/BrandingRequestBuilder.php b/src/Generated/Organization/Item/Branding/BrandingRequestBuilder.php index 4eaf20cf497..ee56b3e00d7 100644 --- a/src/Generated/Organization/Item/Branding/BrandingRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/BrandingRequestBuilder.php @@ -95,7 +95,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + * Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. * @param BrandingRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -111,7 +111,7 @@ public function delete(?BrandingRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. This API is available in the following national cloud deployments. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. * @param BrandingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function get(?BrandingRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of the default branding object specified by the organizationalBranding resource. This API is available in the following national cloud deployments. + * Update the properties of the default branding object specified by the organizationalBranding resource. * @param OrganizationalBranding $body The request body * @param BrandingRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -144,7 +144,7 @@ public function patch(OrganizationalBranding $body, ?BrandingRequestBuilderPatch } /** - * Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + * Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. * @param BrandingRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -157,12 +157,12 @@ public function toDeleteRequestInformation(?BrandingRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. This API is available in the following national cloud deployments. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. * @param BrandingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -178,12 +178,12 @@ public function toGetRequestInformation(?BrandingRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the default branding object specified by the organizationalBranding resource. This API is available in the following national cloud deployments. + * Update the properties of the default branding object specified by the organizationalBranding resource. * @param OrganizationalBranding $body The request body * @param BrandingRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -197,7 +197,7 @@ public function toPatchRequestInformation(OrganizationalBranding $body, ?Brandin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/BrandingRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/Branding/BrandingRequestBuilderGetQueryParameters.php index e28b8459187..d28e10d16e9 100644 --- a/src/Generated/Organization/Item/Branding/BrandingRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/Branding/BrandingRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. This API is available in the following national cloud deployments. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. */ class BrandingRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php b/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php index 0b1ffb0ab84..d6b8913520b 100644 --- a/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?CustomCSSRequestBuilderGetRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.php b/src/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.php index b58dc87414b..858c77cedb4 100644 --- a/src/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?FaviconRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.php index f26c9d91c92..efc399216d7 100644 --- a/src/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?HeaderLogoRequestBuilderGetRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.php index 42e7f347f91..86430129888 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?BackgroundImageRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index 70ac4be9a81..058489197af 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?BannerLogoRequestBuilderGetRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.php index d876a6739ba..9c309d257d1 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?CustomCSSRequestBuilderGetRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.php index 572e6e6d475..0340f3b2eae 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?FaviconRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.php index 394964e70d0..e2f7e917744 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?HeaderLogoRequestBuilderGetRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.php index 9675cc85665..0a3599c73b5 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.php @@ -87,7 +87,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + * Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. * @param OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function delete(?OrganizationalBrandingLocalizationItemRequestBuilderDele } /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. This API is available in the following national cloud deployments. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function get(?OrganizationalBrandingLocalizationItemRequestBuilderGetRequ } /** - * Update the properties of an organizationalBrandingLocalization object for a specific localization. This API is available in the following national cloud deployments. + * Update the properties of an organizationalBrandingLocalization object for a specific localization. * @param OrganizationalBrandingLocalization $body The request body * @param OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -136,7 +136,7 @@ public function patch(OrganizationalBrandingLocalization $body, ?OrganizationalB } /** - * Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + * Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. * @param OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -149,12 +149,12 @@ public function toDeleteRequestInformation(?OrganizationalBrandingLocalizationIt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. This API is available in the following national cloud deployments. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,12 +170,12 @@ public function toGetRequestInformation(?OrganizationalBrandingLocalizationItemR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an organizationalBrandingLocalization object for a specific localization. This API is available in the following national cloud deployments. + * Update the properties of an organizationalBrandingLocalization object for a specific localization. * @param OrganizationalBrandingLocalization $body The request body * @param OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -189,7 +189,7 @@ public function toPatchRequestInformation(OrganizationalBrandingLocalization $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters.php index da015bb46c8..fe2432a5e16 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. This API is available in the following national cloud deployments. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. */ class OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php index 4ba28123e01..312e737bf2e 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?SquareLogoRequestBuilderGetRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.php index e7fbf9ffeba..47fbf5ae9d6 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?SquareLogoDarkRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.php index ee417b1bcb7..295cc32b64c 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve all localization branding objects, including the default branding. This API is available in the following national cloud deployments. + * Retrieve all localization branding objects, including the default branding. * @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?LocalizationsRequestBuilderGetRequestConfiguration $request } /** - * Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. This API is available in the following national cloud deployments. + * Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. * @param OrganizationalBrandingLocalization $body The request body * @param LocalizationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OrganizationalBrandingLocalization $body, ?LocalizationsReq } /** - * Retrieve all localization branding objects, including the default branding. This API is available in the following national cloud deployments. + * Retrieve all localization branding objects, including the default branding. * @param LocalizationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?LocalizationsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. This API is available in the following national cloud deployments. + * Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. * @param OrganizationalBrandingLocalization $body The request body * @param LocalizationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OrganizationalBrandingLocalization $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilderGetQueryParameters.php index da2165a1097..0ab1ecb6ac6 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve all localization branding objects, including the default branding. This API is available in the following national cloud deployments. + * Retrieve all localization branding objects, including the default branding. */ class LocalizationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php index ce7d6478f24..229c36fa4d5 100644 --- a/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?SquareLogoRequestBuilderGetRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.php b/src/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.php index c50d9ec0003..c04286c184b 100644 --- a/src/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.php @@ -81,7 +81,7 @@ public function toGetRequestInformation(?SquareLogoDarkRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json"); return $requestInfo; } @@ -101,7 +101,7 @@ public function toPutRequestInformation(StreamInterface $body, string $contentTy $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, $contentType); return $requestInfo; } diff --git a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php index 3924b8f49b5..23d0aa7fec6 100644 --- a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php +++ b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of certificateBasedAuthConfiguration objects. This API is available in the following national cloud deployments. + * Get a list of certificateBasedAuthConfiguration objects. * @param CertificateBasedAuthConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CertificateBasedAuthConfigurationRequestBuilderGetRequestCo } /** - * Create a new certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Create a new certificateBasedAuthConfiguration object. * @param CertificateBasedAuthConfiguration $body The request body * @param CertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CertificateBasedAuthConfiguration $body, ?CertificateBasedA } /** - * Get a list of certificateBasedAuthConfiguration objects. This API is available in the following national cloud deployments. + * Get a list of certificateBasedAuthConfiguration objects. * @param CertificateBasedAuthConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CertificateBasedAuthConfigurationReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Create a new certificateBasedAuthConfiguration object. * @param CertificateBasedAuthConfiguration $body The request body * @param CertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CertificateBasedAuthConfiguration $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters.php index bd74ecc865a..bf8a106dbfc 100644 --- a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of certificateBasedAuthConfiguration objects. This API is available in the following national cloud deployments. + * Get a list of certificateBasedAuthConfiguration objects. */ class CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php index 9ad2f8852e5..0480b503693 100644 --- a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Delete a certificateBasedAuthConfiguration object. * @param CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CertificateBasedAuthConfigurationItemRequestBuilderDelet } /** - * Get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Get the properties of a certificateBasedAuthConfiguration object. * @param CertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?CertificateBasedAuthConfigurationItemRequestBuilderGetReque } /** - * Delete a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Delete a certificateBasedAuthConfiguration object. * @param CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -76,12 +76,12 @@ public function toDeleteRequestInformation(?CertificateBasedAuthConfigurationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Get the properties of a certificateBasedAuthConfiguration object. * @param CertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -97,7 +97,7 @@ public function toGetRequestInformation(?CertificateBasedAuthConfigurationItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters.php index 8ca0ddfab7c..2bdc4b5d374 100644 --- a/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + * Get the properties of a certificateBasedAuthConfiguration object. */ class CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index d01fcc439aa..94b5fd9411f 100644 --- a/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index fcf57ad249d..0a7f935c63b 100644 --- a/src/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.php index e896db7df8a..d640995bf67 100644 --- a/src/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 9aa1adb571b..6e0b5571d4b 100644 --- a/src/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index befbd49b5b0..1c3629dd0ee 100644 --- a/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index 1bd78f5e038..90ede60665a 100644 --- a/src/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index d6ba5703023..83836cfb59c 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -118,11 +118,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -164,12 +164,12 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -185,7 +185,7 @@ public function toGetRequestInformation(?OrganizationItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -204,7 +204,7 @@ public function toPatchRequestInformation(Organization $body, ?OrganizationItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index a1f7d6f570c..8c22067b457 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + * Read properties and relationships of the organization object. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php index e0516c01479..77e1eb87ba9 100644 --- a/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Organization/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.php b/src/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.php index 2c42436b19e..809f14610a9 100644 --- a/src/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.php +++ b/src/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SetMobileDeviceManagementAuthorityRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Organization/OrganizationRequestBuilder.php b/src/Generated/Organization/OrganizationRequestBuilder.php index c6eab4ec527..31277d22dcf 100644 --- a/src/Generated/Organization/OrganizationRequestBuilder.php +++ b/src/Generated/Organization/OrganizationRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -116,7 +116,7 @@ public function post(Organization $body, ?OrganizationRequestBuilderPostRequestC } /** - * Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -132,7 +132,7 @@ public function toGetRequestInformation(?OrganizationRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toPostRequestInformation(Organization $body, ?OrganizationReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php index 64d14f563ec..c012795b3d2 100644 --- a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + * Retrieve a list of organization objects. There's only one organization object in the collection. */ class OrganizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php index 4abcd56dd73..15606c2d55f 100644 --- a/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Delta/DeltaRequestBuilder.php b/src/Generated/PermissionGrants/Delta/DeltaRequestBuilder.php index 8188873cc1d..4ae9fc8384d 100644 --- a/src/Generated/PermissionGrants/Delta/DeltaRequestBuilder.php +++ b/src/Generated/PermissionGrants/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 47062cc5148..7697e1c05fd 100644 --- a/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.php index ae526ac3a39..691b1e7b09a 100644 --- a/src/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index e7fdae39006..a10a23be9a7 100644 --- a/src/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 6a321799d3d..d5f2535c717 100644 --- a/src/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 7ae1cce294e..43303a13ecf 100644 --- a/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index c90018b89fc..0ddf724305b 100644 --- a/src/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index ebf01f5666a..0c822a83b85 100644 --- a/src/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php b/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php index 74a73ecec38..045d6df4f55 100644 --- a/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/PermissionGrants/PermissionGrantsRequestBuilder.php index 75eca4faca3..f28daccb234 100644 --- a/src/Generated/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -123,7 +123,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -142,7 +142,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.php index b76cccdec54..9864ea51a97 100644 --- a/src/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Places/GraphRoom/GraphRoomRequestBuilder.php b/src/Generated/Places/GraphRoom/GraphRoomRequestBuilder.php index 24c2e12812b..3656673b08e 100644 --- a/src/Generated/Places/GraphRoom/GraphRoomRequestBuilder.php +++ b/src/Generated/Places/GraphRoom/GraphRoomRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphRoomRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.php b/src/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.php index c8be47d3f23..3332be14d65 100644 --- a/src/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.php +++ b/src/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphRoomListRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.php b/src/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.php index 35b0ad6ebcd..1cd648f5cbb 100644 --- a/src/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.php +++ b/src/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphRoomRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.php b/src/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.php index 8b1e6075d3c..e105b3c37e6 100644 --- a/src/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.php +++ b/src/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphRoomListRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Places/Item/GraphRoomList/Rooms/Item/RoomItemRequestBuilder.php b/src/Generated/Places/Item/GraphRoomList/Rooms/Item/RoomItemRequestBuilder.php index f1ec1883793..12a82966c2b 100644 --- a/src/Generated/Places/Item/GraphRoomList/Rooms/Item/RoomItemRequestBuilder.php +++ b/src/Generated/Places/Item/GraphRoomList/Rooms/Item/RoomItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RoomItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RoomItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Room $body, ?RoomItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Places/Item/GraphRoomList/Rooms/RoomsRequestBuilder.php b/src/Generated/Places/Item/GraphRoomList/Rooms/RoomsRequestBuilder.php index bfe132672a0..e374f53e16b 100644 --- a/src/Generated/Places/Item/GraphRoomList/Rooms/RoomsRequestBuilder.php +++ b/src/Generated/Places/Item/GraphRoomList/Rooms/RoomsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RoomsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Room $body, ?RoomsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Places/Item/PlaceItemRequestBuilder.php b/src/Generated/Places/Item/PlaceItemRequestBuilder.php index ca51927acd3..5bc02075432 100644 --- a/src/Generated/Places/Item/PlaceItemRequestBuilder.php +++ b/src/Generated/Places/Item/PlaceItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?PlaceItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. This API is available in the following national cloud deployments. + * Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. * @param Place $body The request body * @param PlaceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?PlaceItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. This API is available in the following national cloud deployments. + * Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. * @param Place $body The request body * @param PlaceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -111,7 +111,7 @@ public function toPatchRequestInformation(Place $body, ?PlaceItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/BucketsRequestBuilder.php b/src/Generated/Planner/Buckets/BucketsRequestBuilder.php index f6465e4ad3e..18ef0c89c77 100644 --- a/src/Generated/Planner/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Planner/Buckets/BucketsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerbucket objects. This API is available in the following national cloud deployments. + * Retrieve a list of plannerbucket objects. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?BucketsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new plannerBucket object. This API is available in the following national cloud deployments. + * Create a new plannerBucket object. * @param PlannerBucket $body The request body * @param BucketsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PlannerBucket $body, ?BucketsRequestBuilderPostRequestConfi } /** - * Retrieve a list of plannerbucket objects. This API is available in the following national cloud deployments. + * Retrieve a list of plannerbucket objects. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?BucketsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new plannerBucket object. This API is available in the following national cloud deployments. + * Create a new plannerBucket object. * @param PlannerBucket $body The request body * @param BucketsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PlannerBucket $body, ?BucketsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/BucketsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/BucketsRequestBuilderGetQueryParameters.php index e694e009d5f..09b9097b82d 100644 --- a/src/Generated/Planner/Buckets/BucketsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/BucketsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerbucket objects. This API is available in the following national cloud deployments. + * Retrieve a list of plannerbucket objects. */ class BucketsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php b/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php index b97d35cfe8a..943d8d520c5 100644 --- a/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete plannerBucket. This API is available in the following national cloud deployments. + * Delete plannerBucket. * @param PlannerBucketItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?PlannerBucketItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerBucket object. * @param PlannerBucketItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -88,7 +88,7 @@ public function patch(PlannerBucket $body, ?PlannerBucketItemRequestBuilderPatch } /** - * Delete plannerBucket. This API is available in the following national cloud deployments. + * Delete plannerBucket. * @param PlannerBucketItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?PlannerBucketItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerBucket object. * @param PlannerBucketItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,7 +122,7 @@ public function toGetRequestInformation(?PlannerBucketItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(PlannerBucket $body, ?PlannerBucketIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilderGetQueryParameters.php index 925a34e055c..782076fdb9b 100644 --- a/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerBucket object. */ class PlannerBucketItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index abc1b0678ab..af84f6f1a27 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 76dd436b8ee..6ce49a8e5a3 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index fab68f3b3fa..31ea09caaa5 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 7f2997b050f..b67210ea476 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index a3f752b576e..60b4a91e0c6 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index c2a0d013580..775e744dc2f 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index 2453b50301d..90c39b535b6 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 0ab375d4da4..723f8304da8 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index 32d7e2cf9ac..66c0915e35c 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php index d80b97d7c4a..3aef17dbbe4 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 97b0ad7f2c8..6222ba40419 100644 --- a/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/PlannerRequestBuilder.php b/src/Generated/Planner/PlannerRequestBuilder.php index e567aadd351..14d5d734617 100644 --- a/src/Generated/Planner/PlannerRequestBuilder.php +++ b/src/Generated/Planner/PlannerRequestBuilder.php @@ -102,7 +102,7 @@ public function toGetRequestInformation(?PlannerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -121,7 +121,7 @@ public function toPatchRequestInformation(Planner $body, ?PlannerRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php index 20144776e0c..8db9bd28c0a 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerBucket $body, ?BucketsRequestBuilderPostRequestConfi } /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?BucketsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerBucket $body, ?BucketsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php index a7b96e287bf..eaa311f38d0 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. */ class BucketsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php index 60a6681c0c5..c8789b8146f 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PlannerBucketItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PlannerBucketItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(PlannerBucket $body, ?PlannerBucketIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 984c983a9d2..52bbe999303 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index c3c7a8c0a80..b7beef1de51 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 35fe62873c8..bdde6760d20 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 6b6144f9e18..7e547522708 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index 8e939d8439b..4667a9b40d3 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index eb9f87ac278..07e75604437 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index 3d7ecb88a89..67adfd65772 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 91f668e4581..4ee14a99421 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index 08ca14752c2..7d5f7e94165 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php index 9ebaf9cd697..264b65a3d93 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index a77a9280418..ce06d3d1825 100644 --- a/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php index aa318aef779..caa5518a326 100644 --- a/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerPlanDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php index cfbd05dc9d0..fbabbbfb1c5 100644 --- a/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php b/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php index 18c117f896a..1824562bd26 100644 --- a/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a plannerPlan object. This API is available in the following national cloud deployments. + * Delete a plannerPlan object. * @param PlannerPlanItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?PlannerPlanItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerplan object. * @param PlannerPlanItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?PlannerPlanItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of a plannerPlan object. This API is available in the following national cloud deployments. + * Update the properties of a plannerPlan object. * @param PlannerPlan $body The request body * @param PlannerPlanItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(PlannerPlan $body, ?PlannerPlanItemRequestBuilderPatchRequ } /** - * Delete a plannerPlan object. This API is available in the following national cloud deployments. + * Delete a plannerPlan object. * @param PlannerPlanItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?PlannerPlanItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerplan object. * @param PlannerPlanItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?PlannerPlanItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a plannerPlan object. This API is available in the following national cloud deployments. + * Update the properties of a plannerPlan object. * @param PlannerPlan $body The request body * @param PlannerPlanItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(PlannerPlan $body, ?PlannerPlanItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilderGetQueryParameters.php index 33cae54b672..7606fcc1ecd 100644 --- a/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerplan object. */ class PlannerPlanItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 7f8a086cf12..938ae4a0c24 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 85f9a29fab4..469d88fc3f7 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 3b4cdb680fb..7e31e68fc8c 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index d787cc9925f..dea766a5ed5 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php index 87b9adcf3d9..0ad02411a52 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 3e261853318..00af94038f2 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index a23b66b8813..46ca51bc94f 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index f48640e6a1f..87551939516 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index b1d4e5cef1a..54e5b6075c6 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php index dac648d82ca..d046229133c 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 37e3738c605..49975e346a9 100644 --- a/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Plans/PlansRequestBuilder.php b/src/Generated/Planner/Plans/PlansRequestBuilder.php index d00ae007408..f638cb6f5fd 100644 --- a/src/Generated/Planner/Plans/PlansRequestBuilder.php +++ b/src/Generated/Planner/Plans/PlansRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of plannerPlan objects. This API is available in the following national cloud deployments. + * Get a list of plannerPlan objects. * @param PlansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PlansRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Use this API to create a new plannerPlan. This API is available in the following national cloud deployments. + * Use this API to create a new plannerPlan. * @param PlannerPlan $body The request body * @param PlansRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PlannerPlan $body, ?PlansRequestBuilderPostRequestConfigura } /** - * Get a list of plannerPlan objects. This API is available in the following national cloud deployments. + * Get a list of plannerPlan objects. * @param PlansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PlansRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new plannerPlan. This API is available in the following national cloud deployments. + * Use this API to create a new plannerPlan. * @param PlannerPlan $body The request body * @param PlansRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PlannerPlan $body, ?PlansRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Plans/PlansRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Plans/PlansRequestBuilderGetQueryParameters.php index 0420c98d8c0..30bb220cb2c 100644 --- a/src/Generated/Planner/Plans/PlansRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Plans/PlansRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of plannerPlan objects. This API is available in the following national cloud deployments. + * Get a list of plannerPlan objects. */ class PlansRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 1bab648cc32..3ed36b59b63 100644 --- a/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 8c6dfc073cc..db61785a770 100644 --- a/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 708d247c31d..ba64f5ceba3 100644 --- a/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 7c31b7ab2da..d6a8b72b65c 100644 --- a/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php index 406da5e7768..7c5879d2e3a 100644 --- a/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 08bc46623e7..d59293c2521 100644 --- a/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php index a8de48ee22c..37a5da6e5dd 100644 --- a/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a plannerTask object. This API is available in the following national cloud deployments. + * Delete a plannerTask object. * @param PlannerTaskItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?PlannerTaskItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerTask object. * @param PlannerTaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -112,7 +112,7 @@ public function patch(PlannerTask $body, ?PlannerTaskItemRequestBuilderPatchRequ } /** - * Delete a plannerTask object. This API is available in the following national cloud deployments. + * Delete a plannerTask object. * @param PlannerTaskItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerTask object. * @param PlannerTaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,7 +146,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -165,7 +165,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilderGetQueryParameters.php index d6a14faaf68..f1ac1ea9332 100644 --- a/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerTask object. */ class PlannerTaskItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 4407177ca31..8b6e9f793b4 100644 --- a/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index 4578c6651e8..a31f9460ffa 100644 --- a/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Planner/Tasks/TasksRequestBuilder.php b/src/Generated/Planner/Tasks/TasksRequestBuilder.php index 069c621d2de..1bcf559d3a0 100644 --- a/src/Generated/Planner/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Planner/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannertask objects. This API is available in the following national cloud deployments. + * Retrieve a list of plannertask objects. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TasksRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new plannerTask. This API is available in the following national cloud deployments. + * Create a new plannerTask. * @param PlannerTask $body The request body * @param TasksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannertask objects. This API is available in the following national cloud deployments. + * Retrieve a list of plannertask objects. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new plannerTask. This API is available in the following national cloud deployments. + * Create a new plannerTask. * @param PlannerTask $body The request body * @param TasksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php index 8abd8464f7d..e756fa6a04a 100644 --- a/src/Generated/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannertask objects. This API is available in the following national cloud deployments. + * Retrieve a list of plannertask objects. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php index f8873195a48..68600263ee1 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of activityBasedTimeoutPolicy objects. This API is available in the following national cloud deployments. + * Get a list of activityBasedTimeoutPolicy objects. * @param ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfigu } /** - * Create a new activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Create a new activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicy $body The request body * @param ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ActivityBasedTimeoutPolicy $body, ?ActivityBasedTimeoutPoli } /** - * Get a list of activityBasedTimeoutPolicy objects. This API is available in the following national cloud deployments. + * Get a list of activityBasedTimeoutPolicy objects. * @param ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ActivityBasedTimeoutPoliciesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Create a new activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicy $body The request body * @param ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ActivityBasedTimeoutPolicy $body, ?Acti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters.php index 84b159e5a62..ffa5db21e41 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of activityBasedTimeoutPolicy objects. This API is available in the following national cloud deployments. + * Get a list of activityBasedTimeoutPolicy objects. */ class ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php index 197c6ade4d1..cc236a82a21 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Delete an activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ActivityBasedTimeoutPolicyItemRequestBuilderDeleteReques } /** - * Get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Get the properties of an activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfi } /** - * Update the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicy $body The request body * @param ActivityBasedTimeoutPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ActivityBasedTimeoutPolicy $body, ?ActivityBasedTimeoutPol } /** - * Delete an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Delete an activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ActivityBasedTimeoutPolicyItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Get the properties of an activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ActivityBasedTimeoutPolicyItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an activityBasedTimeoutPolicy object. * @param ActivityBasedTimeoutPolicy $body The request body * @param ActivityBasedTimeoutPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ActivityBasedTimeoutPolicy $body, ?Act $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters.php index ed603c1b48a..81025b5d387 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + * Get the properties of an activityBasedTimeoutPolicy object. */ class ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 34bdd3a1c42..b55d96bddb0 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php index 24109a78b4c..f31b7c97f7c 100644 --- a/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.php b/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.php index af6104a67fc..b200a7f87fe 100644 --- a/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.php +++ b/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AdminConsentRequestPolicyRequestBuilderDeleteRequestConf } /** - * Read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an adminConsentRequestPolicy object. * @param AdminConsentRequestPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AdminConsentRequestPolicyRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an adminConsentRequestPolicy object. * @param AdminConsentRequestPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AdminConsentRequestPolicyRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(AdminConsentRequestPolicy $body, ?Admi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilderGetQueryParameters.php index f5cf592cb01..322b684ddf5 100644 --- a/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an adminConsentRequestPolicy object. */ class AdminConsentRequestPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php index 43576e7f189..ef1aa5df4ea 100644 --- a/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of appManagementPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of appManagementPolicy objects. * @param AppManagementPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AppManagementPoliciesRequestBuilderGetRequestConfiguration } /** - * Create an appManagementPolicy object. This API is available in the following national cloud deployments. + * Create an appManagementPolicy object. * @param AppManagementPolicy $body The request body * @param AppManagementPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AppManagementPolicy $body, ?AppManagementPoliciesRequestBui } /** - * Retrieve a list of appManagementPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of appManagementPolicy objects. * @param AppManagementPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AppManagementPoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an appManagementPolicy object. This API is available in the following national cloud deployments. + * Create an appManagementPolicy object. * @param AppManagementPolicy $body The request body * @param AppManagementPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AppManagementPolicy $body, ?AppManageme $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilderGetQueryParameters.php index ff69e3abef0..f2594500171 100644 --- a/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of appManagementPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of appManagementPolicy objects. */ class AppManagementPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php index 509aaef4aea..89e7fad256c 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an appManagementPolicy object. This API is available in the following national cloud deployments. + * Delete an appManagementPolicy object. * @param AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?AppManagementPolicyItemRequestBuilderDeleteRequestConfig } /** - * Read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. + * Read the properties of an appManagementPolicy object. * @param AppManagementPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?AppManagementPolicyItemRequestBuilderGetRequestConfiguratio } /** - * Update an appManagementPolicy object. This API is available in the following national cloud deployments. + * Update an appManagementPolicy object. * @param AppManagementPolicy $body The request body * @param AppManagementPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(AppManagementPolicy $body, ?AppManagementPolicyItemRequest } /** - * Delete an appManagementPolicy object. This API is available in the following national cloud deployments. + * Delete an appManagementPolicy object. * @param AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?AppManagementPolicyItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. + * Read the properties of an appManagementPolicy object. * @param AppManagementPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?AppManagementPolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an appManagementPolicy object. This API is available in the following national cloud deployments. + * Update an appManagementPolicy object. * @param AppManagementPolicy $body The request body * @param AppManagementPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(AppManagementPolicy $body, ?AppManagem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilderGetQueryParameters.php index f23e99ba799..9e03ca3c81d 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. + * Read the properties of an appManagementPolicy object. */ class AppManagementPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 4b6181d0622..b729dd9a517 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List application and service principal objects that are assigned an appManagementPolicy policy object. This API is available in the following national cloud deployments. + * List application and service principal objects that are assigned an appManagementPolicy policy object. * @param AppliesToRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AppliesToRequestBuilderGetRequestConfiguration $requestConf } /** - * List application and service principal objects that are assigned an appManagementPolicy policy object. This API is available in the following national cloud deployments. + * List application and service principal objects that are assigned an appManagementPolicy policy object. * @param AppliesToRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilderGetQueryParameters.php index 5a742ec05eb..bb72794bf63 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List application and service principal objects that are assigned an appManagementPolicy policy object. This API is available in the following national cloud deployments. + * List application and service principal objects that are assigned an appManagementPolicy policy object. */ class AppliesToRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php index 4f9b93a0169..649c37bcff5 100644 --- a/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.php b/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.php index ce6750a1c4c..af2cd7ab5ad 100644 --- a/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AuthenticationFlowsPolicyRequestBuilderDeleteRequestConf } /** - * Read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationFlowsPolicy object. * @param AuthenticationFlowsPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AuthenticationFlowsPolicyRequestBuilderGetRequestConfigurat } /** - * Update the selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. This API is available in the following national cloud deployments. + * Update the selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. * @param AuthenticationFlowsPolicy $body The request body * @param AuthenticationFlowsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AuthenticationFlowsPolicyRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationFlowsPolicy object. * @param AuthenticationFlowsPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?AuthenticationFlowsPolicyRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. This API is available in the following national cloud deployments. + * Update the selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. * @param AuthenticationFlowsPolicy $body The request body * @param AuthenticationFlowsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(AuthenticationFlowsPolicy $body, ?Auth $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilderGetQueryParameters.php index 38512c8476c..3b7d407f375 100644 --- a/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationFlowsPolicy object. */ class AuthenticationFlowsPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php index 5b8d3bf7b69..d7fba091db1 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationsReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AuthenticationMethodConfiguration $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php index f87d1f853e6..c3eb4f18f02 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AuthenticationMethodConfigurationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AuthenticationMethodConfiguration $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php index c690a467b4a..966d8c0a06e 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?AuthenticationMethodsPolicyRequestBuilderDeleteRequestCo } /** - * Read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationMethodsPolicy object. * @param AuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?AuthenticationMethodsPolicyRequestBuilderGetRequestConfigur } /** - * Update the properties of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an authenticationMethodsPolicy object. * @param AuthenticationMethodsPolicy $body The request body * @param AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?AuthenticationMethodsPolicyRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationMethodsPolicy object. * @param AuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?AuthenticationMethodsPolicyRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an authenticationMethodsPolicy object. * @param AuthenticationMethodsPolicy $body The request body * @param AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(AuthenticationMethodsPolicy $body, ?Au $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilderGetQueryParameters.php index 86831ce785d..e1a4a1d9ca7 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationMethodsPolicy object. */ class AuthenticationMethodsPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php index 2cea73f844a..d273794712d 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. This API is available in the following national cloud deployments. + * Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. * @param AuthenticationStrengthPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AuthenticationStrengthPoliciesRequestBuilderGetRequestConfi } /** - * Create a new custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Create a new custom authenticationStrengthPolicy object. * @param AuthenticationStrengthPolicy $body The request body * @param AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AuthenticationStrengthPolicy $body, ?AuthenticationStrength } /** - * Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. This API is available in the following national cloud deployments. + * Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. * @param AuthenticationStrengthPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AuthenticationStrengthPoliciesRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Create a new custom authenticationStrengthPolicy object. * @param AuthenticationStrengthPolicy $body The request body * @param AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AuthenticationStrengthPolicy $body, ?Au $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters.php index b8f1c22f93f..ae9980859a1 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. This API is available in the following national cloud deployments. + * Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. */ class AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php index 15f027db03e..ac1b1da67f3 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Delete a custom authenticationStrengthPolicy object. * @param AuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?AuthenticationStrengthPolicyItemRequestBuilderDeleteRequ } /** - * Read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationStrengthPolicy object. * @param AuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?AuthenticationStrengthPolicyItemRequestBuilderGetRequestCon } /** - * Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. This API is available in the following national cloud deployments. + * Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. * @param AuthenticationStrengthPolicy $body The request body * @param AuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(AuthenticationStrengthPolicy $body, ?AuthenticationStrengt } /** - * Delete a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Delete a custom authenticationStrengthPolicy object. * @param AuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?AuthenticationStrengthPolicyItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationStrengthPolicy object. * @param AuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?AuthenticationStrengthPolicyItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. This API is available in the following national cloud deployments. + * Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. * @param AuthenticationStrengthPolicy $body The request body * @param AuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(AuthenticationStrengthPolicy $body, ?A $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters.php index 1df78c2a954..dfcfde37b78 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationStrengthPolicy object. */ class AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php index dc605656de8..7441bc50a40 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. * @param CombinationConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CombinationConfigurationsRequestBuilderGetRequestConfigurat } /** - * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. * @param AuthenticationCombinationConfiguration $body The request body * @param CombinationConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AuthenticationCombinationConfiguration $body, ?CombinationC } /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. * @param CombinationConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CombinationConfigurationsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + * Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. * @param AuthenticationCombinationConfiguration $body The request body * @param CombinationConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AuthenticationCombinationConfiguration $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php index 92b9c6b4711..93ce3dc3f3e 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + * Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. */ class CombinationConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php index 867c16563b9..8614f3445d3 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. * @param AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?AuthenticationCombinationConfigurationItemRequestBuilder } /** - * Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationCombinationConfiguration object. * @param AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?AuthenticationCombinationConfigurationItemRequestBuilderGet } /** - * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. * @param AuthenticationCombinationConfiguration $body The request body * @param AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(AuthenticationCombinationConfiguration $body, ?Authenticat } /** - * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + * Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. * @param AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?AuthenticationCombinationConfigurati $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationCombinationConfiguration object. * @param AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?AuthenticationCombinationConfigurationI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + * Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. * @param AuthenticationCombinationConfiguration $body The request body * @param AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(AuthenticationCombinationConfiguration $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php index b113d185561..25e703fd1d0 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an authenticationCombinationConfiguration object. */ class AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php index 4c3f998ad8e..eb19d5ac8b1 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. * @param UpdateAllowedCombinationsPostRequestBody $body The request body * @param UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(UpdateAllowedCombinationsPostRequestBody $body, ?UpdateAllo } /** - * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. * @param UpdateAllowedCombinationsPostRequestBody $body The request body * @param UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(UpdateAllowedCombinationsPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.php b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.php index 54a0a51b561..b89fe8f7937 100644 --- a/src/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?UsageRequestBuilderGetRequestConfigurat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.php b/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.php index bd11d6046e5..7e792585d04 100644 --- a/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.php +++ b/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AuthorizationPolicyRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties of an authorizationPolicy object. * @param AuthorizationPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AuthorizationPolicyRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an authorizationPolicy object. * @param AuthorizationPolicy $body The request body * @param AuthorizationPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AuthorizationPolicyRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties of an authorizationPolicy object. * @param AuthorizationPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?AuthorizationPolicyRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an authorizationPolicy object. * @param AuthorizationPolicy $body The request body * @param AuthorizationPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(AuthorizationPolicy $body, ?Authorizat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilderGetQueryParameters.php index a51f12f35eb..74c55dd6899 100644 --- a/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties of an authorizationPolicy object. */ class AuthorizationPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php b/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php index b4dac7b288c..de5362537f6 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of claimsMappingPolicy objects. This API is available in the following national cloud deployments. + * Get a list of claimsMappingPolicy objects. * @param ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration } /** - * Create a new claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Create a new claimsMappingPolicy object. * @param ClaimsMappingPolicy $body The request body * @param ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ClaimsMappingPolicy $body, ?ClaimsMappingPoliciesRequestBui } /** - * Get a list of claimsMappingPolicy objects. This API is available in the following national cloud deployments. + * Get a list of claimsMappingPolicy objects. * @param ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ClaimsMappingPoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Create a new claimsMappingPolicy object. * @param ClaimsMappingPolicy $body The request body * @param ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ClaimsMappingPolicy $body, ?ClaimsMappi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php index 347cf75060a..ea5e1ed9d34 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of claimsMappingPolicy objects. This API is available in the following national cloud deployments. + * Get a list of claimsMappingPolicy objects. */ class ClaimsMappingPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index accb47ca9c5..6f895052c55 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php index 9133e16c9e6..302225932d4 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.php b/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.php index 4bcdc32bdef..f1b7098cb1f 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Delete a claimsMappingPolicy object. * @param ClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ClaimsMappingPolicyItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a claimsMappingPolicy object. * @param ClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ClaimsMappingPolicyItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a claimsMappingPolicy object. * @param ClaimsMappingPolicy $body The request body * @param ClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ClaimsMappingPolicy $body, ?ClaimsMappingPolicyItemRequest } /** - * Delete a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Delete a claimsMappingPolicy object. * @param ClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ClaimsMappingPolicyItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a claimsMappingPolicy object. * @param ClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ClaimsMappingPolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a claimsMappingPolicy object. * @param ClaimsMappingPolicy $body The request body * @param ClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ClaimsMappingPolicy $body, ?ClaimsMapp $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilderGetQueryParameters.php index 5e516b40a0a..01c330a85cb 100644 --- a/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a claimsMappingPolicy object. */ class ClaimsMappingPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php b/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php index e39cb6e0e86..8ec3690d3d2 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php +++ b/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ConditionalAccessPoliciesRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ConditionalAccessPolicy $body, ?Conditi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.php b/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.php index 31ad0caeda2..d9c2b96eacf 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ConditionalAccessPolicyItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ConditionalAccessPolicyItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ConditionalAccessPolicy $body, ?Condit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.php index 801ee9a9462..44701cb72ec 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?CrossTenantAccessPolicyRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a crossTenantAccessPolicy object. * @param CrossTenantAccessPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?CrossTenantAccessPolicyRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a cross-tenant access policy. This API is available in the following national cloud deployments. + * Update the properties of a cross-tenant access policy. * @param CrossTenantAccessPolicy $body The request body * @param CrossTenantAccessPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?CrossTenantAccessPolicyRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a crossTenantAccessPolicy object. * @param CrossTenantAccessPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?CrossTenantAccessPolicyRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a cross-tenant access policy. This API is available in the following national cloud deployments. + * Update the properties of a cross-tenant access policy. * @param CrossTenantAccessPolicy $body The request body * @param CrossTenantAccessPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(CrossTenantAccessPolicy $body, ?CrossT $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilderGetQueryParameters.php index ad48e7557e9..bec75f90537 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a crossTenantAccessPolicy object. */ class CrossTenantAccessPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php index 582ac3e1dda..97f2358f87a 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?DefaultRequestBuilderDeleteRequestConfiguration $request } /** - * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). This API is available in the following national cloud deployments. + * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). * @param DefaultRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?DefaultRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update the default configuration of a cross-tenant access policy. This API is available in the following national cloud deployments. + * Update the default configuration of a cross-tenant access policy. * @param CrossTenantAccessPolicyConfigurationDefault $body The request body * @param DefaultRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?DefaultRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). This API is available in the following national cloud deployments. + * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). * @param DefaultRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?DefaultRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the default configuration of a cross-tenant access policy. This API is available in the following national cloud deployments. + * Update the default configuration of a cross-tenant access policy. * @param CrossTenantAccessPolicyConfigurationDefault $body The request body * @param DefaultRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(CrossTenantAccessPolicyConfigurationDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilderGetQueryParameters.php b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilderGetQueryParameters.php index 8baf6dbee04..0ac72f1b485 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/DefaultRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). This API is available in the following national cloud deployments. + * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). */ class DefaultRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php index ae48306bee4..f320a556361 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/EscapedDefault/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. This API is available in the following national cloud deployments. + * Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. * @param ResetToSystemDefaultRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ResetToSystemDefaultRequestBuilderPostRequestConfiguration } /** - * Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. This API is available in the following national cloud deployments. + * Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. * @param ResetToSystemDefaultRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ResetToSystemDefaultRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.php index e642d59d212..a686144ddc1 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. This API is available in the following national cloud deployments. + * Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. * @param CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?CrossTenantAccessPolicyConfigurationPartnerTenantItemReq } /** - * Read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. + * Read the properties and relationships of a partner-specific configuration. * @param CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?CrossTenantAccessPolicyConfigurationPartnerTenantItemReques } /** - * Update the properties of a partner-specific configuration. This API is available in the following national cloud deployments. + * Update the properties of a partner-specific configuration. * @param CrossTenantAccessPolicyConfigurationPartner $body The request body * @param CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(CrossTenantAccessPolicyConfigurationPartner $body, ?CrossT } /** - * Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. This API is available in the following national cloud deployments. + * Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. * @param CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?CrossTenantAccessPolicyConfiguration $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. + * Read the properties and relationships of a partner-specific configuration. * @param CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?CrossTenantAccessPolicyConfigurationPar } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a partner-specific configuration. This API is available in the following national cloud deployments. + * Update the properties of a partner-specific configuration. * @param CrossTenantAccessPolicyConfigurationPartner $body The request body * @param CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(CrossTenantAccessPolicyConfigurationPa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters.php index 3a2b3a78aae..aec13423cf1 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. + * Read the properties and relationships of a partner-specific configuration. */ class CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php index 8047ff2e63a..6bfe551da94 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the user synchronization policy for a partner-specific configuration. This API is available in the following national cloud deployments. + * Delete the user synchronization policy for a partner-specific configuration. * @param IdentitySynchronizationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?IdentitySynchronizationRequestBuilderDeleteRequestConfig } /** - * Get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. + * Get the user synchronization policy of a partner-specific configuration. * @param IdentitySynchronizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function put(CrossTenantIdentitySyncPolicyPartner $body, ?IdentitySynchro } /** - * Delete the user synchronization policy for a partner-specific configuration. This API is available in the following national cloud deployments. + * Delete the user synchronization policy for a partner-specific configuration. * @param IdentitySynchronizationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?IdentitySynchronizationRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. + * Get the user synchronization policy of a partner-specific configuration. * @param IdentitySynchronizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?IdentitySynchronizationRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPutRequestInformation(CrossTenantIdentitySyncPolicyPartner $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilderGetQueryParameters.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilderGetQueryParameters.php index ab6684444b2..2e9e136c958 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. + * Get the user synchronization policy of a partner-specific configuration. */ class IdentitySynchronizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php index 2c5499b23a7..4e48c44f09e 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. This API is available in the following national cloud deployments. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. * @param PartnersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PartnersRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new partner configuration in a cross-tenant access policy. This API is available in the following national cloud deployments. + * Create a new partner configuration in a cross-tenant access policy. * @param CrossTenantAccessPolicyConfigurationPartner $body The request body * @param PartnersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CrossTenantAccessPolicyConfigurationPartner $body, ?Partner } /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. This API is available in the following national cloud deployments. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. * @param PartnersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PartnersRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new partner configuration in a cross-tenant access policy. This API is available in the following national cloud deployments. + * Create a new partner configuration in a cross-tenant access policy. * @param CrossTenantAccessPolicyConfigurationPartner $body The request body * @param PartnersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CrossTenantAccessPolicyConfigurationPar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilderGetQueryParameters.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilderGetQueryParameters.php index c561c843685..751b4967353 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. This API is available in the following national cloud deployments. + * Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. */ class PartnersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php b/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php index 2eacae084c2..724ea271c5a 100644 --- a/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php +++ b/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DefaultAppManagementPolicyRequestBuilderDeleteRequestCon } /** - * Read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + * Read the properties of a tenantAppManagementPolicy object. * @param DefaultAppManagementPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?DefaultAppManagementPolicyRequestBuilderGetRequestConfigura } /** - * Update the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a tenantAppManagementPolicy object. * @param TenantAppManagementPolicy $body The request body * @param DefaultAppManagementPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DefaultAppManagementPolicyRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + * Read the properties of a tenantAppManagementPolicy object. * @param DefaultAppManagementPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?DefaultAppManagementPolicyRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a tenantAppManagementPolicy object. * @param TenantAppManagementPolicy $body The request body * @param DefaultAppManagementPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TenantAppManagementPolicy $body, ?Defa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilderGetQueryParameters.php index cca719c7c15..6e31e66f561 100644 --- a/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + * Read the properties of a tenantAppManagementPolicy object. */ class DefaultAppManagementPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php index 0032f6073f5..45d99c47163 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of featureRolloutPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of featureRolloutPolicy objects. * @param FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration } /** - * Create a new featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Create a new featureRolloutPolicy object. * @param FeatureRolloutPolicy $body The request body * @param FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(FeatureRolloutPolicy $body, ?FeatureRolloutPoliciesRequestB } /** - * Retrieve a list of featureRolloutPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of featureRolloutPolicy objects. * @param FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?FeatureRolloutPoliciesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Create a new featureRolloutPolicy object. * @param FeatureRolloutPolicy $body The request body * @param FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(FeatureRolloutPolicy $body, ?FeatureRol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilderGetQueryParameters.php index f59ff88ad09..72e8ee53c5e 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of featureRolloutPolicy objects. This API is available in the following national cloud deployments. + * Retrieve a list of featureRolloutPolicy objects. */ class FeatureRolloutPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 1837bcdafe9..8ca1fe21779 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -75,7 +75,7 @@ public function get(?AppliesToRequestBuilderGetRequestConfiguration $requestConf } /** - * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. * @param DirectoryObject $body The request body * @param AppliesToRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. * @param DirectoryObject $body The request body * @param AppliesToRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -127,7 +127,7 @@ public function toPostRequestInformation(DirectoryObject $body, ?AppliesToReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.php index e07cd5c8a73..46eaa36736f 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + * Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + * Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index cd5c32b79c9..f13e8592252 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + * Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php index d46de740720..61c6affeb58 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.php @@ -47,7 +47,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,12 +80,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + * Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -99,7 +99,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.php index 2a43218c52b..72be00cd003 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Delete a featureRolloutPolicy object. * @param FeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?FeatureRolloutPolicyItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a featureRolloutPolicy object. * @param FeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?FeatureRolloutPolicyItemRequestBuilderGetRequestConfigurati } /** - * Update the properties of featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Update the properties of featureRolloutPolicy object. * @param FeatureRolloutPolicy $body The request body * @param FeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(FeatureRolloutPolicy $body, ?FeatureRolloutPolicyItemReque } /** - * Delete a featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Delete a featureRolloutPolicy object. * @param FeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?FeatureRolloutPolicyItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a featureRolloutPolicy object. * @param FeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?FeatureRolloutPolicyItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Update the properties of featureRolloutPolicy object. * @param FeatureRolloutPolicy $body The request body * @param FeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(FeatureRolloutPolicy $body, ?FeatureRo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilderGetQueryParameters.php index 430cc6fbf17..f3b19d58e6d 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a featureRolloutPolicy object. */ class FeatureRolloutPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php index cbd772094fe..82c4fb1c854 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of homeRealmDiscoveryPolicy objects. This API is available in the following national cloud deployments. + * Get a list of homeRealmDiscoveryPolicy objects. * @param HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfigura } /** - * Create a new homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Create a new homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicy $body The request body * @param HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(HomeRealmDiscoveryPolicy $body, ?HomeRealmDiscoveryPolicies } /** - * Get a list of homeRealmDiscoveryPolicy objects. This API is available in the following national cloud deployments. + * Get a list of homeRealmDiscoveryPolicy objects. * @param HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPoliciesRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Create a new homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicy $body The request body * @param HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(HomeRealmDiscoveryPolicy $body, ?HomeRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php index 19ec4c3ab8d..2feed4516d4 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of homeRealmDiscoveryPolicy objects. This API is available in the following national cloud deployments. + * Get a list of homeRealmDiscoveryPolicy objects. */ class HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 7c0db025b8c..a18a7788e97 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php index a450b36a86a..aca919f3026 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php index 1bcdf674b81..b8224a963d4 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Delete a homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?HomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?HomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfigu } /** - * Update the properties of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicy $body The request body * @param HomeRealmDiscoveryPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(HomeRealmDiscoveryPolicy $body, ?HomeRealmDiscoveryPolicyI } /** - * Delete a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Delete a homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?HomeRealmDiscoveryPolicyItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPolicyItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Update the properties of a homeRealmDiscoveryPolicy object. * @param HomeRealmDiscoveryPolicy $body The request body * @param HomeRealmDiscoveryPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(HomeRealmDiscoveryPolicy $body, ?HomeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters.php index 006630b953c..5211776c36e 100644 --- a/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. */ class HomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php b/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php index 377ffcad713..8ff4b3c6bd2 100644 --- a/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php +++ b/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?IdentitySecurityDefaultsEnforcementPolicyRequestBuilderD } /** - * Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. * @param IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetR } /** - * Update the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an identitySecurityDefaultsEnforcementPolicy object. * @param IdentitySecurityDefaultsEnforcementPolicy $body The request body * @param IdentitySecurityDefaultsEnforcementPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?IdentitySecurityDefaultsEnforcementP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. * @param IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?IdentitySecurityDefaultsEnforcementPoli } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + * Update the properties of an identitySecurityDefaultsEnforcementPolicy object. * @param IdentitySecurityDefaultsEnforcementPolicy $body The request body * @param IdentitySecurityDefaultsEnforcementPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(IdentitySecurityDefaultsEnforcementPol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters.php index 6841aaa6dfc..337dba4ac18 100644 --- a/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. */ class IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php index 9987fde4e08..f4bfd7b58a9 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. * @param ExcludesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ExcludesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSet $body The request body * @param ExcludesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PermissionGrantConditionSet $body, ?ExcludesRequestBuilderP } /** - * Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. * @param ExcludesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ExcludesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSet $body The request body * @param ExcludesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PermissionGrantConditionSet $body, ?Exc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilderGetQueryParameters.php index db7a885034e..b0ec087962b 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. */ class ExcludesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php index f7a2280e433..0370a80b54f 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(PermissionGrantConditionSet $body, ?PermissionGrantConditi } /** - * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?PermissionGrantConditionSetItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PermissionGrantConditionSetItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(PermissionGrantConditionSet $body, ?Pe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.php index 23a1c4c3662..004eba26c67 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the condition sets which are *included* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Retrieve the condition sets which are *included* in a permissionGrantPolicy. * @param IncludesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?IncludesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSet $body The request body * @param IncludesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PermissionGrantConditionSet $body, ?IncludesRequestBuilderP } /** - * Retrieve the condition sets which are *included* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Retrieve the condition sets which are *included* in a permissionGrantPolicy. * @param IncludesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?IncludesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSet $body The request body * @param IncludesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PermissionGrantConditionSet $body, ?Inc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilderGetQueryParameters.php index 9661d3c10ad..a300c55f3b4 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the condition sets which are *included* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Retrieve the condition sets which are *included* in a permissionGrantPolicy. */ class IncludesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php index c40c8d413b7..8f07341a673 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(PermissionGrantConditionSet $body, ?PermissionGrantConditi } /** - * Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. * @param PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?PermissionGrantConditionSetItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PermissionGrantConditionSetItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(PermissionGrantConditionSet $body, ?Pe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.php index daec3f39276..02c58ca6639 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a permissionGrantPolicy object. This API is available in the following national cloud deployments. + * Delete a permissionGrantPolicy object. * @param PermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?PermissionGrantPolicyItemRequestBuilderDeleteRequestConf } /** - * Retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. + * Retrieve a single permissionGrantPolicy object. * @param PermissionGrantPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?PermissionGrantPolicyItemRequestBuilderGetRequestConfigurat } /** - * Update properties of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Update properties of a permissionGrantPolicy. * @param PermissionGrantPolicy $body The request body * @param PermissionGrantPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(PermissionGrantPolicy $body, ?PermissionGrantPolicyItemReq } /** - * Delete a permissionGrantPolicy object. This API is available in the following national cloud deployments. + * Delete a permissionGrantPolicy object. * @param PermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?PermissionGrantPolicyItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. + * Retrieve a single permissionGrantPolicy object. * @param PermissionGrantPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?PermissionGrantPolicyItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update properties of a permissionGrantPolicy. This API is available in the following national cloud deployments. + * Update properties of a permissionGrantPolicy. * @param PermissionGrantPolicy $body The request body * @param PermissionGrantPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(PermissionGrantPolicy $body, ?Permissi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilderGetQueryParameters.php index 86320d3fdd5..cc75d27db86 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. + * Retrieve a single permissionGrantPolicy object. */ class PermissionGrantPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php b/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php index 6d8d9d671ce..74ca236cf66 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php +++ b/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of permissionGrantPolicy objects. This API is available in the following national cloud deployments. + * Retrieve the list of permissionGrantPolicy objects. * @param PermissionGrantPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PermissionGrantPoliciesRequestBuilderGetRequestConfiguratio } /** - * Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. This API is available in the following national cloud deployments. + * Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. * @param PermissionGrantPolicy $body The request body * @param PermissionGrantPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PermissionGrantPolicy $body, ?PermissionGrantPoliciesReques } /** - * Retrieve the list of permissionGrantPolicy objects. This API is available in the following national cloud deployments. + * Retrieve the list of permissionGrantPolicy objects. * @param PermissionGrantPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PermissionGrantPoliciesRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. This API is available in the following national cloud deployments. + * Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. * @param PermissionGrantPolicy $body The request body * @param PermissionGrantPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PermissionGrantPolicy $body, ?Permissio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilderGetQueryParameters.php index 82a73aacf0a..0ff8129abdf 100644 --- a/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of permissionGrantPolicy objects. This API is available in the following national cloud deployments. + * Retrieve the list of permissionGrantPolicy objects. */ class PermissionGrantPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/PoliciesRequestBuilder.php b/src/Generated/Policies/PoliciesRequestBuilder.php index 8c1646b1a21..2f891d42cff 100644 --- a/src/Generated/Policies/PoliciesRequestBuilder.php +++ b/src/Generated/Policies/PoliciesRequestBuilder.php @@ -230,7 +230,7 @@ public function toGetRequestInformation(?PoliciesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -249,7 +249,7 @@ public function toPatchRequestInformation(PolicyRoot $body, ?PoliciesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.php index 88764c0a82d..2e91e74668f 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?EffectiveRulesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRoleManagementPolicyRule $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php index fef982f7617..307e0ac9226 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UnifiedRoleManagementPolicyRuleItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UnifiedRoleManagementPolicyRuleItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UnifiedRoleManagementPolicyRule $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php index 3097417468f..a3065e25aaf 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?UnifiedRoleManagementPolicyRuleItemRequestBuilderDeleteR } /** - * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: * @param UnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?UnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequest } /** - * Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles: This API is available in the following national cloud deployments. + * Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles: * @param UnifiedRoleManagementPolicyRule $body The request body * @param UnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?UnifiedRoleManagementPolicyRuleItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: * @param UnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?UnifiedRoleManagementPolicyRuleItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles: This API is available in the following national cloud deployments. + * Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles: * @param UnifiedRoleManagementPolicyRule $body The request body * @param UnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(UnifiedRoleManagementPolicyRule $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters.php index a1ca9ea6d30..8d3ef2d173b 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: */ class UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php index 831e27ee978..e8e236e057d 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + * Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: * @param RulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UnifiedRoleManagementPolicyRule $body, ?RulesRequestBuilder } /** - * Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + * Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: * @param RulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RulesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UnifiedRoleManagementPolicyRule $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilderGetQueryParameters.php index b8137fccff2..66a171e24c2 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + * Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: */ class RulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php index 0426c729c86..6c38cbf5b1a 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?UnifiedRoleManagementPolicyItemRequestBuilderDeleteReque } /** - * Retrieve the details of a role management policy. This API is available in the following national cloud deployments. + * Retrieve the details of a role management policy. * @param UnifiedRoleManagementPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?UnifiedRoleManagementPolicyItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the details of a role management policy. This API is available in the following national cloud deployments. + * Retrieve the details of a role management policy. * @param UnifiedRoleManagementPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?UnifiedRoleManagementPolicyItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(UnifiedRoleManagementPolicy $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters.php index b7b9aed81db..3d25c2715f0 100644 --- a/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the details of a role management policy. This API is available in the following national cloud deployments. + * Retrieve the details of a role management policy. */ class UnifiedRoleManagementPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php index 765461a9d7f..a6429b3e8fc 100644 --- a/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. * @param RoleManagementPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UnifiedRoleManagementPolicy $body, ?RoleManagementPoliciesR } /** - * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. * @param RoleManagementPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RoleManagementPoliciesRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UnifiedRoleManagementPolicy $body, ?Rol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilderGetQueryParameters.php index 36f6b411906..21cc702a576 100644 --- a/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. */ class RoleManagementPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.php index 8e446f73fb0..8bbc5d90bf0 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PolicyRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.php index 334037095b5..09dc48dd87e 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?UnifiedRoleManagementPolicyAssignmentItemRequestBuilderD } /** - * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership. This API is available in the following national cloud deployments. + * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership. * @param UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?UnifiedRoleManagementPolicyAssignmen $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership. This API is available in the following national cloud deployments. + * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership. * @param UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?UnifiedRoleManagementPolicyAssignmentIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(UnifiedRoleManagementPolicyAssignment $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters.php index 39a6e440999..94e60400e11 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership. This API is available in the following national cloud deployments. + * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership. */ class UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php b/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php index d91f8959f27..0ae56486ec3 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. This API is available in the following national cloud deployments. + * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. * @param RoleManagementPolicyAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UnifiedRoleManagementPolicyAssignment $body, ?RoleManagemen } /** - * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. This API is available in the following national cloud deployments. + * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. * @param RoleManagementPolicyAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RoleManagementPolicyAssignmentsRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UnifiedRoleManagementPolicyAssignment $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters.php index 33d7ebb9b2c..9c6612a3c80 100644 --- a/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. This API is available in the following national cloud deployments. + * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. */ class RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 1654494dd36..808d692a912 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php index 2253b27f2b7..7a292fe4fb5 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php b/src/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php index 9ee6c82743c..906a8e19f0d 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php +++ b/src/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + * Delete a tokenIssuancePolicy object. * @param TokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?TokenIssuancePolicyItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + * Update the properties of a tokenIssuancePolicy object. * @param TokenIssuancePolicy $body The request body * @param TokenIssuancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -87,7 +87,7 @@ public function patch(TokenIssuancePolicy $body, ?TokenIssuancePolicyItemRequest } /** - * Delete a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + * Delete a tokenIssuancePolicy object. * @param TokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?TokenIssuancePolicyItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -121,12 +121,12 @@ public function toGetRequestInformation(?TokenIssuancePolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + * Update the properties of a tokenIssuancePolicy object. * @param TokenIssuancePolicy $body The request body * @param TokenIssuancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(TokenIssuancePolicy $body, ?TokenIssua $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php b/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php index 10b6eb7ed2b..d138b2afa79 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php +++ b/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of tokenIssuancePolicy objects. This API is available in the following national cloud deployments. + * Get a list of tokenIssuancePolicy objects. * @param TokenIssuancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TokenIssuancePoliciesRequestBuilderGetRequestConfiguration } /** - * Create a new tokenIssuancePolicy object. This API is available in the following national cloud deployments. + * Create a new tokenIssuancePolicy object. * @param TokenIssuancePolicy $body The request body * @param TokenIssuancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TokenIssuancePolicy $body, ?TokenIssuancePoliciesRequestBui } /** - * Get a list of tokenIssuancePolicy objects. This API is available in the following national cloud deployments. + * Get a list of tokenIssuancePolicy objects. * @param TokenIssuancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TokenIssuancePoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new tokenIssuancePolicy object. This API is available in the following national cloud deployments. + * Create a new tokenIssuancePolicy object. * @param TokenIssuancePolicy $body The request body * @param TokenIssuancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TokenIssuancePolicy $body, ?TokenIssuan $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php index 764aa6c1fcd..729f978f7d8 100644 --- a/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of tokenIssuancePolicy objects. This API is available in the following national cloud deployments. + * Get a list of tokenIssuancePolicy objects. */ class TokenIssuancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 52393bcc1fd..a685aa868bf 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AppliesToRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php index e627ed73f75..86e2c797579 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php b/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php index 132a18aeb7c..077dfe4f7d1 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php +++ b/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Delete a tokenLifetimePolicy object. * @param TokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TokenLifetimePolicyItemRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a tokenLifetimePolicy object. * @param TokenLifetimePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TokenLifetimePolicyItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Update the properties of a tokenLifetimePolicy object. * @param TokenLifetimePolicy $body The request body * @param TokenLifetimePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TokenLifetimePolicy $body, ?TokenLifetimePolicyItemRequest } /** - * Delete a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Delete a tokenLifetimePolicy object. * @param TokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TokenLifetimePolicyItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a tokenLifetimePolicy object. * @param TokenLifetimePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TokenLifetimePolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Update the properties of a tokenLifetimePolicy object. * @param TokenLifetimePolicy $body The request body * @param TokenLifetimePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TokenLifetimePolicy $body, ?TokenLifet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilderGetQueryParameters.php index 639ae73d3cd..83589458500 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a tokenLifetimePolicy object. */ class TokenLifetimePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php b/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php index 9548458a794..d0da59ff6f6 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php +++ b/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of tokenLifetimePolicy objects. This API is available in the following national cloud deployments. + * Get a list of tokenLifetimePolicy objects. * @param TokenLifetimePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TokenLifetimePoliciesRequestBuilderGetRequestConfiguration } /** - * Create a new tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Create a new tokenLifetimePolicy object. * @param TokenLifetimePolicy $body The request body * @param TokenLifetimePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TokenLifetimePolicy $body, ?TokenLifetimePoliciesRequestBui } /** - * Get a list of tokenLifetimePolicy objects. This API is available in the following national cloud deployments. + * Get a list of tokenLifetimePolicy objects. * @param TokenLifetimePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TokenLifetimePoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new tokenLifetimePolicy object. This API is available in the following national cloud deployments. + * Create a new tokenLifetimePolicy object. * @param TokenLifetimePolicy $body The request body * @param TokenLifetimePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TokenLifetimePolicy $body, ?TokenLifeti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php index e85b0d09205..0456262efe0 100644 --- a/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of tokenLifetimePolicy objects. This API is available in the following national cloud deployments. + * Get a list of tokenLifetimePolicy objects. */ class TokenLifetimePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Privacy/PrivacyRequestBuilder.php b/src/Generated/Privacy/PrivacyRequestBuilder.php index 0b82b3743aa..c941ec062e7 100644 --- a/src/Generated/Privacy/PrivacyRequestBuilder.php +++ b/src/Generated/Privacy/PrivacyRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?PrivacyRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(Privacy $body, ?PrivacyRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php index f0b80d610da..3ba6131ff13 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ApproversRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php index a92f40fdfe7..b15160a460c 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 832d2d96b69..f5ec836b660 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php index f2c0bff5643..1d15e30bbd8 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php index 8c992c387d9..31eb40736ca 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CollaboratorsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php index f42c3c924ea..5638b3be9ca 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 9e2da8a86ce..f45813d3149 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php index 40dee3f1a82..2b713da9008 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php index adc66314b45..296fb3bec49 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetFinalAttachmentRequestBuilderGetRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php index e12d76d72bc..39800a6dea5 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetFinalReportRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php index 23e9192b1f6..46525e24227 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AuthoredNoteItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AuthoredNoteItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AuthoredNote $body, ?AuthoredNoteItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php index 1e359654fcc..7dcd0934a27 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of authored notes assoicated with a subject rights request. This API is available in the following national cloud deployments. + * Get the list of authored notes assoicated with a subject rights request. * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?NotesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new authoredNote object. This API is available in the following national cloud deployments. + * Create a new authoredNote object. * @param AuthoredNote $body The request body * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AuthoredNote $body, ?NotesRequestBuilderPostRequestConfigur } /** - * Get the list of authored notes assoicated with a subject rights request. This API is available in the following national cloud deployments. + * Get the list of authored notes assoicated with a subject rights request. * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?NotesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new authoredNote object. This API is available in the following national cloud deployments. + * Create a new authoredNote object. * @param AuthoredNote $body The request body * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AuthoredNote $body, ?NotesRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php index 74ac583878d..11216172363 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of authored notes assoicated with a subject rights request. This API is available in the following national cloud deployments. + * Get the list of authored notes assoicated with a subject rights request. */ class NotesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php index 44f5ff2b3c1..336db235b49 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?SubjectRightsRequestItemRequestBuilderDeleteRequestConfi } /** - * Read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subjectRightsRequest object. * @param SubjectRightsRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?SubjectRightsRequestItemRequestBuilderGetRequestConfigurati } /** - * Update the properties of a subjectRightsRequest object. This API is available in the following national cloud deployments. + * Update the properties of a subjectRightsRequest object. * @param SubjectRightsRequest $body The request body * @param SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?SubjectRightsRequestItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subjectRightsRequest object. * @param SubjectRightsRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?SubjectRightsRequestItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a subjectRightsRequest object. This API is available in the following national cloud deployments. + * Update the properties of a subjectRightsRequest object. * @param SubjectRightsRequest $body The request body * @param SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(SubjectRightsRequest $body, ?SubjectRi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.php index 35b27d67083..8506d8e5458 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subjectRightsRequest object. */ class SubjectRightsRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php index 4132d29b37e..a529e9bbf32 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php b/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php index 5668d6cadd5..e7d03f44c98 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php +++ b/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of subjectRightsRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of subjectRightsRequest objects and their properties. * @param SubjectRightsRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SubjectRightsRequestsRequestBuilderGetRequestConfiguration } /** - * Create a new subjectRightsRequest object. This API is available in the following national cloud deployments. + * Create a new subjectRightsRequest object. * @param SubjectRightsRequest $body The request body * @param SubjectRightsRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SubjectRightsRequest $body, ?SubjectRightsRequestsRequestBu } /** - * Get a list of subjectRightsRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of subjectRightsRequest objects and their properties. * @param SubjectRightsRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SubjectRightsRequestsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new subjectRightsRequest object. This API is available in the following national cloud deployments. + * Create a new subjectRightsRequest object. * @param SubjectRightsRequest $body The request body * @param SubjectRightsRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SubjectRightsRequest $body, ?SubjectRig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.php index 492e1b2797c..cea4bc819f2 100644 --- a/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of subjectRightsRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of subjectRightsRequest objects and their properties. */ class SubjectRightsRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.php index e96b11e139f..4b9c2d54abd 100644 --- a/src/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.php @@ -116,7 +116,7 @@ public function toDeleteRequestInformation(?AuthenticationMethodsRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -137,7 +137,7 @@ public function toGetRequestInformation(?AuthenticationMethodsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(AuthenticationMethodsRoot $body, ?Auth $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.php index b517a8344f7..dcfe48823dc 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?UserRegistrationDetailsItemRequestBuilderDeleteRequestCo } /** - * Read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userRegistrationDetails object. * @param UserRegistrationDetailsItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?UserRegistrationDetailsItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userRegistrationDetails object. * @param UserRegistrationDetailsItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?UserRegistrationDetailsItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(UserRegistrationDetails $body, ?UserRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilderGetQueryParameters.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilderGetQueryParameters.php index 3dbf8c12725..24249dfa052 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a userRegistrationDetails object. */ class UserRegistrationDetailsItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php index ba5fe10f965..338d18c57ce 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This API is available in the following national cloud deployments. + * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. * @param UserRegistrationDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UserRegistrationDetails $body, ?UserRegistrationDetailsRequ } /** - * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This API is available in the following national cloud deployments. + * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. * @param UserRegistrationDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?UserRegistrationDetailsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UserRegistrationDetails $body, ?UserReg $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php index 7798c40b6db..47dfafabf23 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This API is available in the following national cloud deployments. + * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. */ class UserRegistrationDetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.php index ae854952dc1..c080ad09486 100644 --- a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?UsersRegisteredByFeatureRequestBuilderG $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php index d2749b1ff39..8280ef2cc61 100644 --- a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?UsersRegisteredByFeatureWithIncludedUse $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.php index 53ce5d5971d..9142ae992fb 100644 --- a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?UsersRegisteredByMethodRequestBuilderGe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php index 7136510504b..e92d7f419e4 100644 --- a/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?UsersRegisteredByMethodWithIncludedUser $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.php index d785530b9b2..a4f5f3c096f 100644 --- a/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of daily print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + * Retrieve a list of daily print usage summaries, grouped by printer. * @param DailyPrintUsageByPrinterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintUsageByPrinter $body, ?DailyPrintUsageByPrinterRequest } /** - * Retrieve a list of daily print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + * Retrieve a list of daily print usage summaries, grouped by printer. * @param DailyPrintUsageByPrinterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?DailyPrintUsageByPrinterRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintUsageByPrinter $body, ?DailyPrintU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilderGetQueryParameters.php b/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilderGetQueryParameters.php index 7fa4dec961f..15ad8da2ebe 100644 --- a/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of daily print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + * Retrieve a list of daily print usage summaries, grouped by printer. */ class DailyPrintUsageByPrinterRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php index 101909af198..abb281134d1 100644 --- a/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?PrintUsageByPrinterItemRequestBuilderDeleteRequestConfig } /** - * Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. This API is available in the following national cloud deployments. + * Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. * @param PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?PrintUsageByPrinterItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. This API is available in the following national cloud deployments. + * Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. * @param PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PrintUsageByPrinterItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(PrintUsageByPrinter $body, ?PrintUsage $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilderGetQueryParameters.php b/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilderGetQueryParameters.php index 759e7adc689..6acc2fad749 100644 --- a/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. This API is available in the following national cloud deployments. + * Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. */ class PrintUsageByPrinterItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php index 6dc07923258..26f618b0778 100644 --- a/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of daily print usage summaries, grouped by user. This API is available in the following national cloud deployments. + * Retrieve a list of daily print usage summaries, grouped by user. * @param DailyPrintUsageByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintUsageByUser $body, ?DailyPrintUsageByUserRequestBuilde } /** - * Retrieve a list of daily print usage summaries, grouped by user. This API is available in the following national cloud deployments. + * Retrieve a list of daily print usage summaries, grouped by user. * @param DailyPrintUsageByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?DailyPrintUsageByUserRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintUsageByUser $body, ?DailyPrintUsag $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilderGetQueryParameters.php b/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilderGetQueryParameters.php index 3931861eada..62952afb154 100644 --- a/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of daily print usage summaries, grouped by user. This API is available in the following national cloud deployments. + * Retrieve a list of daily print usage summaries, grouped by user. */ class DailyPrintUsageByUserRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php b/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php index 6cdd8cc999e..eb0ba5fe8f8 100644 --- a/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php +++ b/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?PrintUsageByUserItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. This API is available in the following national cloud deployments. + * Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. * @param PrintUsageByUserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?PrintUsageByUserItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. This API is available in the following national cloud deployments. + * Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. * @param PrintUsageByUserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PrintUsageByUserItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(PrintUsageByUser $body, ?PrintUsageByU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilderGetQueryParameters.php b/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilderGetQueryParameters.php index 9fe358fcf87..572890a937f 100644 --- a/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. This API is available in the following national cloud deployments. + * Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. */ class PrintUsageByUserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.php b/src/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.php index d87e9983344..27247acfe71 100644 --- a/src/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.php +++ b/src/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?DeviceConfigurationDeviceActivityReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.php b/src/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.php index da8ca2c4d66..aff2deaaddc 100644 --- a/src/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.php +++ b/src/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?DeviceConfigurationUserActivityRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.php index 07296949e57..ae2b81fc79a 100644 --- a/src/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailActivityCountsWithPeriodRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.php index d87a1bc0b15..199daffed8e 100644 --- a/src/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailActivityUserCountsWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.php index 2599064c75d..76951e9d940 100644 --- a/src/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetEmailActivityUserDetailWithDateReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.php index b5f7a5b7f9a..4afbbd185e5 100644 --- a/src/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailActivityUserDetailWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.php index f59eb1a84e2..1545dce836b 100644 --- a/src/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailAppUsageAppsUserCountsWithPerio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.php index 91bc2f4453f..1ba90236d7b 100644 --- a/src/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailAppUsageUserCountsWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.php index 8f74bd7bd7d..6e5f26b85a8 100644 --- a/src/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetEmailAppUsageUserDetailWithDateReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.php index 3f083783f55..aee34e34422 100644 --- a/src/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailAppUsageUserDetailWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.php index e402a8f238a..f492136fdfa 100644 --- a/src/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetEmailAppUsageVersionsUserCountsWithP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.php index bce3801d73f..a924dde06cf 100644 --- a/src/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -69,7 +69,7 @@ public function toGetRequestInformation(?GetGroupArchivedPrintJobsWithGroupIdWit } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.php index 74ee63dbaa3..f46bbb32998 100644 --- a/src/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetM365AppPlatformUserCountsWithPeriodR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.php index 0a78b5aff93..5f0ea379ee8 100644 --- a/src/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetM365AppUserCountsWithPeriodRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.php index 226ba4a4998..f27ec5d52e2 100644 --- a/src/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetM365AppUserDetailWithDateRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.php index 5182f3887d1..6de329c5754 100644 --- a/src/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetM365AppUserDetailWithPeriodRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.php index f3df9085758..dbf3f266ffe 100644 --- a/src/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetMailboxUsageDetailWithPeriodRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.php index a355016caa5..431d2080e74 100644 --- a/src/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetMailboxUsageMailboxCountsWithPeriodR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.php index 52ffde32841..7901656fad0 100644 --- a/src/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetMailboxUsageQuotaStatusMailboxCounts $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.php b/src/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.php index 2af3256ea3b..184640c4d17 100644 --- a/src/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetMailboxUsageStorageWithPeriodRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.php b/src/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.php index 14eed6ceb04..028a4d95d57 100644 --- a/src/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetOffice365ActivationCountsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.php b/src/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.php index f73f46e387c..812ff72cff1 100644 --- a/src/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetOffice365ActivationsUserCountsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.php b/src/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.php index c1d5ca989b4..21bd71b55fb 100644 --- a/src/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetOffice365ActivationsUserDetailReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.php index d093ab4dee1..aaa23e7db77 100644 --- a/src/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365ActiveUserCountsWithPeriodR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.php index 0ee4f061b4c..f25b94c66fb 100644 --- a/src/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetOffice365ActiveUserDetailWithDateReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.php index 51371d80a2e..740efe00424 100644 --- a/src/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365ActiveUserDetailWithPeriodR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.php index 9f053a60a6a..813353b9748 100644 --- a/src/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365GroupsActivityCountsWithPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.php index 85bf2bbd934..a6e8c7bda5d 100644 --- a/src/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetOffice365GroupsActivityDetailWithDat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.php index 2a877e14c2f..6145aec5820 100644 --- a/src/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365GroupsActivityDetailWithPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.php index 695fa46974d..16784dd740b 100644 --- a/src/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365GroupsActivityFileCountsWit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.php index e255f488213..3ff71f47721 100644 --- a/src/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365GroupsActivityGroupCountsWi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.php index 2ce6c808410..8264c17e97e 100644 --- a/src/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365GroupsActivityStorageWithPe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.php index 7b7422aad31..e366c08c6b1 100644 --- a/src/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOffice365ServicesUserCountsWithPerio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.php index 21b416ddab8..21c2dcb62a2 100644 --- a/src/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveActivityFileCountsWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.php index 9ab7ff9a6d9..3436684f996 100644 --- a/src/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveActivityUserCountsWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.php index a0540a28ca4..24748e36cd9 100644 --- a/src/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetOneDriveActivityUserDetailWithDateRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.php index e38c196ab31..764991dc88c 100644 --- a/src/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveActivityUserDetailWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.php index ebdbcd545a7..ba4f671d4b0 100644 --- a/src/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveUsageAccountCountsWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.php index fde549e57c0..3e63392a334 100644 --- a/src/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetOneDriveUsageAccountDetailWithDateRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.php index 58d16e10e39..e9297f05a24 100644 --- a/src/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveUsageAccountDetailWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.php index 4be449ab1b8..73fb0a3d7e8 100644 --- a/src/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveUsageFileCountsWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.php b/src/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.php index aee3ed87ae3..74b61e490bc 100644 --- a/src/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetOneDriveUsageStorageWithPeriodReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.php index 9e916fd172e..e7381250030 100644 --- a/src/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -69,7 +69,7 @@ public function toGetRequestInformation(?GetPrinterArchivedPrintJobsWithPrinterI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.php index 253bf661dcf..0308106dd46 100644 --- a/src/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointActivityFileCountsWithPeri $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.php index c08d7e53692..98658058770 100644 --- a/src/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointActivityPagesWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.php index e46e98e544d..1940628e511 100644 --- a/src/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointActivityUserCountsWithPeri $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.php index 5da6e6fffcc..13f77470bd7 100644 --- a/src/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetSharePointActivityUserDetailWithDate $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.php index cae8f870956..b17b3796030 100644 --- a/src/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointActivityUserDetailWithPeri $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.php index dd7a29a6953..13c4ca2403a 100644 --- a/src/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetSharePointSiteUsageDetailWithDateReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.php index df589b6e927..dc17359805e 100644 --- a/src/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointSiteUsageDetailWithPeriodR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.php index e88371f470d..f2186100940 100644 --- a/src/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointSiteUsageFileCountsWithPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.php index ff0c1c56aba..a3fa33740f7 100644 --- a/src/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointSiteUsagePagesWithPeriodRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.php index d1d1d5df602..d9859f2b37a 100644 --- a/src/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointSiteUsageSiteCountsWithPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.php index 0b3a6983baf..87bca1b5d00 100644 --- a/src/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSharePointSiteUsageStorageWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.php index 74b676a383a..ed55d336e3e 100644 --- a/src/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessActivityCountsWithPe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.php index 37ed09efa54..616d2c3f62f 100644 --- a/src/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessActivityUserCountsWi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.php index 68703523fbd..0a061b34c6e 100644 --- a/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessActivityUserDetailWi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.php index 8944f56cc3d..6fbf6d244d9 100644 --- a/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessActivityUserDetailWi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php index 674fd006ae2..2e07d601411 100644 --- a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessDeviceUsageDistribut $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.php index dfe4b50c497..f426871b699 100644 --- a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessDeviceUsageUserCount $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.php index 4ac44937a78..4d4642b80b0 100644 --- a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessDeviceUsageUserDetai $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.php index 231873701ec..8626c4b34d2 100644 --- a/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessDeviceUsageUserDetai $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.php index 23d1abd00e6..7ab01d9b217 100644 --- a/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessOrganizerActivityCou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.php index dc7c173338c..abe0acfc643 100644 --- a/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessOrganizerActivityMin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.php index d366ac980b1..431139de392 100644 --- a/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessOrganizerActivityUse $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.php index c1d39cfb6de..650fd86aae0 100644 --- a/src/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessParticipantActivityC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.php index d6451c9de70..48f7fb634c6 100644 --- a/src/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessParticipantActivityM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.php index aa778371d1f..5837f7d7760 100644 --- a/src/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessParticipantActivityU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.php index c81dd9af9bc..bc5a66f0ce5 100644 --- a/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessPeerToPeerActivityCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.php index d8a1cd8d559..74ca8b1fd6d 100644 --- a/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessPeerToPeerActivityMi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.php index 93052e24766..3b7778d8ba5 100644 --- a/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetSkypeForBusinessPeerToPeerActivityUs $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php index 6f0149a2037..ebe13b9bd7c 100644 --- a/src/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsDeviceUsageDistributionUserCoun $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.php index 5c837ac334e..2b334cac4c7 100644 --- a/src/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsDeviceUsageUserCountsWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.php index 8ee08702393..1363324f713 100644 --- a/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetTeamsDeviceUsageUserDetailWithDateRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.php index 7f457b59f1d..eac24ca8d11 100644 --- a/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsDeviceUsageUserDetailWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.php index a2ee359d9ef..5d340d360ce 100644 --- a/src/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsTeamActivityCountsWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.php index 60ffe0624b5..fe333e47db3 100644 --- a/src/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetTeamsTeamActivityDetailWithDateReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.php index 83a033a7a52..45d3148a126 100644 --- a/src/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsTeamActivityDetailWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.php index abe6f0f73f8..f427e43e01a 100644 --- a/src/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsTeamActivityDistributionCountsW $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.php index 06025080e80..a3f4a9c9dda 100644 --- a/src/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsTeamCountsWithPeriodRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.php index e051381a69b..c71c7f167c1 100644 --- a/src/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsUserActivityCountsWithPeriodReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.php index a4221caeaac..b42b8c00a5c 100644 --- a/src/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsUserActivityUserCountsWithPerio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.php index f38cf1c7c4b..3008a777e0f 100644 --- a/src/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetTeamsUserActivityUserDetailWithDateR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.php index 7d4de8f3c37..a08dc807be9 100644 --- a/src/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetTeamsUserActivityUserDetailWithPerio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php index 7deacf29f6a..0241207a344 100644 --- a/src/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -69,7 +69,7 @@ public function toGetRequestInformation(?GetUserArchivedPrintJobsWithUserIdWithS } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.php index 38e9a5ae26a..62f45a85c84 100644 --- a/src/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerActivityCountsWithPeriodReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.php index e5d7963fa10..1a178f38d4b 100644 --- a/src/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerActivityUserCountsWithPeriodRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.php index 6734cdecc4e..17f0a1e4107 100644 --- a/src/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetYammerActivityUserDetailWithDateRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.php index e656d8099fd..50788ec4b1c 100644 --- a/src/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerActivityUserDetailWithPeriodRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php index 03d33c9f570..5158449b932 100644 --- a/src/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerDeviceUsageDistributionUserCou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.php index b185f2e66d8..de47514cdfd 100644 --- a/src/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerDeviceUsageUserCountsWithPerio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.php index 267f408ae12..7ac93934346 100644 --- a/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetYammerDeviceUsageUserDetailWithDateR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.php index fd9ee7411e7..9154c352952 100644 --- a/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerDeviceUsageUserDetailWithPerio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.php index a26a7868cf4..8acfc87ad95 100644 --- a/src/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerGroupsActivityCountsWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.php b/src/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.php index f2b4db3336b..461b2ff4469 100644 --- a/src/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.php +++ b/src/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.php @@ -65,7 +65,7 @@ public function toGetRequestInformation(?GetYammerGroupsActivityDetailWithDateRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.php index 46b541ef824..9a4692cffc5 100644 --- a/src/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerGroupsActivityDetailWithPeriod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.php b/src/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.php index 0a996ddb97a..371b536f037 100644 --- a/src/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetYammerGroupsActivityGroupCountsWithP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.php b/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.php index 328475038cf..f555dc9e5dc 100644 --- a/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.php +++ b/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?ManagedDeviceEnrollmentFailureDetailsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.php b/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.php index caa92cbda2e..69b3217578f 100644 --- a/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.php +++ b/src/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?ManagedDeviceEnrollmentFailureDetailsWi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.php b/src/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.php index 71bfd309cb4..bbc38a02651 100644 --- a/src/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.php +++ b/src/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?ManagedDeviceEnrollmentTopFailuresReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.php b/src/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.php index 951b85aff67..fe76a124318 100644 --- a/src/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.php +++ b/src/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ManagedDeviceEnrollmentTopFailuresWithP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php b/src/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php index 74f5039b585..f5d8db3f9f3 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php +++ b/src/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?PrintUsageByPrinterItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?PrintUsageByPrinterItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(PrintUsageByPrinter $body, ?PrintUsage $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.php b/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.php index 5afe4cf6d3b..a226be49990 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.php +++ b/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of monthly print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + * Retrieve a list of monthly print usage summaries, grouped by printer. * @param MonthlyPrintUsageByPrinterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintUsageByPrinter $body, ?MonthlyPrintUsageByPrinterReque } /** - * Retrieve a list of monthly print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + * Retrieve a list of monthly print usage summaries, grouped by printer. * @param MonthlyPrintUsageByPrinterRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?MonthlyPrintUsageByPrinterRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintUsageByPrinter $body, ?MonthlyPrin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilderGetQueryParameters.php b/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilderGetQueryParameters.php index 0b8685521e2..5198a9185ea 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of monthly print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + * Retrieve a list of monthly print usage summaries, grouped by printer. */ class MonthlyPrintUsageByPrinterRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php b/src/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php index 025ac1ab79e..f1db6a663db 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php +++ b/src/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?PrintUsageByUserItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?PrintUsageByUserItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(PrintUsageByUser $body, ?PrintUsageByU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.php b/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.php index f94fb9e8917..46de710f68d 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.php +++ b/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of monthly print usage summaries, grouped by user. This API is available in the following national cloud deployments. + * Retrieve a list of monthly print usage summaries, grouped by user. * @param MonthlyPrintUsageByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PrintUsageByUser $body, ?MonthlyPrintUsageByUserRequestBuil } /** - * Retrieve a list of monthly print usage summaries, grouped by user. This API is available in the following national cloud deployments. + * Retrieve a list of monthly print usage summaries, grouped by user. * @param MonthlyPrintUsageByUserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?MonthlyPrintUsageByUserRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PrintUsageByUser $body, ?MonthlyPrintUs $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilderGetQueryParameters.php b/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilderGetQueryParameters.php index 42d7a361bcf..ef6603bd6e5 100644 --- a/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of monthly print usage summaries, grouped by user. This API is available in the following national cloud deployments. + * Retrieve a list of monthly print usage summaries, grouped by user. */ class MonthlyPrintUsageByUserRequestBuilderGetQueryParameters { diff --git a/src/Generated/Reports/ReportsRequestBuilder.php b/src/Generated/Reports/ReportsRequestBuilder.php index 35efa00cca2..132a5143644 100644 --- a/src/Generated/Reports/ReportsRequestBuilder.php +++ b/src/Generated/Reports/ReportsRequestBuilder.php @@ -1135,7 +1135,7 @@ public function toGetRequestInformation(?ReportsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -1154,7 +1154,7 @@ public function toPatchRequestInformation(ReportRoot $body, ?ReportsRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.php b/src/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.php index 1a252629289..b7ce2fa63cf 100644 --- a/src/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.php +++ b/src/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAttackSimulationRepeatOffendersReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.php b/src/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.php index 257af12f6a5..050a9955f44 100644 --- a/src/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.php +++ b/src/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAttackSimulationSimulationUserCovera } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.php b/src/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.php index 26f7074466e..2abf3e0af3c 100644 --- a/src/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.php +++ b/src/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAttackSimulationTrainingUserCoverage } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Reports/Security/SecurityRequestBuilder.php b/src/Generated/Reports/Security/SecurityRequestBuilder.php index 02f197c7345..6e8395b9a24 100644 --- a/src/Generated/Reports/Security/SecurityRequestBuilder.php +++ b/src/Generated/Reports/Security/SecurityRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?SecurityRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?SecurityRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(SecurityReportsRoot $body, ?SecurityRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/DirectoryRequestBuilder.php b/src/Generated/RoleManagement/Directory/DirectoryRequestBuilder.php index 5cef67b4e10..14bcba86272 100644 --- a/src/Generated/RoleManagement/Directory/DirectoryRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/DirectoryRequestBuilder.php @@ -162,7 +162,7 @@ public function toDeleteRequestInformation(?DirectoryRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -183,7 +183,7 @@ public function toGetRequestInformation(?DirectoryRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -202,7 +202,7 @@ public function toPatchRequestInformation(RbacApplication $body, ?DirectoryReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php index c1dae6d2834..3cc4f53aee2 100644 --- a/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UnifiedRbacResourceActionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UnifiedRbacResourceActionItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UnifiedRbacResourceAction $body, ?Unif $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php b/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php index 3a8cda91026..882347cf10f 100644 --- a/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceActionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRbacResourceAction $body, ?Resou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php index 9396ce63931..e1a3d6072c9 100644 --- a/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UnifiedRbacResourceNamespaceItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UnifiedRbacResourceNamespaceItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UnifiedRbacResourceNamespace $body, ?U $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/ResourceNamespaces/ResourceNamespacesRequestBuilder.php b/src/Generated/RoleManagement/Directory/ResourceNamespaces/ResourceNamespacesRequestBuilder.php index e21d6d0a84d..8d9a8e9e40b 100644 --- a/src/Generated/RoleManagement/Directory/ResourceNamespaces/ResourceNamespacesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/ResourceNamespaces/ResourceNamespacesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceNamespacesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRbacResourceNamespace $body, ?Re $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 653f0d9d524..cc78e8e4579 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index bc62a1b9732..c70afb7a262 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php index e517d8f454c..52a800023c8 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 11a43579073..3a0e4a0a2d4 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php index e383c88ab36..f957e88537a 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index a4328905081..9bd69c3076a 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php index 2b433d385c0..32e2d597d7c 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderD } /** - * Get the instance of an active role assignment. This API is available in the following national cloud deployments. + * Get the instance of an active role assignment. * @param UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentScheduleInstanc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the instance of an active role assignment. This API is available in the following national cloud deployments. + * Get the instance of an active role assignment. * @param UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentScheduleInstanceIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignmentScheduleInstance $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php index 627ae0c4028..c2150682c72 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instance of an active role assignment. This API is available in the following national cloud deployments. + * Get the instance of an active role assignment. */ class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php index f88fd9a71a1..a9a92e06682 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. * @param RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleAssignmentScheduleInstance $body, ?RoleAssignmen } /** - * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. * @param RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleAssignmentScheduleInstancesRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleAssignmentScheduleInstance $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php index 2c44f83b7a8..cd75317b38c 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. */ class RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 0c65b886fc1..308f9db457f 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 1359e282a02..db6b6864837 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php index f87a8bc5ed5..da96650837a 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php index 32c223ea5d9..8d644a35100 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 36972ada270..d0b4dc44d5d 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php index f458fb42223..82ec69bb20f 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 17cfdac0c1b..900d8211349 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php index 58e925ea1c2..2c960a1b68a 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetScheduleRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php index 9a79a1e2100..87ed4f67cc0 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php @@ -102,7 +102,7 @@ public function delete(?UnifiedRoleAssignmentScheduleRequestItemRequestBuilderDe } /** - * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. * @param UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -147,12 +147,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentScheduleRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. * @param UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,7 +168,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentScheduleRequestIte } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -187,7 +187,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignmentScheduleRequest $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php index 6dc03acba8f..c6ecaba58f3 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. */ class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php index e62da287e64..481e9727515 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. * @param RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfi } /** - * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. * @param UnifiedRoleAssignmentScheduleRequest $body The request body * @param RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(UnifiedRoleAssignmentScheduleRequest $body, ?RoleAssignment } /** - * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. * @param RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?RoleAssignmentScheduleRequestsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. * @param UnifiedRoleAssignmentScheduleRequest $body The request body * @param RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(UnifiedRoleAssignmentScheduleRequest $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php index 7c0b67f4bee..d61e805bba0 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. */ class RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index f125c834206..bc1859ed27a 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index fddec662c41..be85c18a5dc 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php index 124d202e6d8..dbcc1815ee2 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 0e38cbbb0c0..c589d03ee6c 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php index e7a500b3849..90fbfc1b231 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 320629f6620..67592b90686 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php index 550021fcd6d..39aa4eeed1e 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?UnifiedRoleAssignmentScheduleItemRequestBuilderDeleteReq } /** - * Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for an active role assignment operation. * @param UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentScheduleItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for an active role assignment operation. * @param UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentScheduleItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignmentSchedule $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php index f8c4f471b9f..e673328cb35 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for an active role assignment operation. */ class UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php index 2e3469628e1..7b8a6a7b018 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + * Get the schedules for active role assignment operations. * @param RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleAssignmentSchedule $body, ?RoleAssignmentSchedul } /** - * Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + * Get the schedules for active role assignment operations. * @param RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleAssignmentSchedulesRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleAssignmentSchedule $body, ?R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php index 86d9ba295ff..60706e3c291 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + * Get the schedules for active role assignment operations. */ class RoleAssignmentSchedulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php index 8913b759d18..5207edf4f84 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AppScopeRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AppScope $body, ?AppScopeRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 8b03aa53b72..f8091d3791d 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php index 27332156100..bcc87d6afd7 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 33d51109426..cf1d17733c9 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php index 2b2bcf33351..7d6939d3bd7 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Delete a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -111,7 +111,7 @@ public function patch(UnifiedRoleAssignment $body, ?UnifiedRoleAssignmentItemReq } /** - * Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Delete a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,12 +124,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,7 +145,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -164,7 +164,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignment $body, ?UnifiedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php index 312c7c0aa50..15b532fe0b5 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a unifiedRoleAssignment object. */ class UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilder.php index f5187348bc6..47206677026 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RoleAssignmentsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Create a new unifiedRoleAssignment object. * @param UnifiedRoleAssignment $body The request body * @param RoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UnifiedRoleAssignment $body, ?RoleAssignmentsRequestBuilder } /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RoleAssignmentsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Create a new unifiedRoleAssignment object. * @param UnifiedRoleAssignment $body The request body * @param RoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UnifiedRoleAssignment $body, ?RoleAssig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php index 9e3fed9a9d0..20d2a807fb4 100644 --- a/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) */ class RoleAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php index f9870baec92..f68bbb9c0ba 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?InheritsPermissionsFromRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRoleDefinition $body, ?InheritsP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php index 8399bb4f995..26edca8c791 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UnifiedRoleDefinitionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UnifiedRoleDefinitionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UnifiedRoleDefinition $body, ?UnifiedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php index 86a2c09d7a5..ad2d3a96ede 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConf } /** - * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: This API is available in the following national cloud deployments. + * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: * @param UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?UnifiedRoleDefinitionItemRequestBuilderGetRequestConfigurat } /** - * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(UnifiedRoleDefinition $body, ?UnifiedRoleDefinitionItemReq } /** - * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?UnifiedRoleDefinitionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: This API is available in the following national cloud deployments. + * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: * @param UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?UnifiedRoleDefinitionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(UnifiedRoleDefinition $body, ?UnifiedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php index d1c859d8105..5d1dcd31eae 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: This API is available in the following national cloud deployments. + * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: */ class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php index f83f8bedd10..fa9624596d9 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UnifiedRoleDefinition $body, ?RoleDefinitionsRequestBuilder } /** - * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UnifiedRoleDefinition $body, ?RoleDefin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 651f509084c..29df00e1691 100644 --- a/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index a342aa705ba..aa6f7589327 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php index 5f2df41b717..9104cfb249c 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index a674ca0aed5..99a94864a7e 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php index 0d49e4e283f..d007ad64819 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 7a5b7c58f61..3984e307ab5 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php index f8b93d6b68f..8826985cebe 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder } /** - * Get the instance of a role eligibility. This API is available in the following national cloud deployments. + * Get the instance of a role eligibility. * @param UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?UnifiedRoleEligibilityScheduleInstan $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the instance of a role eligibility. This API is available in the following national cloud deployments. + * Get the instance of a role eligibility. * @param UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?UnifiedRoleEligibilityScheduleInstanceI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(UnifiedRoleEligibilityScheduleInstance $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php index df77a58cfba..3dd903be758 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instance of a role eligibility. This API is available in the following national cloud deployments. + * Get the instance of a role eligibility. */ class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php index 885b4526a52..c084551eeb3 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the instances of role eligibilities. This API is available in the following national cloud deployments. + * Get the instances of role eligibilities. * @param RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleEligibilityScheduleInstance $body, ?RoleEligibil } /** - * Get the instances of role eligibilities. This API is available in the following national cloud deployments. + * Get the instances of role eligibilities. * @param RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleEligibilityScheduleInstancesRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleEligibilityScheduleInstance $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php index 4e9a77424ca..42721483cc5 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instances of role eligibilities. This API is available in the following national cloud deployments. + * Get the instances of role eligibilities. */ class RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 4134d4c725c..917f1119290 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php index a1a90d6f716..187a4a43bbe 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php index 7ec786fd422..f66f5439c86 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index ed4bdc74dce..bf7da987ed2 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php index 8b23494217b..33248609231 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index df7fbd7996e..0d37fc7ebfb 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php index b1be8f62fb7..eba540316b4 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetScheduleRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php index dd40ec24005..970a7ad4546 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?UnifiedRoleEligibilityScheduleRequestItemRequestBuilderD } /** - * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. * @param UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -139,12 +139,12 @@ public function toDeleteRequestInformation(?UnifiedRoleEligibilityScheduleReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. * @param UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -160,7 +160,7 @@ public function toGetRequestInformation(?UnifiedRoleEligibilityScheduleRequestIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -179,7 +179,7 @@ public function toPatchRequestInformation(UnifiedRoleEligibilityScheduleRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php index df2a8f22e7e..00555689354 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. */ class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php index 54159600af6..97f21965422 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. * @param RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?RoleEligibilityScheduleRequestsRequestBuilderGetRequestConf } /** - * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. * @param UnifiedRoleEligibilityScheduleRequest $body The request body * @param RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(UnifiedRoleEligibilityScheduleRequest $body, ?RoleEligibili } /** - * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. * @param RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?RoleEligibilityScheduleRequestsRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. * @param UnifiedRoleEligibilityScheduleRequest $body The request body * @param RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(UnifiedRoleEligibilityScheduleRequest $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php index 7a573b036b2..1dfc6ed9fa1 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. */ class RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index f36a39eb3d0..10af4d8b4cf 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php index 9f1a0a87038..cff7319a247 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index aba760d1e7d..ad224894575 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php index 86ce7f50eb6..a3c6b815469 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index cbebfcdc64d..52a40b67a3b 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php index 7cc86abb258..d899feb1500 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?UnifiedRoleEligibilityScheduleItemRequestBuilderDeleteRe } /** - * Retrieve the schedule for a role eligibility operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for a role eligibility operation. * @param UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?UnifiedRoleEligibilityScheduleItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the schedule for a role eligibility operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for a role eligibility operation. * @param UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?UnifiedRoleEligibilityScheduleItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(UnifiedRoleEligibilitySchedule $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php index b710bee2007..1f5854da5c6 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the schedule for a role eligibility operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for a role eligibility operation. */ class UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php index 8d308b1ec9e..2787bd85b97 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. This API is available in the following national cloud deployments. + * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. * @param RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleEligibilitySchedule $body, ?RoleEligibilitySched } /** - * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. This API is available in the following national cloud deployments. + * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. * @param RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleEligibilitySchedulesRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleEligibilitySchedule $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php index 8d1b0f39e4e..b2dcb6d65b0 100644 --- a/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/Directory/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. This API is available in the following national cloud deployments. + * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. */ class RoleEligibilitySchedulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.php index a87993f3faf..005dd05a7f5 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.php @@ -162,7 +162,7 @@ public function toDeleteRequestInformation(?EntitlementManagementRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -183,7 +183,7 @@ public function toGetRequestInformation(?EntitlementManagementRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -202,7 +202,7 @@ public function toPatchRequestInformation(RbacApplication $body, ?EntitlementMan $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php index dfeb665f83e..f9e755aa669 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UnifiedRbacResourceActionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UnifiedRbacResourceActionItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UnifiedRbacResourceAction $body, ?Unif $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php index 4cf99e5a1c5..7aa0d7b4ceb 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceActionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRbacResourceAction $body, ?Resou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php index 9b265a83048..be05ac9280c 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UnifiedRbacResourceNamespaceItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UnifiedRbacResourceNamespaceItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UnifiedRbacResourceNamespace $body, ?U $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.php index 11e4a4614d2..64a368fcf68 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourceNamespacesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRbacResourceNamespace $body, ?Re $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index cad096811fd..390b23d5164 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 0356104600e..b31d0609ed2 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php index e69387c8f54..a27caf2fa83 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index d2d89c72e0b..d8544e321f7 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php index 38e80ca686f..23e92ee5d2c 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 4d63ac227e8..7e1452fa69b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php index 651a2a84045..8868b7be6e5 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderD } /** - * Get the instance of an active role assignment. This API is available in the following national cloud deployments. + * Get the instance of an active role assignment. * @param UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentScheduleInstanc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the instance of an active role assignment. This API is available in the following national cloud deployments. + * Get the instance of an active role assignment. * @param UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentScheduleInstanceIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignmentScheduleInstance $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php index febc6818632..17d7a910ede 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instance of an active role assignment. This API is available in the following national cloud deployments. + * Get the instance of an active role assignment. */ class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php index de284e5a56f..49cb18a98ba 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. * @param RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleAssignmentScheduleInstance $body, ?RoleAssignmen } /** - * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. * @param RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleAssignmentScheduleInstancesRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleAssignmentScheduleInstance $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php index 69125bcf94a..3236a3abbbb 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + * Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. */ class RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index a48f4b1e755..39d99e7286e 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 8f383bb972b..c40be349224 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php index 3eb5675b2e2..d07143e7763 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php index e9affd4ca60..3ba99db0364 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 603e18f78aa..272b3dadf99 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php index 4a0f16ad19f..24849bd62ab 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 4b6d49a23da..332ed7f40b2 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php index 9f55f51ccc9..1a61af2a645 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetScheduleRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php index 1049b9ebcc8..18bbddb02fb 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.php @@ -102,7 +102,7 @@ public function delete(?UnifiedRoleAssignmentScheduleRequestItemRequestBuilderDe } /** - * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. * @param UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -147,12 +147,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentScheduleRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. * @param UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,7 +168,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentScheduleRequestIte } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -187,7 +187,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignmentScheduleRequest $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php index 74f8196c79e..dd83ec748f6 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. */ class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php index eeb1c666afa..81c4c6b98c7 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. * @param RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfi } /** - * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. * @param UnifiedRoleAssignmentScheduleRequest $body The request body * @param RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(UnifiedRoleAssignmentScheduleRequest $body, ?RoleAssignment } /** - * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. * @param RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?RoleAssignmentScheduleRequestsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + * In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object: To call this API to update, renew, and extend assignments for yourself, you must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. * @param UnifiedRoleAssignmentScheduleRequest $body The request body * @param RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(UnifiedRoleAssignmentScheduleRequest $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php index 55fe9fec04b..541be28ec1a 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + * Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. */ class RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index 820affad906..78f19875fd2 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php index 4943099fc8d..b593a5c2d2b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivatedUsingRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php index 39e963425df..48c7597b846 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 5275e6b1805..013a7ee6182 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php index aaa228af450..960f5569e18 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 6875ded03ce..c49464d520d 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php index 3862211b768..0612d3fa746 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?UnifiedRoleAssignmentScheduleItemRequestBuilderDeleteReq } /** - * Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for an active role assignment operation. * @param UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentScheduleItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for an active role assignment operation. * @param UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentScheduleItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignmentSchedule $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php index 43b809afacd..110f76d4976 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for an active role assignment operation. */ class UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php index 19ffd3cc450..27db5a4f09c 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + * Get the schedules for active role assignment operations. * @param RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleAssignmentSchedule $body, ?RoleAssignmentSchedul } /** - * Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + * Get the schedules for active role assignment operations. * @param RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleAssignmentSchedulesRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleAssignmentSchedule $body, ?R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php index 331e6a9fb9f..0be2f66c9e2 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + * Get the schedules for active role assignment operations. */ class RoleAssignmentSchedulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php index 1dd83d162e0..5bddcf53303 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AppScopeRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AppScope $body, ?AppScopeRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 1d5761799f3..a65eb25b4ce 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php index a0d60566fd4..e0fefea8d5e 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index d89c25cc50a..549769605a6 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php index c03837f80a4..82df5441696 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Delete a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -111,7 +111,7 @@ public function patch(UnifiedRoleAssignment $body, ?UnifiedRoleAssignmentItemReq } /** - * Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Delete a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,12 +124,12 @@ public function toDeleteRequestInformation(?UnifiedRoleAssignmentItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a unifiedRoleAssignment object. * @param UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,7 +145,7 @@ public function toGetRequestInformation(?UnifiedRoleAssignmentItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -164,7 +164,7 @@ public function toPatchRequestInformation(UnifiedRoleAssignment $body, ?UnifiedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php index 9d7c5da4a0a..cc2509fa078 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a unifiedRoleAssignment object. */ class UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php index 2ca044273e7..60bc4dc761b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RoleAssignmentsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Create a new unifiedRoleAssignment object. * @param UnifiedRoleAssignment $body The request body * @param RoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UnifiedRoleAssignment $body, ?RoleAssignmentsRequestBuilder } /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RoleAssignmentsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + * Create a new unifiedRoleAssignment object. * @param UnifiedRoleAssignment $body The request body * @param RoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UnifiedRoleAssignment $body, ?RoleAssig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php index 27969178525..8527346414d 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) */ class RoleAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php index abf994d2daf..dedc972ebfa 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?InheritsPermissionsFromRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(UnifiedRoleDefinition $body, ?InheritsP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php index a9d75a162de..bf048a6f1d7 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UnifiedRoleDefinitionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UnifiedRoleDefinitionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UnifiedRoleDefinition $body, ?UnifiedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php index aea1a2e1360..3b011032e6d 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConf } /** - * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: This API is available in the following national cloud deployments. + * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: * @param UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?UnifiedRoleDefinitionItemRequestBuilderGetRequestConfigurat } /** - * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(UnifiedRoleDefinition $body, ?UnifiedRoleDefinitionItemReq } /** - * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?UnifiedRoleDefinitionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: This API is available in the following national cloud deployments. + * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: * @param UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?UnifiedRoleDefinitionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(UnifiedRoleDefinition $body, ?UnifiedR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php index 8ea5124b122..e5896105ce6 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: This API is available in the following national cloud deployments. + * Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: */ class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index dd0a93d38fd..b0711d5bdb3 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UnifiedRoleDefinition $body, ?RoleDefinitionsRequestBuilder } /** - * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. This API is available in the following national cloud deployments. + * Create a new custom unifiedRoleDefinition object. This feature requires a Microsoft Entra ID P1 or P2 license. * @param UnifiedRoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UnifiedRoleDefinition $body, ?RoleDefin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index ad457cf1944..65731489cee 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) This API is available in the following national cloud deployments. + * Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index a422cf7b359..645525495bb 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php index 8fd6beab373..5a90d2daab4 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index d6fc6a9f0c9..fe7cf049e90 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php index 5e022a96775..1400349f77a 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index cb2596d3a70..3c7a42cd5fc 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php index 80022f310b4..813d91164fc 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder } /** - * Get the instance of a role eligibility. This API is available in the following national cloud deployments. + * Get the instance of a role eligibility. * @param UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?UnifiedRoleEligibilityScheduleInstan $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the instance of a role eligibility. This API is available in the following national cloud deployments. + * Get the instance of a role eligibility. * @param UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?UnifiedRoleEligibilityScheduleInstanceI } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(UnifiedRoleEligibilityScheduleInstance $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php index 4e2ee7909d1..08aa81f6e6b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instance of a role eligibility. This API is available in the following national cloud deployments. + * Get the instance of a role eligibility. */ class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php index 104dbc842e2..5b88a97e7ba 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the instances of role eligibilities. This API is available in the following national cloud deployments. + * Get the instances of role eligibilities. * @param RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleEligibilityScheduleInstance $body, ?RoleEligibil } /** - * Get the instances of role eligibilities. This API is available in the following national cloud deployments. + * Get the instances of role eligibilities. * @param RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleEligibilityScheduleInstancesRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleEligibilityScheduleInstance $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php index f57e3d17ec5..596b30e88f1 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the instances of role eligibilities. This API is available in the following national cloud deployments. + * Get the instances of role eligibilities. */ class RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index be4c85b0833..7c8f35f0740 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php index ecff66b3d6f..10d90774163 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php index 310142fcafc..e4d1d59dad6 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CancelRequestBuilderPostRequestConfiguration $requestConfi } /** - * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + * Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CancelRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index 5a32791e23e..e37ba89d8ed 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php index 41f746e215b..48d53b249a4 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index 7183686bd17..56eb543fd2b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php index 6452c1c2a83..43893e4832e 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TargetScheduleRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php index adc5938de30..45ccfd25d88 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?UnifiedRoleEligibilityScheduleRequestItemRequestBuilderD } /** - * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. * @param UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -139,12 +139,12 @@ public function toDeleteRequestInformation(?UnifiedRoleEligibilityScheduleReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. * @param UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -160,7 +160,7 @@ public function toGetRequestInformation(?UnifiedRoleEligibilityScheduleRequestIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -179,7 +179,7 @@ public function toPatchRequestInformation(UnifiedRoleEligibilityScheduleRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php index 27e96bf3001..05bf160a49b 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. */ class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php index 3a5f7761d94..bdcef0c97b4 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. * @param RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?RoleEligibilityScheduleRequestsRequestBuilderGetRequestConf } /** - * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. * @param UnifiedRoleEligibilityScheduleRequest $body The request body * @param RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -95,7 +95,7 @@ public function post(UnifiedRoleEligibilityScheduleRequest $body, ?RoleEligibili } /** - * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. * @param RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -111,12 +111,12 @@ public function toGetRequestInformation(?RoleEligibilityScheduleRequestsRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + * In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. * @param UnifiedRoleEligibilityScheduleRequest $body The request body * @param RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -130,7 +130,7 @@ public function toPostRequestInformation(UnifiedRoleEligibilityScheduleRequest $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php index 5a781679ac6..b9086b06e4e 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + * In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. */ class RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php index e266e1030fe..888de479026 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?FilterByCurrentUserWithOnRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php index 0fc31c52da8..64fba1b221c 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AppScopeRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php index d2b6c2d8bb0..ae92f59ca0a 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DirectoryScopeRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php index d5d9e676d7f..0eb28e9837a 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PrincipalRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php index cb8e3fd2bfe..bd9e55c7e7a 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RoleDefinitionRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php index 3ee1d13b031..b24e04fe523 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?UnifiedRoleEligibilityScheduleItemRequestBuilderDeleteRe } /** - * Retrieve the schedule for a role eligibility operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for a role eligibility operation. * @param UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?UnifiedRoleEligibilityScheduleItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the schedule for a role eligibility operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for a role eligibility operation. * @param UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?UnifiedRoleEligibilityScheduleItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(UnifiedRoleEligibilitySchedule $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php index 40a8958b75b..ef42e49e178 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the schedule for a role eligibility operation. This API is available in the following national cloud deployments. + * Retrieve the schedule for a role eligibility operation. */ class UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php index 84ab1d18359..be2b2c3042c 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.php @@ -62,7 +62,7 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. This API is available in the following national cloud deployments. + * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. * @param RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -94,7 +94,7 @@ public function post(UnifiedRoleEligibilitySchedule $body, ?RoleEligibilitySched } /** - * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. This API is available in the following national cloud deployments. + * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. * @param RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +110,7 @@ public function toGetRequestInformation(?RoleEligibilitySchedulesRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPostRequestInformation(UnifiedRoleEligibilitySchedule $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php index cbec861f642..c3ce8bd6925 100644 --- a/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. This API is available in the following national cloud deployments. + * Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. */ class RoleEligibilitySchedulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/RoleManagementRequestBuilder.php b/src/Generated/RoleManagement/RoleManagementRequestBuilder.php index 2095791f26f..35bcae80528 100644 --- a/src/Generated/RoleManagement/RoleManagementRequestBuilder.php +++ b/src/Generated/RoleManagement/RoleManagementRequestBuilder.php @@ -94,7 +94,7 @@ public function toGetRequestInformation(?RoleManagementRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toPatchRequestInformation(RoleManagement $body, ?RoleManagementR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.php b/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.php index c7a11e8b752..e207a5774f0 100644 --- a/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.php +++ b/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. This API is available in the following national cloud deployments. + * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. * @param SchemaExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?SchemaExtensionItemRequestBuilderDeleteRequestConfigurat } /** - * This API is available in the following national cloud deployments. + * Get schemaExtension * @param SchemaExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?SchemaExtensionItemRequestBuilderGetRequestConfiguration $r } /** - * Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. This API is available in the following national cloud deployments. + * Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. * @param SchemaExtension $body The request body * @param SchemaExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(SchemaExtension $body, ?SchemaExtensionItemRequestBuilderP } /** - * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. This API is available in the following national cloud deployments. + * Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. * @param SchemaExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?SchemaExtensionItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * This API is available in the following national cloud deployments. + * Get schemaExtension * @param SchemaExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?SchemaExtensionItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. This API is available in the following national cloud deployments. + * Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. * @param SchemaExtension $body The request body * @param SchemaExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(SchemaExtension $body, ?SchemaExtensio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilderGetQueryParameters.php index e6e9f46a77e..0985bae9265 100644 --- a/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * This API is available in the following national cloud deployments. + * Get schemaExtension */ class SchemaExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php b/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php index de1b72fbdc5..f014721b09d 100644 --- a/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php +++ b/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: This API is available in the following national cloud deployments. + * Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: * @param SchemaExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SchemaExtensionsRequestBuilderGetRequestConfiguration $requ } /** - * Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. This API is available in the following national cloud deployments. + * Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. * @param SchemaExtension $body The request body * @param SchemaExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SchemaExtension $body, ?SchemaExtensionsRequestBuilderPostR } /** - * Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: This API is available in the following national cloud deployments. + * Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: * @param SchemaExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SchemaExtensionsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. This API is available in the following national cloud deployments. + * Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. * @param SchemaExtension $body The request body * @param SchemaExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SchemaExtension $body, ?SchemaExtension $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilderGetQueryParameters.php index 6a05c0a23ef..08a9a8ec624 100644 --- a/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/SchemaExtensions/SchemaExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: This API is available in the following national cloud deployments. + * Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions: */ class SchemaExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.php b/src/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.php index 6ea0b7cddef..c608a2f7caf 100644 --- a/src/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.php +++ b/src/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ScopedRoleMembershipItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ScopedRoleMembershipItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ScopedRoleMembership $body, ?ScopedRol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.php b/src/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.php index 6f9281126c8..2fa297605b8 100644 --- a/src/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.php +++ b/src/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopedRoleMembershipsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ScopedRoleMembership $body, ?ScopedRole $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Search/Query/QueryRequestBuilder.php b/src/Generated/Search/Query/QueryRequestBuilder.php index 44bd79e26f0..38a758ea46e 100644 --- a/src/Generated/Search/Query/QueryRequestBuilder.php +++ b/src/Generated/Search/Query/QueryRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Runs the query specified in the request body. Search results are provided in the response. This API is available in the following national cloud deployments. + * Runs the query specified in the request body. Search results are provided in the response. * @param QueryPostRequestBody $body The request body * @param QueryRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(QueryPostRequestBody $body, ?QueryRequestBuilderPostRequest } /** - * Runs the query specified in the request body. Search results are provided in the response. This API is available in the following national cloud deployments. + * Runs the query specified in the request body. Search results are provided in the response. * @param QueryPostRequestBody $body The request body * @param QueryRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(QueryPostRequestBody $body, ?QueryReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Search/SearchRequestBuilder.php b/src/Generated/Search/SearchRequestBuilder.php index 06a23162be5..66a5883625e 100644 --- a/src/Generated/Search/SearchRequestBuilder.php +++ b/src/Generated/Search/SearchRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?SearchRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(SearchEntity $body, ?SearchRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Alerts/AlertsRequestBuilder.php b/src/Generated/Security/Alerts/AlertsRequestBuilder.php index cec99ba5247..025106cffd0 100644 --- a/src/Generated/Security/Alerts/AlertsRequestBuilder.php +++ b/src/Generated/Security/Alerts/AlertsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of alert objects. This API is available in the following national cloud deployments. + * Retrieve a list of alert objects. * @param AlertsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Alert $body, ?AlertsRequestBuilderPostRequestConfiguration } /** - * Retrieve a list of alert objects. This API is available in the following national cloud deployments. + * Retrieve a list of alert objects. * @param AlertsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AlertsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Alert $body, ?AlertsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Alerts/AlertsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Alerts/AlertsRequestBuilderGetQueryParameters.php index ec61e05c457..589da7c7da9 100644 --- a/src/Generated/Security/Alerts/AlertsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Alerts/AlertsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of alert objects. This API is available in the following national cloud deployments. + * Retrieve a list of alert objects. */ class AlertsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php b/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php index c84bf4b40be..51b9d9a35d1 100644 --- a/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php +++ b/src/Generated/Security/Alerts/Item/AlertItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of an alert object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an alert object. * @param AlertItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?AlertItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. This API is available in the following national cloud deployments. + * Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. * @param Alert $body The request body * @param AlertItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -64,7 +64,7 @@ public function patch(Alert $body, ?AlertItemRequestBuilderPatchRequestConfigura } /** - * Retrieve the properties and relationships of an alert object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an alert object. * @param AlertItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -80,12 +80,12 @@ public function toGetRequestInformation(?AlertItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. This API is available in the following national cloud deployments. + * Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. * @param Alert $body The request body * @param AlertItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -99,7 +99,7 @@ public function toPatchRequestInformation(Alert $body, ?AlertItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Alerts/Item/AlertItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Alerts/Item/AlertItemRequestBuilderGetQueryParameters.php index 8f684f64165..7490638fa23 100644 --- a/src/Generated/Security/Alerts/Item/AlertItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Alerts/Item/AlertItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an alert object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an alert object. */ class AlertItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php b/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php index 5e77fe9b6e6..583d5555189 100644 --- a/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php +++ b/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. This API is available in the following national cloud deployments. + * Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. * @param Alerts_v2RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Alert $body, ?Alerts_v2RequestBuilderPostRequestConfigurati } /** - * Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. This API is available in the following national cloud deployments. + * Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. * @param Alerts_v2RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?Alerts_v2RequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Alert $body, ?Alerts_v2RequestBuilderPo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilderGetQueryParameters.php b/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilderGetQueryParameters.php index 2a200c62b17..23db7033af1 100644 --- a/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Alerts_v2/Alerts_v2RequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. This API is available in the following national cloud deployments. + * Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. */ class Alerts_v2RequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php b/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php index d4b63e76244..a4690bf216a 100644 --- a/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php +++ b/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?AlertItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Get the properties and relationships of an alert in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + * Get the properties and relationships of an alert in an organization based on the specified alert id property. * @param AlertItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?AlertItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update the properties of an alert object in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + * Update the properties of an alert object in an organization based on the specified alert id property. * @param Alert $body The request body * @param AlertItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?AlertItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of an alert in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + * Get the properties and relationships of an alert in an organization based on the specified alert id property. * @param AlertItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?AlertItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an alert object in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + * Update the properties of an alert object in an organization based on the specified alert id property. * @param Alert $body The request body * @param AlertItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(Alert $body, ?AlertItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilderGetQueryParameters.php index ad69c6220bb..ace7f151572 100644 --- a/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of an alert in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + * Get the properties and relationships of an alert in an organization based on the specified alert id property. */ class AlertItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.php b/src/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.php index 737b55b2abf..605e6f7a413 100644 --- a/src/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.php +++ b/src/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.php @@ -69,7 +69,7 @@ public function toPostRequestInformation(array $body, ?CommentsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsableCollection($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.php b/src/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.php index 8856631449e..d97bd28e0db 100644 --- a/src/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.php @@ -154,7 +154,7 @@ public function toDeleteRequestInformation(?AttackSimulationRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -175,7 +175,7 @@ public function toGetRequestInformation(?AttackSimulationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -194,7 +194,7 @@ public function toPatchRequestInformation(AttackSimulationRoot $body, ?AttackSim $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.php b/src/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.php index d7cdfadbf67..bcc4204de36 100644 --- a/src/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?EndUserNotificationsRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(EndUserNotification $body, ?EndUserNoti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/DetailsRequestBuilder.php b/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/DetailsRequestBuilder.php index 963e443a0a5..9256d63585e 100644 --- a/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/DetailsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(EndUserNotificationDetail $body, ?Detai $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/Item/EndUserNotificationDetailItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/Item/EndUserNotificationDetailItemRequestBuilder.php index 2e92e9bcdf2..8a381acf10a 100644 --- a/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/Item/EndUserNotificationDetailItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/Details/Item/EndUserNotificationDetailItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?EndUserNotificationDetailItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?EndUserNotificationDetailItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(EndUserNotificationDetail $body, ?EndU $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.php index 65687132e6d..2ab4b566a1c 100644 --- a/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?EndUserNotificationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?EndUserNotificationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(EndUserNotification $body, ?EndUserNot $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.php b/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.php index 6957875360e..3530148eec7 100644 --- a/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(LandingPageDetail $body, ?DetailsReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.php index 93a099db3ca..2007438a483 100644 --- a/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?LandingPageDetailItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?LandingPageDetailItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(LandingPageDetail $body, ?LandingPageD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.php index 65fbc36406d..172c916e271 100644 --- a/src/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?LandingPageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?LandingPageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(LandingPage $body, ?LandingPageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.php b/src/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.php index 7f0084d2a49..335747ded4c 100644 --- a/src/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LandingPagesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(LandingPage $body, ?LandingPagesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.php index 32653778f42..8004730e292 100644 --- a/src/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?LoginPageItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?LoginPageItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(LoginPage $body, ?LoginPageItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.php b/src/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.php index 3d035eefbd6..54ed4fe5826 100644 --- a/src/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LoginPagesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(LoginPage $body, ?LoginPagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.php index b1752723325..12773db6fe9 100644 --- a/src/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.php @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?AttackSimulationOperationItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?AttackSimulationOperationItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(AttackSimulationOperation $body, ?Atta $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.php b/src/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.php index 5d70105bfc7..79216a1e1b4 100644 --- a/src/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(AttackSimulationOperation $body, ?Opera $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.php index aaa667fcecd..69fab6e86aa 100644 --- a/src/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?PayloadItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?PayloadItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Payload $body, ?PayloadItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.php b/src/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.php index 9cce8c9ea6e..044f66177cd 100644 --- a/src/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PayloadsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Payload $body, ?PayloadsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.php index 4fb8a9daa32..39f07db82a1 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?SimulationAutomationRunItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?SimulationAutomationRunItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(SimulationAutomationRun $body, ?Simula $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.php index c7939485e13..777e48270ce 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the attack simulation automation runs for a tenant. This API is available in the following national cloud deployments. + * Get a list of the attack simulation automation runs for a tenant. * @param RunsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SimulationAutomationRun $body, ?RunsRequestBuilderPostReque } /** - * Get a list of the attack simulation automation runs for a tenant. This API is available in the following national cloud deployments. + * Get a list of the attack simulation automation runs for a tenant. * @param RunsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RunsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SimulationAutomationRun $body, ?RunsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilderGetQueryParameters.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilderGetQueryParameters.php index 243e18e712a..e70fc0f8f94 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the attack simulation automation runs for a tenant. This API is available in the following national cloud deployments. + * Get a list of the attack simulation automation runs for a tenant. */ class RunsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php index e9a91465480..6ce2cb70147 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?SimulationAutomationItemRequestBuilderDeleteRequestConfi } /** - * Get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. + * Get an attack simulation automation for a tenant. * @param SimulationAutomationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?SimulationAutomationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. + * Get an attack simulation automation for a tenant. * @param SimulationAutomationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?SimulationAutomationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(SimulationAutomation $body, ?Simulatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilderGetQueryParameters.php index 6e0c5aa29f3..720f39cd1b3 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. + * Get an attack simulation automation for a tenant. */ class SimulationAutomationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php index a5eb61cda1d..5e1990ffac2 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of attack simulation automations for a tenant. This API is available in the following national cloud deployments. + * Get a list of attack simulation automations for a tenant. * @param SimulationAutomationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SimulationAutomation $body, ?SimulationAutomationsRequestBu } /** - * Get a list of attack simulation automations for a tenant. This API is available in the following national cloud deployments. + * Get a list of attack simulation automations for a tenant. * @param SimulationAutomationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SimulationAutomationsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SimulationAutomation $body, ?Simulation $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilderGetQueryParameters.php b/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilderGetQueryParameters.php index 34665d5e533..2d5b8a3810f 100644 --- a/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of attack simulation automations for a tenant. This API is available in the following national cloud deployments. + * Get a list of attack simulation automations for a tenant. */ class SimulationAutomationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.php b/src/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.php index e3cbd6044fc..a48613de16d 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LandingPageRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.php b/src/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.php index d48bbb6b04f..390f6b46a10 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LoginPageRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.php b/src/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.php index 0e0782c1e53..d578f9306ef 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PayloadRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.php index c67c59e0185..f1f241e1515 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.php @@ -71,7 +71,7 @@ public function delete(?SimulationItemRequestBuilderDeleteRequestConfiguration $ } /** - * Get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + * Get an attack simulation campaign for a tenant. * @param SimulationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?SimulationItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + * Get an attack simulation campaign for a tenant. * @param SimulationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,7 +138,7 @@ public function toGetRequestInformation(?SimulationItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Simulation $body, ?SimulationItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilderGetQueryParameters.php index 1a18f5d6067..380af4e056d 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + * Get an attack simulation campaign for a tenant. */ class SimulationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php b/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php index e2357a7bc09..6144686963f 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of attack simulation campaigns for a tenant. This API is available in the following national cloud deployments. + * Get a list of attack simulation campaigns for a tenant. * @param SimulationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -85,7 +85,7 @@ public function post(Simulation $body, ?SimulationsRequestBuilderPostRequestConf } /** - * Get a list of attack simulation campaigns for a tenant. This API is available in the following national cloud deployments. + * Get a list of attack simulation campaigns for a tenant. * @param SimulationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,7 +101,7 @@ public function toGetRequestInformation(?SimulationsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(Simulation $body, ?SimulationsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilderGetQueryParameters.php b/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilderGetQueryParameters.php index 9cffbbca80d..14acb4546e1 100644 --- a/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of attack simulation campaigns for a tenant. This API is available in the following national cloud deployments. + * Get a list of attack simulation campaigns for a tenant. */ class SimulationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.php index 249c9ef054e..c3d922ddc67 100644 --- a/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TrainingLanguageDetailItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TrainingLanguageDetailItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TrainingLanguageDetail $body, ?Trainin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.php b/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.php index b51f17a687a..831f729037d 100644 --- a/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?LanguageDetailsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TrainingLanguageDetail $body, ?Language $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.php b/src/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.php index ff8b2b75804..0974517985b 100644 --- a/src/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TrainingItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TrainingItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Training $body, ?TrainingItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.php b/src/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.php index e62bfab582e..5217da24692 100644 --- a/src/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.php +++ b/src/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TrainingsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Training $body, ?TrainingsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/CasesRequestBuilder.php b/src/Generated/Security/Cases/CasesRequestBuilder.php index b1d2a4e9d66..2347b0ac95b 100644 --- a/src/Generated/Security/Cases/CasesRequestBuilder.php +++ b/src/Generated/Security/Cases/CasesRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?CasesRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?CasesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(CasesRoot $body, ?CasesRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.php index e3e352c596d..642d557cac5 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the ediscoveryCase objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the ediscoveryCase objects and their properties. * @param EdiscoveryCasesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?EdiscoveryCasesRequestBuilderGetRequestConfiguration $reque } /** - * Create a new ediscoveryCase object. This API is available in the following national cloud deployments. + * Create a new ediscoveryCase object. * @param EdiscoveryCase $body The request body * @param EdiscoveryCasesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EdiscoveryCase $body, ?EdiscoveryCasesRequestBuilderPostReq } /** - * Get a list of the ediscoveryCase objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the ediscoveryCase objects and their properties. * @param EdiscoveryCasesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?EdiscoveryCasesRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoveryCase object. This API is available in the following national cloud deployments. + * Create a new ediscoveryCase object. * @param EdiscoveryCase $body The request body * @param EdiscoveryCasesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EdiscoveryCase $body, ?EdiscoveryCasesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilderGetQueryParameters.php index d97130a8ceb..a1cb21cbe3a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the ediscoveryCase objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the ediscoveryCase objects and their properties. */ class EdiscoveryCasesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php index 5d51a971317..ded568ec2c4 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.php @@ -68,7 +68,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the custodian objects and their properties. * @param CustodiansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function get(?CustodiansRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. This API is available in the following national cloud deployments. + * Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. * @param EdiscoveryCustodian $body The request body * @param CustodiansRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,7 +101,7 @@ public function post(EdiscoveryCustodian $body, ?CustodiansRequestBuilderPostReq } /** - * Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the custodian objects and their properties. * @param CustodiansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toGetRequestInformation(?CustodiansRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. This API is available in the following national cloud deployments. + * Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. * @param EdiscoveryCustodian $body The request body * @param CustodiansRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -136,7 +136,7 @@ public function toPostRequestInformation(EdiscoveryCustodian $body, ?CustodiansR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilderGetQueryParameters.php index 827f158210d..66d8cb9cc77 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the custodian objects and their properties. */ class CustodiansRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php index 196a466cf43..0f7c2154942 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.php @@ -118,7 +118,7 @@ public function delete(?EdiscoveryCustodianItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCustodian object. * @param EdiscoveryCustodianItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -163,12 +163,12 @@ public function toDeleteRequestInformation(?EdiscoveryCustodianItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCustodian object. * @param EdiscoveryCustodianItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -184,7 +184,7 @@ public function toGetRequestInformation(?EdiscoveryCustodianItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -203,7 +203,7 @@ public function toPatchRequestInformation(EdiscoveryCustodian $body, ?Ediscovery $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilderGetQueryParameters.php index aa2b2cf49a5..d65a33083d9 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCustodian object. */ class EdiscoveryCustodianItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php index 7e698a1894f..611b3922974 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. * @param LastIndexOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?LastIndexOperationRequestBuilderGetRequestConfiguration $re } /** - * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. * @param LastIndexOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?LastIndexOperationRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php index 034134c51e3..1d4c3056c52 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. */ class LastIndexOperationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.php index 6e6a98e8714..674b4d622f2 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. This API is available in the following national cloud deployments. + * Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. * @param MicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityActivateRequestBuilderPostRequestCon } /** - * Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. This API is available in the following national cloud deployments. + * Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. * @param MicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityActivateRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php index 4dc152b11d5..6ecde646a18 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestCo } /** - * Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityApplyHoldRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php index a84592cbc37..096afe3784d 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Release a custodian from a case. For details, see Release a custodian from a case. This API is available in the following national cloud deployments. + * Release a custodian from a case. For details, see Release a custodian from a case. * @param MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConf } /** - * Release a custodian from a case. For details, see Release a custodian from a case. This API is available in the following national cloud deployments. + * Release a custodian from a case. For details, see Release a custodian from a case. * @param MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityReleaseRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php index 3df983ea8fc..209ee2fd7c1 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestC } /** - * Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityRemoveHoldReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php index 51f7a23244e..1976b98edf3 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Trigger an indexOperation to make a custodian and associated sources searchable. This API is available in the following national cloud deployments. + * Trigger an indexOperation to make a custodian and associated sources searchable. * @param MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequest } /** - * Trigger an indexOperation to make a custodian and associated sources searchable. This API is available in the following national cloud deployments. + * Trigger an indexOperation to make a custodian and associated sources searchable. * @param MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityUpdateIndexReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.php index 36e957e9223..c015e1acd56 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SiteRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.php index 91783d4ef67..fb061672447 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SiteSourceItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SiteSourceItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(SiteSource $body, ?SiteSourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php index dae34f08994..0e904cd0594 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the siteSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the siteSource objects associated with an ediscoveryCustodian. * @param SiteSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SiteSourcesRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new siteSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + * Create a new siteSource object associated with an eDiscovery custodian. * @param SiteSource $body The request body * @param SiteSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SiteSource $body, ?SiteSourcesRequestBuilderPostRequestConf } /** - * Get a list of the siteSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the siteSource objects associated with an ediscoveryCustodian. * @param SiteSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SiteSourcesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new siteSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + * Create a new siteSource object associated with an eDiscovery custodian. * @param SiteSource $body The request body * @param SiteSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SiteSource $body, ?SiteSourcesRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php index 1bf9a43c3b0..a6b5a5c43a5 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the siteSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the siteSource objects associated with an ediscoveryCustodian. */ class SiteSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.php index 10ba6c7a741..f369f43bb0b 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 54ee98dd7e4..d6ef69cbf39 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.php index 0b6a8d5c55c..bf4e93d7df0 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UnifiedGroupSourceItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UnifiedGroupSourceItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UnifiedGroupSource $body, ?UnifiedGrou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php index c81a42c74b5..2919d71628d 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. * @param UnifiedGroupSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?UnifiedGroupSourcesRequestBuilderGetRequestConfiguration $r } /** - * Create a new unifiedGroupSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + * Create a new unifiedGroupSource object associated with an eDiscovery custodian. * @param UnifiedGroupSource $body The request body * @param UnifiedGroupSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UnifiedGroupSource $body, ?UnifiedGroupSourcesRequestBuilde } /** - * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. * @param UnifiedGroupSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?UnifiedGroupSourcesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new unifiedGroupSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + * Create a new unifiedGroupSource object associated with an eDiscovery custodian. * @param UnifiedGroupSource $body The request body * @param UnifiedGroupSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UnifiedGroupSource $body, ?UnifiedGroup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php index d5671a3a7bc..8260ff13d6a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. */ class UnifiedGroupSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.php index 769db93ba61..14fb683b3c9 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?UserSourceItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?UserSourceItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(UserSource $body, ?UserSourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php index e28ffbc7d93..324a8260295 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the userSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the userSource objects associated with an ediscoveryCustodian. * @param UserSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?UserSourcesRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new userSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + * Create a new userSource object associated with an eDiscovery custodian. * @param UserSource $body The request body * @param UserSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UserSource $body, ?UserSourcesRequestBuilderPostRequestConf } /** - * Get a list of the userSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the userSource objects associated with an ediscoveryCustodian. * @param UserSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?UserSourcesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new userSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + * Create a new userSource object associated with an eDiscovery custodian. * @param UserSource $body The request body * @param UserSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UserSource $body, ?UserSourcesRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php index 9147e951a88..c9ad16110d7 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the userSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + * Get a list of the userSource objects associated with an ediscoveryCustodian. */ class UserSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php index 0a44eeebd9a..251a7a2668c 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyHoldPostRequestBody $body, ?Micros $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php index 1bf81e24c14..ec7a083323d 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(RemoveHoldPostRequestBody $body, ?Micro $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php index 12a3a95ca5d..915ca871bb7 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php @@ -103,7 +103,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an ediscoveryCase object. This API is available in the following national cloud deployments. + * Delete an ediscoveryCase object. * @param EdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function delete(?EdiscoveryCaseItemRequestBuilderDeleteRequestConfigurati } /** - * Read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCase object. * @param EdiscoveryCaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function get(?EdiscoveryCaseItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of an ediscoveryCase object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryCase object. * @param EdiscoveryCase $body The request body * @param EdiscoveryCaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -152,7 +152,7 @@ public function patch(EdiscoveryCase $body, ?EdiscoveryCaseItemRequestBuilderPat } /** - * Delete an ediscoveryCase object. This API is available in the following national cloud deployments. + * Delete an ediscoveryCase object. * @param EdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -165,12 +165,12 @@ public function toDeleteRequestInformation(?EdiscoveryCaseItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCase object. * @param EdiscoveryCaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -186,12 +186,12 @@ public function toGetRequestInformation(?EdiscoveryCaseItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an ediscoveryCase object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryCase object. * @param EdiscoveryCase $body The request body * @param EdiscoveryCaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -205,7 +205,7 @@ public function toPatchRequestInformation(EdiscoveryCase $body, ?EdiscoveryCaseI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilderGetQueryParameters.php index efdb0b31729..04d21db697e 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCase object. */ class EdiscoveryCaseItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php index e8459a8fb1e..5f9e96d9269 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Close an eDiscovery case. For details, see Close a case. This API is available in the following national cloud deployments. + * Close an eDiscovery case. For details, see Close a case. * @param MicrosoftGraphSecurityCloseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityCloseRequestBuilderPostRequestConfig } /** - * Close an eDiscovery case. For details, see Close a case. This API is available in the following national cloud deployments. + * Close an eDiscovery case. For details, see Close a case. * @param MicrosoftGraphSecurityCloseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityCloseRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.php index 4978e7c2b6c..49a5dfee8cf 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. This API is available in the following national cloud deployments. + * Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. * @param MicrosoftGraphSecurityReopenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityReopenRequestBuilderPostRequestConfi } /** - * Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. This API is available in the following national cloud deployments. + * Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. * @param MicrosoftGraphSecurityReopenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityReopenRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php index 799532400ff..94c5006cbc5 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DataSourceRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DataSourceRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DataSource $body, ?DataSourceRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php index 777465a46bb..c62553cc26e 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?EdiscoveryNoncustodialDataSourceItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?EdiscoveryNoncustodialDataSourceItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(EdiscoveryNoncustodialDataSource $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php index 37a77bcfbdf..f5d1cca02fa 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LastIndexOperationRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php index 13643a53a3c..f68a5a9f02c 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestCo } /** - * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityApplyHoldRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php index 88803e22dcc..9f506087b08 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Release the non-custodial data source from the case. This API is available in the following national cloud deployments. + * Release the non-custodial data source from the case. * @param MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConf } /** - * Release the non-custodial data source from the case. This API is available in the following national cloud deployments. + * Release the non-custodial data source from the case. * @param MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityReleaseRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php index e2fe896962b..4bcd7b0c5f7 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestC } /** - * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + * Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. * @param MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityRemoveHoldReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php index ac7f975b985..01d1edda4e5 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Trigger an indexOperation to make a non-custodial data source and its associated data source searchable. This API is available in the following national cloud deployments. + * Trigger an indexOperation to make a non-custodial data source and its associated data source searchable. * @param MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequest } /** - * Trigger an indexOperation to make a non-custodial data source and its associated data source searchable. This API is available in the following national cloud deployments. + * Trigger an indexOperation to make a non-custodial data source and its associated data source searchable. * @param MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityUpdateIndexReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php index 3723a53ae67..dcd5f2007fb 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ApplyHoldPostRequestBody $body, ?Micros $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php index 61e4f634619..b3f242f4b31 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(RemoveHoldPostRequestBody $body, ?Micro $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.php index 26788637971..fc52ff6d491 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.php @@ -83,7 +83,7 @@ public function get(?NoncustodialDataSourcesRequestBuilderGetRequestConfiguratio } /** - * Create a new ediscoveryNoncustodialDataSource object. This API is available in the following national cloud deployments. + * Create a new ediscoveryNoncustodialDataSource object. * @param EdiscoveryNoncustodialDataSource $body The request body * @param NoncustodialDataSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -116,12 +116,12 @@ public function toGetRequestInformation(?NoncustodialDataSourcesRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoveryNoncustodialDataSource object. This API is available in the following national cloud deployments. + * Create a new ediscoveryNoncustodialDataSource object. * @param EdiscoveryNoncustodialDataSource $body The request body * @param NoncustodialDataSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -135,7 +135,7 @@ public function toPostRequestInformation(EdiscoveryNoncustodialDataSource $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.php index cbc158108ef..8f48b77b413 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?CaseOperationItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a caseOperation object. * @param CaseOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?CaseOperationItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a caseOperation object. * @param CaseOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?CaseOperationItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(CaseOperation $body, ?CaseOperationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilderGetQueryParameters.php index 93917e289a0..239ffb9dc23 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a caseOperation object. */ class CaseOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php index 580a01fba19..ce78fce8085 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the caseOperation objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the caseOperation objects and their properties. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(CaseOperation $body, ?OperationsRequestBuilderPostRequestCo } /** - * Get a list of the caseOperation objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the caseOperation objects and their properties. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(CaseOperation $body, ?OperationsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index 529d00e1ebb..66cf2842e3e 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the caseOperation objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the caseOperation objects and their properties. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php index 24f7fcaefb5..744ef9bce13 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?EdiscoveryReviewSetItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewSet object. * @param EdiscoveryReviewSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?EdiscoveryReviewSetItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewSet object. * @param EdiscoveryReviewSetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?EdiscoveryReviewSetItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(EdiscoveryReviewSet $body, ?Ediscovery $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilderGetQueryParameters.php index eac4a1cd972..7e63f7338f1 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewSet object. */ class EdiscoveryReviewSetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.php index 86ed45f0fa8..e6462d907c8 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. This API is available in the following national cloud deployments. + * Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. * @param AddToReviewSetPostRequestBody $body The request body * @param MicrosoftGraphSecurityAddToReviewSetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddToReviewSetPostRequestBody $body, ?MicrosoftGraphSecurit } /** - * Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. This API is available in the following national cloud deployments. + * Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. * @param AddToReviewSetPostRequestBody $body The request body * @param MicrosoftGraphSecurityAddToReviewSetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddToReviewSetPostRequestBody $body, ?M $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php index a8a4e95a0d2..f482f80bce6 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Initiate an export from a ediscoveryReviewSet. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + * Initiate an export from a ediscoveryReviewSet. For details, see Export documents from a review set in eDiscovery (Premium). * @param ExportPostRequestBody $body The request body * @param MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ExportPostRequestBody $body, ?MicrosoftGraphSecurityExportR } /** - * Initiate an export from a ediscoveryReviewSet. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + * Initiate an export from a ediscoveryReviewSet. For details, see Export documents from a review set in eDiscovery (Premium). * @param ExportPostRequestBody $body The request body * @param MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ExportPostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php index a76c6d53300..14668627d98 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Delete an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestC } /** - * Read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfigu } /** - * Update the properties of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(EdiscoveryReviewSetQuery $body, ?EdiscoveryReviewSetQueryI } /** - * Delete an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Delete an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?EdiscoveryReviewSetQueryItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?EdiscoveryReviewSetQueryItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(EdiscoveryReviewSetQuery $body, ?Edisc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php index 12d305157aa..aad3519124a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewSetQuery object. */ class EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.php index 01ebf674319..03282b238d1 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. This API is available in the following national cloud deployments. + * Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. * @param ApplyTagsPostRequestBody $body The request body * @param MicrosoftGraphSecurityApplyTagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ApplyTagsPostRequestBody $body, ?MicrosoftGraphSecurityAppl } /** - * Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. This API is available in the following national cloud deployments. + * Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. * @param ApplyTagsPostRequestBody $body The request body * @param MicrosoftGraphSecurityApplyTagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ApplyTagsPostRequestBody $body, ?Micros $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php index 89c39ee33f6..8ccd2cbed75 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + * Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). * @param ExportPostRequestBody $body The request body * @param MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ExportPostRequestBody $body, ?MicrosoftGraphSecurityExportR } /** - * Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + * Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). * @param ExportPostRequestBody $body The request body * @param MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ExportPostRequestBody $body, ?Microsoft $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php index 352d451315d..f3e4b659739 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of queries associated with an eDiscovery review set. This API is available in the following national cloud deployments. + * Get the list of queries associated with an eDiscovery review set. * @param QueriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?QueriesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Create a new ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param QueriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EdiscoveryReviewSetQuery $body, ?QueriesRequestBuilderPostR } /** - * Get the list of queries associated with an eDiscovery review set. This API is available in the following national cloud deployments. + * Get the list of queries associated with an eDiscovery review set. * @param QueriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?QueriesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + * Create a new ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param QueriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EdiscoveryReviewSetQuery $body, ?Querie $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php index 7928c2aefbb..c270a2bcb97 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of queries associated with an eDiscovery review set. This API is available in the following national cloud deployments. + * Get the list of queries associated with an eDiscovery review set. */ class QueriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php index ac2ce075d73..c0dab6059e7 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. This API is available in the following national cloud deployments. + * Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. * @param ReviewSetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ReviewSetsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new ediscoveryReviewSet object. This API is available in the following national cloud deployments. + * Create a new ediscoveryReviewSet object. * @param EdiscoveryReviewSet $body The request body * @param ReviewSetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EdiscoveryReviewSet $body, ?ReviewSetsRequestBuilderPostReq } /** - * Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. This API is available in the following national cloud deployments. + * Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. * @param ReviewSetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ReviewSetsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoveryReviewSet object. This API is available in the following national cloud deployments. + * Create a new ediscoveryReviewSet object. * @param EdiscoveryReviewSet $body The request body * @param ReviewSetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EdiscoveryReviewSet $body, ?ReviewSetsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilderGetQueryParameters.php index 7012ff729f5..b6647bd2725 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. This API is available in the following national cloud deployments. + * Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. */ class ReviewSetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.php index cee01cacc01..322824c4556 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AddToReviewSetOperationRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php index 889253de295..60d55831975 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of additional sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Get the list of additional sources associated with an eDiscovery search. * @param AdditionalSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AdditionalSourcesRequestBuilderGetRequestConfiguration $req } /** - * Create a new additional source associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Create a new additional source associated with an eDiscovery search. * @param DataSource $body The request body * @param AdditionalSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DataSource $body, ?AdditionalSourcesRequestBuilderPostReque } /** - * Get the list of additional sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Get the list of additional sources associated with an eDiscovery search. * @param AdditionalSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AdditionalSourcesRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new additional source associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Create a new additional source associated with an eDiscovery search. * @param DataSource $body The request body * @param AdditionalSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DataSource $body, ?AdditionalSourcesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php index 5543b52e1d9..43a28fff426 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of additional sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Get the list of additional sources associated with an eDiscovery search. */ class AdditionalSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.php index 5c907634d47..4eb9f4655d2 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DataSourceItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DataSourceItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DataSource $body, ?DataSourceItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php index 178a447a8a7..eb7340dc130 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of custodial data sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Get the list of custodial data sources associated with an eDiscovery search. * @param CustodianSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?CustodianSourcesRequestBuilderGetRequestConfiguration $requ } /** - * Get the list of custodial data sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Get the list of custodial data sources associated with an eDiscovery search. * @param CustodianSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?CustodianSourcesRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php index 3bc2e950695..0bc03aff22e 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of custodial data sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + * Get the list of custodial data sources associated with an eDiscovery search. */ class CustodianSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.php index bea35d74183..3189eef878a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.php @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?DataSourceItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?DataSourceItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.php index bebe03711f2..1025dee8c5a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.php @@ -87,7 +87,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an ediscoverySearch object. This API is available in the following national cloud deployments. + * Delete an ediscoverySearch object. * @param EdiscoverySearchItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function delete(?EdiscoverySearchItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoverySearch object. * @param EdiscoverySearchItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function get(?EdiscoverySearchItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of an ediscoverySearch object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoverySearch object. * @param EdiscoverySearch $body The request body * @param EdiscoverySearchItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -136,7 +136,7 @@ public function patch(EdiscoverySearch $body, ?EdiscoverySearchItemRequestBuilde } /** - * Delete an ediscoverySearch object. This API is available in the following national cloud deployments. + * Delete an ediscoverySearch object. * @param EdiscoverySearchItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -149,12 +149,12 @@ public function toDeleteRequestInformation(?EdiscoverySearchItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoverySearch object. * @param EdiscoverySearchItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,12 +170,12 @@ public function toGetRequestInformation(?EdiscoverySearchItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an ediscoverySearch object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoverySearch object. * @param EdiscoverySearch $body The request body * @param EdiscoverySearchItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -189,7 +189,7 @@ public function toPatchRequestInformation(EdiscoverySearch $body, ?EdiscoverySea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilderGetQueryParameters.php index 17cc661387f..809c35d07c5 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoverySearch object. */ class EdiscoverySearchItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php index e5027095631..c9d19ae2a02 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the last ediscoveryEstimateOperation objects and their properties. This API is available in the following national cloud deployments. + * Get the last ediscoveryEstimateOperation objects and their properties. * @param LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?LastEstimateStatisticsOperationRequestBuilderGetRequestConf } /** - * Get the last ediscoveryEstimateOperation objects and their properties. This API is available in the following national cloud deployments. + * Get the last ediscoveryEstimateOperation objects and their properties. * @param LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?LastEstimateStatisticsOperationRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php index 5f839154e31..bbed572fe7b 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the last ediscoveryEstimateOperation objects and their properties. This API is available in the following national cloud deployments. + * Get the last ediscoveryEstimateOperation objects and their properties. */ class LastEstimateStatisticsOperationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.php index 0c5fab912fd..601d5986a87 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). This API is available in the following national cloud deployments. + * Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). * @param MicrosoftGraphSecurityEstimateStatisticsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityEstimateStatisticsRequestBuilderPost } /** - * Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). This API is available in the following national cloud deployments. + * Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). * @param MicrosoftGraphSecurityEstimateStatisticsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityEstimateStatisti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.php index b6a7934b082..1dae66098c4 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams This API is available in the following national cloud deployments. + * Delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams * @param PurgeDataPostRequestBody $body The request body * @param MicrosoftGraphSecurityPurgeDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(PurgeDataPostRequestBody $body, ?MicrosoftGraphSecurityPurg } /** - * Delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams This API is available in the following national cloud deployments. + * Delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams * @param PurgeDataPostRequestBody $body The request body * @param MicrosoftGraphSecurityPurgeDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(PurgeDataPostRequestBody $body, ?Micros $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php index 4a80c3d7d2d..f08cf11a045 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.php @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?EdiscoveryNoncustodialDataSourceItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?EdiscoveryNoncustodialDataSourceItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.php index 370dcaa8d19..10ec28c7a5a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?NoncustodialSourcesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.php index 93998e8efdd..562099e4e0f 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of ediscoverySearch resources from an eDiscoveryCase object. This API is available in the following national cloud deployments. + * Get the list of ediscoverySearch resources from an eDiscoveryCase object. * @param SearchesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SearchesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new ediscoverySearch object. This API is available in the following national cloud deployments. + * Create a new ediscoverySearch object. * @param EdiscoverySearch $body The request body * @param SearchesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EdiscoverySearch $body, ?SearchesRequestBuilderPostRequestC } /** - * Get the list of ediscoverySearch resources from an eDiscoveryCase object. This API is available in the following national cloud deployments. + * Get the list of ediscoverySearch resources from an eDiscoveryCase object. * @param SearchesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SearchesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoverySearch object. This API is available in the following national cloud deployments. + * Create a new ediscoverySearch object. * @param EdiscoverySearch $body The request body * @param SearchesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EdiscoverySearch $body, ?SearchesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilderGetQueryParameters.php index ebb542b802f..268f4f1119e 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of ediscoverySearch resources from an eDiscoveryCase object. This API is available in the following national cloud deployments. + * Get the list of ediscoverySearch resources from an eDiscoveryCase object. */ class SearchesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php index b5c9857be94..373e389ada0 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reset a caseSettings object to the default values. This API is available in the following national cloud deployments. + * Reset a caseSettings object to the default values. * @param MicrosoftGraphSecurityResetToDefaultRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?MicrosoftGraphSecurityResetToDefaultRequestBuilderPostRequ } /** - * Reset a caseSettings object to the default values. This API is available in the following national cloud deployments. + * Reset a caseSettings object to the default values. * @param MicrosoftGraphSecurityResetToDefaultRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?MicrosoftGraphSecurityResetToDefaultRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.php index 626560d81f4..9bd8e115f24 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCaseSettings object. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryCaseSettings object. * @param EdiscoveryCaseSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCaseSettings object. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryCaseSettings object. * @param EdiscoveryCaseSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(EdiscoveryCaseSettings $body, ?Setting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilderGetQueryParameters.php index 280e61e045a..95cac992490 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryCaseSettings object. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.php index 7ef3573a2f1..0732077b34a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ChildTagsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.php index 914f5fb4d7b..c5ef3325aab 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?EdiscoveryReviewTagItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.php index 6069d1eef76..2cc9f5f6ce3 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Remove an ediscoveryReviewTag object. * @param EdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?EdiscoveryReviewTagItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewTag object. * @param EdiscoveryReviewTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?EdiscoveryReviewTagItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryReviewTag object. * @param EdiscoveryReviewTag $body The request body * @param EdiscoveryReviewTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(EdiscoveryReviewTag $body, ?EdiscoveryReviewTagItemRequest } /** - * Remove an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Remove an ediscoveryReviewTag object. * @param EdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?EdiscoveryReviewTagItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewTag object. * @param EdiscoveryReviewTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?EdiscoveryReviewTagItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Update the properties of an ediscoveryReviewTag object. * @param EdiscoveryReviewTag $body The request body * @param EdiscoveryReviewTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(EdiscoveryReviewTag $body, ?Ediscovery $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilderGetQueryParameters.php index 923e150c7ce..5e5e2568f4d 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an ediscoveryReviewTag object. */ class EdiscoveryReviewTagItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.php index 3684a1353c4..78fc2bae32a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php index fd3a0d1405a..d531b0afed8 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?MicrosoftGraphSecurityAsHierarchyReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.php index 52750529f1d..2604b3f6328 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of eDiscoveryReviewTag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of eDiscoveryReviewTag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?TagsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a new ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Create a new ediscoveryReviewTag object. * @param EdiscoveryReviewTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(EdiscoveryReviewTag $body, ?TagsRequestBuilderPostRequestCo } /** - * Get a list of eDiscoveryReviewTag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of eDiscoveryReviewTag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new ediscoveryReviewTag object. This API is available in the following national cloud deployments. + * Create a new ediscoveryReviewTag object. * @param EdiscoveryReviewTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(EdiscoveryReviewTag $body, ?TagsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilderGetQueryParameters.php index 4fac469cdc1..f0844c4e4d7 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of eDiscoveryReviewTag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of eDiscoveryReviewTag objects and their properties. */ class TagsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Incidents/IncidentsRequestBuilder.php b/src/Generated/Security/Incidents/IncidentsRequestBuilder.php index c576e95dad3..0d99577e912 100644 --- a/src/Generated/Security/Incidents/IncidentsRequestBuilder.php +++ b/src/Generated/Security/Incidents/IncidentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. This API is available in the following national cloud deployments. + * Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. * @param IncidentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Incident $body, ?IncidentsRequestBuilderPostRequestConfigur } /** - * Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. This API is available in the following national cloud deployments. + * Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. * @param IncidentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?IncidentsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Incident $body, ?IncidentsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Incidents/IncidentsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Incidents/IncidentsRequestBuilderGetQueryParameters.php index 2c5db713d4e..a842080ad5d 100644 --- a/src/Generated/Security/Incidents/IncidentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Incidents/IncidentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. This API is available in the following national cloud deployments. + * Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. */ class IncidentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.php b/src/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.php index a3e04222a5d..5e70b009df0 100644 --- a/src/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.php +++ b/src/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AlertsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.php b/src/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.php index e9d902a73e9..213ad50a1b9 100644 --- a/src/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.php +++ b/src/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?AlertItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.php b/src/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.php index 2a39dff8b0a..dac545ee28c 100644 --- a/src/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.php +++ b/src/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.php @@ -69,7 +69,7 @@ public function toPostRequestInformation(array $body, ?CommentsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsableCollection($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.php b/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.php index 15aa76b3351..408cb41201c 100644 --- a/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.php +++ b/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?IncidentItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. * @param IncidentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?IncidentItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of an incident object. This API is available in the following national cloud deployments. + * Update the properties of an incident object. * @param Incident $body The request body * @param IncidentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?IncidentItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. * @param IncidentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?IncidentItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an incident object. This API is available in the following national cloud deployments. + * Update the properties of an incident object. * @param Incident $body The request body * @param IncidentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(Incident $body, ?IncidentItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilderGetQueryParameters.php index 92653e4a7db..ad09c93eece 100644 --- a/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Incidents/Item/IncidentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. */ class IncidentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.php b/src/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.php index daea61b1257..052a5b8139a 100644 --- a/src/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.php +++ b/src/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RunHuntingQueryPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php index 6394b4214f8..c10c6a62ce7 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php +++ b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SecureScoreControlProfileItemRequestBuilderDeleteRequest } /** - * Retrieve the properties and relationships of an securescorecontrolprofile object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an securescorecontrolprofile object. * @param SecureScoreControlProfileItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?SecureScoreControlProfileItemRequestBuilderGetRequestConfig } /** - * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. This API is available in the following national cloud deployments. + * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. * @param SecureScoreControlProfile $body The request body * @param SecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?SecureScoreControlProfileItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an securescorecontrolprofile object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an securescorecontrolprofile object. * @param SecureScoreControlProfileItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?SecureScoreControlProfileItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. This API is available in the following national cloud deployments. + * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. * @param SecureScoreControlProfile $body The request body * @param SecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(SecureScoreControlProfile $body, ?Secu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilderGetQueryParameters.php index ccf2a90fa5a..b8f8813f000 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an securescorecontrolprofile object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an securescorecontrolprofile object. */ class SecureScoreControlProfileItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php b/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php index b11b91832fe..cfc57f06664 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php +++ b/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a secureScoreControlProfiles object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a secureScoreControlProfiles object. * @param SecureScoreControlProfilesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SecureScoreControlProfile $body, ?SecureScoreControlProfile } /** - * Retrieve the properties and relationships of a secureScoreControlProfiles object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a secureScoreControlProfiles object. * @param SecureScoreControlProfilesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SecureScoreControlProfilesRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SecureScoreControlProfile $body, ?Secur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilderGetQueryParameters.php b/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilderGetQueryParameters.php index 65cdee45d61..323234953ac 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a secureScoreControlProfiles object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a secureScoreControlProfiles object. */ class SecureScoreControlProfilesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php b/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php index 830936d230f..cd0351109ef 100644 --- a/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php +++ b/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SecureScoreItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a secureScore object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a secureScore object. * @param SecureScoreItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?SecureScoreItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a secureScore object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a secureScore object. * @param SecureScoreItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?SecureScoreItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(SecureScore $body, ?SecureScoreItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilderGetQueryParameters.php index bccf109833d..7a0b7d953a0 100644 --- a/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a secureScore object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a secureScore object. */ class SecureScoreItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php b/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php index 36599ef5741..0791b05da0b 100644 --- a/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php +++ b/src/Generated/Security/SecureScores/SecureScoresRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of secureScore objects. This API is available in the following national cloud deployments. + * Retrieve a list of secureScore objects. * @param SecureScoresRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SecureScore $body, ?SecureScoresRequestBuilderPostRequestCo } /** - * Retrieve a list of secureScore objects. This API is available in the following national cloud deployments. + * Retrieve a list of secureScore objects. * @param SecureScoresRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SecureScoresRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SecureScore $body, ?SecureScoresRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SecureScores/SecureScoresRequestBuilderGetQueryParameters.php b/src/Generated/Security/SecureScores/SecureScoresRequestBuilderGetQueryParameters.php index aedd852f966..aabec8f4eff 100644 --- a/src/Generated/Security/SecureScores/SecureScoresRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/SecureScores/SecureScoresRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of secureScore objects. This API is available in the following national cloud deployments. + * Retrieve a list of secureScore objects. */ class SecureScoresRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/SecurityRequestBuilder.php b/src/Generated/Security/SecurityRequestBuilder.php index 286399d4913..38831477b4d 100644 --- a/src/Generated/Security/SecurityRequestBuilder.php +++ b/src/Generated/Security/SecurityRequestBuilder.php @@ -174,7 +174,7 @@ public function toGetRequestInformation(?SecurityRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -193,7 +193,7 @@ public function toPatchRequestInformation(Security $body, ?SecurityRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php index 8a146a2dbf6..44d00659939 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ApproversRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php index 5662c99f1e6..6b2e5c476ac 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 539cf1cc2c0..f3f1197e53c 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php index cb4c944fc5b..1882c9e2620 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php index da439b07550..67e14bfd6c2 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?CollaboratorsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php index 7d6882ae65b..bd3f3ddeef7 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 82216d96c60..0f5f6abc2d8 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php index d2e7d1e9c56..abcc02e8acc 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php index 6fad99564e0..a43a1049670 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetFinalAttachmentRequestBuilderGetRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php index 7ae003e91fb..bd512d7d767 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetFinalReportRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php index 5db4ba6eeeb..15d06b628d3 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AuthoredNoteItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AuthoredNoteItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AuthoredNote $body, ?AuthoredNoteItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php index 23cf0ccaa6b..03da2c5b031 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of authored notes assoicated with a subject rights request. This API is available in the following national cloud deployments. + * Get the list of authored notes assoicated with a subject rights request. * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?NotesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new authoredNote object. This API is available in the following national cloud deployments. + * Create a new authoredNote object. * @param AuthoredNote $body The request body * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AuthoredNote $body, ?NotesRequestBuilderPostRequestConfigur } /** - * Get the list of authored notes assoicated with a subject rights request. This API is available in the following national cloud deployments. + * Get the list of authored notes assoicated with a subject rights request. * @param NotesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?NotesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new authoredNote object. This API is available in the following national cloud deployments. + * Create a new authoredNote object. * @param AuthoredNote $body The request body * @param NotesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AuthoredNote $body, ?NotesRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php index 13891a21e6a..f5d525bb79a 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of authored notes assoicated with a subject rights request. This API is available in the following national cloud deployments. + * Get the list of authored notes assoicated with a subject rights request. */ class NotesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php index c0184d7674c..ee3d219c979 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?SubjectRightsRequestItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?SubjectRightsRequestItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(SubjectRightsRequest $body, ?SubjectRi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php index 2df65bebe07..658a4fc3fa1 100644 --- a/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php index 1fba935c931..bb4f3afe709 100644 --- a/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php +++ b/src/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubjectRightsRequestsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(SubjectRightsRequest $body, ?SubjectRig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.php index 4a5c960197e..526bc49a013 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an articleIndicator object. * @param ArticleIndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(ArticleIndicator $body, ?ArticleIndicatorsRequestBuilderPos } /** - * Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an articleIndicator object. * @param ArticleIndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ArticleIndicatorsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ArticleIndicator $body, ?ArticleIndicat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilderGetQueryParameters.php index 8c4758c7acd..c6a918291e4 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an articleIndicator object. */ class ArticleIndicatorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php index 0ec57488b0b..c7037071d33 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ArticleIndicatorItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an articleIndicator object. * @param ArticleIndicatorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ArticleIndicatorItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an articleIndicator object. * @param ArticleIndicatorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ArticleIndicatorItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ArticleIndicator $body, ?ArticleIndica $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilderGetQueryParameters.php index 4332b77915d..7783eff195b 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an articleIndicator object. */ class ArticleIndicatorItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.php index 0329345fc84..39321e28315 100644 --- a/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ArtifactRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.php index 15cd43fd5f1..29e2bbeed72 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of article objects, including their properties and relationships. This API is available in the following national cloud deployments. + * Get a list of article objects, including their properties and relationships. * @param ArticlesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Article $body, ?ArticlesRequestBuilderPostRequestConfigurat } /** - * Get a list of article objects, including their properties and relationships. This API is available in the following national cloud deployments. + * Get a list of article objects, including their properties and relationships. * @param ArticlesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ArticlesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Article $body, ?ArticlesRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilderGetQueryParameters.php index 0222d909e81..5c3492e0289 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of article objects, including their properties and relationships. This API is available in the following national cloud deployments. + * Get a list of article objects, including their properties and relationships. */ class ArticlesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php index c3668a74b20..8158b8f1e3c 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ArticleItemRequestBuilderDeleteRequestConfiguration $req } /** - * Read the properties and relationships of an article object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an article object. * @param ArticleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ArticleItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of an article object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an article object. * @param ArticleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ArticleItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(Article $body, ?ArticleItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilderGetQueryParameters.php index 47511fbe05a..5fe7a56dd20 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an article object. This API is available in the following national cloud deployments. + * Read the properties and relationships of an article object. */ class ArticleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php index 01018f78bef..ec71100e0bd 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. This API is available in the following national cloud deployments. + * Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. * @param IndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?IndicatorsRequestBuilderGetRequestConfiguration $requestCon } /** - * Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. This API is available in the following national cloud deployments. + * Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. * @param IndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?IndicatorsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php index a06fac5c168..238f81549ed 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. This API is available in the following national cloud deployments. + * Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. */ class IndicatorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.php index 2fccc0ab146..e24ff7c224e 100644 --- a/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ArticleIndicatorItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.php index 3193c3d1dd2..a603d167ebb 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostComponent object. * @param HostComponentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(HostComponent $body, ?HostComponentsRequestBuilderPostReque } /** - * Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostComponent object. * @param HostComponentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostComponentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(HostComponent $body, ?HostComponentsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilderGetQueryParameters.php index a7722c9b12e..058b0dc87b5 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostComponent object. */ class HostComponentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.php index ec9804d954a..6b2c65e33b1 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.php index f3a33e7098b..8cd1da3d169 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?HostComponentItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostComponent object. * @param HostComponentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?HostComponentItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostComponent object. * @param HostComponentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?HostComponentItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(HostComponent $body, ?HostComponentIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilderGetQueryParameters.php index 31e456e3f4f..4e267f5b77a 100644 --- a/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostComponent object. */ class HostComponentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php index c7ce87cc8c7..7704ef667c8 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostCookie object. * @param HostCookiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(HostCookie $body, ?HostCookiesRequestBuilderPostRequestConf } /** - * Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostCookie object. * @param HostCookiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostCookiesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(HostCookie $body, ?HostCookiesRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilderGetQueryParameters.php index b10a6bb9b6b..1a69bd29a93 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostCookie object. */ class HostCookiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.php index e1ecc6a1f3e..eedeff35581 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.php index 7283d990e24..f14c454554a 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?HostCookieItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostCookie object. * @param HostCookieItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?HostCookieItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostCookie object. * @param HostCookieItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?HostCookieItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(HostCookie $body, ?HostCookieItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilderGetQueryParameters.php index 998a6e9c1b2..8122dee62d8 100644 --- a/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostCookie object. */ class HostCookieItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php index 721a3844edc..9e7f1bfbf33 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostPair object. * @param HostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(HostPair $body, ?HostPairsRequestBuilderPostRequestConfigur } /** - * Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostPair object. * @param HostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostPairsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(HostPair $body, ?HostPairsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilderGetQueryParameters.php index faa0c1e765c..96bed5aaa43 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/HostPairsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostPair object. */ class HostPairsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ChildHost/ChildHostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ChildHost/ChildHostRequestBuilder.php index 3b790638cce..5f804f4e276 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ChildHost/ChildHostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ChildHost/ChildHostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ChildHostRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilder.php index f71f6ad137f..c8c3d984435 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?HostPairItemRequestBuilderDeleteRequestConfiguration $re } /** - * Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostPair object. * @param HostPairItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?HostPairItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostPair object. * @param HostPairItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?HostPairItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(HostPair $body, ?HostPairItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilderGetQueryParameters.php index b46786281e7..bc426428708 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/HostPairItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostPair object. */ class HostPairItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ParentHost/ParentHostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ParentHost/ParentHostRequestBuilder.php index dd53214684f..88efd9af6fc 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ParentHost/ParentHostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPairs/Item/ParentHost/ParentHostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentHostRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.php index c336006e8d6..fd748baf2f2 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostPortsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(HostPort $body, ?HostPortsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.php index 1ddc4b38b8b..92fd6979a5c 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.php index c2b74cb4ae4..c18fce246a0 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.php @@ -107,7 +107,7 @@ public function toDeleteRequestInformation(?HostPortItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -128,7 +128,7 @@ public function toGetRequestInformation(?HostPortItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(HostPort $body, ?HostPortItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.php index 043dd3de4af..cab259db2b5 100644 --- a/src/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MostRecentSslCertificateRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilder.php index 16a07041012..ebfd86302e7 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostSslCertificate object. * @param HostSslCertificatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(HostSslCertificate $body, ?HostSslCertificatesRequestBuilde } /** - * Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostSslCertificate object. * @param HostSslCertificatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostSslCertificatesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(HostSslCertificate $body, ?HostSslCerti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilderGetQueryParameters.php index da10ab92668..c0f09d68487 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/HostSslCertificatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostSslCertificate object. */ class HostSslCertificatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/Host/HostRequestBuilder.php index 7836fdcf4d6..13fc5fa8c89 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilder.php index 4490484197a..35418b14078 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?HostSslCertificateItemRequestBuilderDeleteRequestConfigu } /** - * Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostSslCertificate object. * @param HostSslCertificateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?HostSslCertificateItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostSslCertificate object. * @param HostSslCertificateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?HostSslCertificateItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(HostSslCertificate $body, ?HostSslCert $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilderGetQueryParameters.php index 238eb4d6f98..45f623913a9 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/HostSslCertificateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostSslCertificate object. */ class HostSslCertificateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/SslCertificate/SslCertificateRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/SslCertificate/SslCertificateRequestBuilder.php index 1e431589f07..cde6419c4e3 100644 --- a/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/SslCertificate/SslCertificateRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostSslCertificates/Item/SslCertificate/SslCertificateRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SslCertificateRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.php index ae6fb0a14b7..98bb22b99cb 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostTracker object. * @param HostTrackersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(HostTracker $body, ?HostTrackersRequestBuilderPostRequestCo } /** - * Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostTracker object. * @param HostTrackersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostTrackersRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(HostTracker $body, ?HostTrackersRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilderGetQueryParameters.php index a360f5303f7..8d864515253 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostTracker object. */ class HostTrackersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.php index 2a16f9bf5bb..fd6dfd88f4f 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.php index a9a3a633e4e..e6a6632632d 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?HostTrackerItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostTracker object. * @param HostTrackerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?HostTrackerItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostTracker object. * @param HostTrackerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?HostTrackerItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(HostTracker $body, ?HostTrackerItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilderGetQueryParameters.php index 0175cbbef55..a632f6ba5bc 100644 --- a/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a hostTracker object. */ class HostTrackerItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php index 539a345dc64..853736dac04 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: * @param HostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Host $body, ?HostsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: * @param HostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HostsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Host $body, ?HostsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilderGetQueryParameters.php index 3d6c1efaf09..56fdbd83b83 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: */ class HostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php index 5e387f00420..7109327fc25 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of hostPair resources associated with a host, where that host is the *parent* and has an outgoing pairing to a *child*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is the *parent* and has an outgoing pairing to a *child*. * @param ChildHostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ChildHostPairsRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of hostPair resources associated with a host, where that host is the *parent* and has an outgoing pairing to a *child*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is the *parent* and has an outgoing pairing to a *child*. * @param ChildHostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ChildHostPairsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilderGetQueryParameters.php index 268b2d3f4ef..1eed07dee35 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/ChildHostPairsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of hostPair resources associated with a host, where that host is the *parent* and has an outgoing pairing to a *child*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is the *parent* and has an outgoing pairing to a *child*. */ class ChildHostPairsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/Item/HostPairItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/Item/HostPairItemRequestBuilder.php index c0b16d9f0c8..59f5a910939 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/Item/HostPairItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ChildHostPairs/Item/HostPairItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostPairItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.php index 8f23309c693..dff0e52cf4f 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of hostComponent resources. This API is available in the following national cloud deployments. + * Get a list of hostComponent resources. * @param ComponentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ComponentsRequestBuilderGetRequestConfiguration $requestCon } /** - * Get a list of hostComponent resources. This API is available in the following national cloud deployments. + * Get a list of hostComponent resources. * @param ComponentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ComponentsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilderGetQueryParameters.php index 60fd4a82780..a5e1a22dc34 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of hostComponent resources. This API is available in the following national cloud deployments. + * Get a list of hostComponent resources. */ class ComponentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.php index bd77aeeb351..833c21de535 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostComponentItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.php index 4a37c419408..78415ad060d 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of hostCookie resources. This API is available in the following national cloud deployments. + * Get a list of hostCookie resources. * @param CookiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?CookiesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get a list of hostCookie resources. This API is available in the following national cloud deployments. + * Get a list of hostCookie resources. * @param CookiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?CookiesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilderGetQueryParameters.php index 9eab5e63c8f..3e75c31ceb0 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of hostCookie resources. This API is available in the following national cloud deployments. + * Get a list of hostCookie resources. */ class CookiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.php index c6699136e36..2376ec65f9e 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostCookieItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.php index bbba9fdb08f..a275422b911 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.php @@ -150,7 +150,7 @@ public function delete(?HostItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: * @param HostItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -195,12 +195,12 @@ public function toDeleteRequestInformation(?HostItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: * @param HostItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -216,7 +216,7 @@ public function toGetRequestInformation(?HostItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -235,7 +235,7 @@ public function toPatchRequestInformation(Host $body, ?HostItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilderGetQueryParameters.php index b22a5103c5e..57573f0ab78 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + * Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: */ class HostItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php index c4641e32b80..24a9a9f8fbf 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of hostPair resources associated with a host, where that host is *either* the *parent* or the *child*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is *either* the *parent* or the *child*. * @param HostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?HostPairsRequestBuilderGetRequestConfiguration $requestConf } /** - * Get the list of hostPair resources associated with a host, where that host is *either* the *parent* or the *child*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is *either* the *parent* or the *child*. * @param HostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?HostPairsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilderGetQueryParameters.php index 7e23c64d4e6..6d9af116846 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/HostPairsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of hostPair resources associated with a host, where that host is *either* the *parent* or the *child*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is *either* the *parent* or the *child*. */ class HostPairsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/Item/HostPairItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/Item/HostPairItemRequestBuilder.php index 99fdd7e84d2..4d6247924b5 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/Item/HostPairItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/HostPairs/Item/HostPairItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostPairItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/Item/HostPairItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/Item/HostPairItemRequestBuilder.php index a787bfd2fc4..17f04f22d67 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/Item/HostPairItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/Item/HostPairItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostPairItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilder.php index 4971c8aac81..fc2a841ee64 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of hostPair resources associated with a host, where that host is the *child* and has an incoming pairing with a *parent*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is the *child* and has an incoming pairing with a *parent*. * @param ParentHostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ParentHostPairsRequestBuilderGetRequestConfiguration $reque } /** - * Get the list of hostPair resources associated with a host, where that host is the *child* and has an incoming pairing with a *parent*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is the *child* and has an incoming pairing with a *parent*. * @param ParentHostPairsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?ParentHostPairsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilderGetQueryParameters.php index 5c0f087b3a6..3d669eacfd8 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/ParentHostPairs/ParentHostPairsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of hostPair resources associated with a host, where that host is the *child* and has an incoming pairing with a *parent*. This API is available in the following national cloud deployments. + * Get the list of hostPair resources associated with a host, where that host is the *child* and has an incoming pairing with a *parent*. */ class ParentHostPairsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.php index e76c9f55080..abdef837fa4 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PassiveDnsRecordItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.php index 39c81e6d66f..15f002480bb 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. This API is available in the following national cloud deployments. + * Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. * @param PassiveDnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?PassiveDnsRequestBuilderGetRequestConfiguration $requestCon } /** - * Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. This API is available in the following national cloud deployments. + * Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. * @param PassiveDnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?PassiveDnsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilderGetQueryParameters.php index 40df7cece64..f3f7841b70b 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. This API is available in the following national cloud deployments. + * Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. */ class PassiveDnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.php index 18b341655d3..9f6fddeacf2 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PassiveDnsRecordItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.php index 41a8288e632..1f2e151348b 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. This API is available in the following national cloud deployments. + * Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. * @param PassiveDnsReverseRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?PassiveDnsReverseRequestBuilderGetRequestConfiguration $req } /** - * Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. This API is available in the following national cloud deployments. + * Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. * @param PassiveDnsReverseRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?PassiveDnsReverseRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilderGetQueryParameters.php index d323f20bb15..61d0c67d99b 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. This API is available in the following national cloud deployments. + * Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. */ class PassiveDnsReverseRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.php index 82478c0e6e3..07825ec47f5 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostPortItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.php index 51b48f8306f..f9b00235ef8 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.php @@ -83,7 +83,7 @@ public function toGetRequestInformation(?PortsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.php index 738f9e06bc3..19b3c76cb90 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ReputationRequestBuilderDeleteRequestConfiguration $requ } /** - * Get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostReputation object. * @param ReputationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ReputationRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostReputation object. * @param ReputationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ReputationRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(HostReputation $body, ?ReputationReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilderGetQueryParameters.php index af1d92465e8..a44d2bb2598 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a hostReputation object. */ class ReputationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/Item/HostSslCertificateItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/Item/HostSslCertificateItemRequestBuilder.php index a672e0deab4..39079e53dbf 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/Item/HostSslCertificateItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/Item/HostSslCertificateItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostSslCertificateItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilder.php index d588385ad8c..d5917ea18e3 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of hostSslCertificate objects from the host navigation property. This API is available in the following national cloud deployments. + * Get a list of hostSslCertificate objects from the host navigation property. * @param SslCertificatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SslCertificatesRequestBuilderGetRequestConfiguration $reque } /** - * Get a list of hostSslCertificate objects from the host navigation property. This API is available in the following national cloud deployments. + * Get a list of hostSslCertificate objects from the host navigation property. * @param SslCertificatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SslCertificatesRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php index 84fa97d49dd..1f51b481ed8 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of hostSslCertificate objects from the host navigation property. This API is available in the following national cloud deployments. + * Get a list of hostSslCertificate objects from the host navigation property. */ class SslCertificatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/Item/SubdomainItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/Item/SubdomainItemRequestBuilder.php index 05ca9e0e539..95f09d577af 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/Item/SubdomainItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/Item/SubdomainItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SubdomainItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilder.php index 8b95a836246..4a18d84c8ea 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of subdomain resources associated with a host. This API is available in the following national cloud deployments. + * Get the list of subdomain resources associated with a host. * @param SubdomainsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SubdomainsRequestBuilderGetRequestConfiguration $requestCon } /** - * Get the list of subdomain resources associated with a host. This API is available in the following national cloud deployments. + * Get the list of subdomain resources associated with a host. * @param SubdomainsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SubdomainsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php index c1317159555..5236d157261 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of subdomain resources associated with a host. This API is available in the following national cloud deployments. + * Get the list of subdomain resources associated with a host. */ class SubdomainsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.php index 87bfa20c1b2..098247e0ea9 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostTrackerItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.php index 8864590290b..6c4f8e7c370 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of hostTracker resources. This API is available in the following national cloud deployments. + * Get a list of hostTracker resources. * @param TrackersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?TrackersRequestBuilderGetRequestConfiguration $requestConfi } /** - * Get a list of hostTracker resources. This API is available in the following national cloud deployments. + * Get a list of hostTracker resources. * @param TrackersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?TrackersRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilderGetQueryParameters.php index 485c37a81e6..762447eec71 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of hostTracker resources. This API is available in the following national cloud deployments. + * Get a list of hostTracker resources. */ class TrackersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php index 5cc0f449336..5aabb2e1e04 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. * @param WhoisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?WhoisRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. * @param WhoisRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?WhoisRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilderGetQueryParameters.php index 01a085a1d75..cc0d90eaedb 100644 --- a/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Hosts/Item/Whois/WhoisRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. */ class WhoisRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php index 84ccc5f3d0b..df0163b7fa6 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the intelligenceProfile objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the intelligenceProfile objects and their properties. * @param IntelProfilesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(IntelligenceProfile $body, ?IntelProfilesRequestBuilderPost } /** - * Get a list of the intelligenceProfile objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the intelligenceProfile objects and their properties. * @param IntelProfilesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?IntelProfilesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(IntelligenceProfile $body, ?IntelProfil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilderGetQueryParameters.php index 23b48e6981f..a4c2cb453d6 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the intelligenceProfile objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the intelligenceProfile objects and their properties. */ class IntelProfilesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php index 91805de0d86..d6db75aa80d 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. This API is available in the following national cloud deployments. + * Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. * @param IndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?IndicatorsRequestBuilderGetRequestConfiguration $requestCon } /** - * Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. This API is available in the following national cloud deployments. + * Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. * @param IndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?IndicatorsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php index e1ceb67d9e6..3c45e8e527f 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. This API is available in the following national cloud deployments. + * Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. */ class IndicatorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php index f4799e037fe..92850f676de 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?IntelligenceProfileIndicatorItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.php index 02e26ba5192..8a60705998a 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?IntelligenceProfileItemRequestBuilderDeleteRequestConfig } /** - * Read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfile object. * @param IntelligenceProfileItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?IntelligenceProfileItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfile object. * @param IntelligenceProfileItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?IntelligenceProfileItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(IntelligenceProfile $body, ?Intelligen $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilderGetQueryParameters.php index a388bba8234..efa73e6e3aa 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfile object. */ class IntelligenceProfileItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php index f4941ffee7e..3570be3fd64 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfileIndicator object. * @param IntelligenceProfileIndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(IntelligenceProfileIndicator $body, ?IntelligenceProfileInd } /** - * Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfileIndicator object. * @param IntelligenceProfileIndicatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?IntelligenceProfileIndicatorsRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(IntelligenceProfileIndicator $body, ?In $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilderGetQueryParameters.php index c9d776771d6..d928770889e 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfileIndicator object. */ class IntelligenceProfileIndicatorsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.php index 85e4a582eba..c97a073e0db 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ArtifactRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php index 14986375d33..acd1fab8248 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?IntelligenceProfileIndicatorItemRequestBuilderDeleteRequ } /** - * Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfileIndicator object. * @param IntelligenceProfileIndicatorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?IntelligenceProfileIndicatorItemRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfileIndicator object. * @param IntelligenceProfileIndicatorItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?IntelligenceProfileIndicatorItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(IntelligenceProfileIndicator $body, ?I $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters.php index 1954d31e288..edd705f1485 100644 --- a/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a intelligenceProfileIndicator object. */ class IntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.php index ebded246f57..09bca7c0f48 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ArtifactRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.php index 64983f2f719..1c8769cf666 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentHostRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.php index be303a0e10f..871bb7f6d19 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?PassiveDnsRecordItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a passiveDnsRecord object. * @param PassiveDnsRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?PassiveDnsRecordItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a passiveDnsRecord object. * @param PassiveDnsRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?PassiveDnsRecordItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(PassiveDnsRecord $body, ?PassiveDnsRec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilderGetQueryParameters.php index 896cff13d1f..64f82c4aaaf 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a passiveDnsRecord object. */ class PassiveDnsRecordItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php index c6386902fcb..6a2cf8d414a 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a passiveDnsRecord object. * @param PassiveDnsRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(PassiveDnsRecord $body, ?PassiveDnsRecordsRequestBuilderPos } /** - * Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a passiveDnsRecord object. * @param PassiveDnsRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?PassiveDnsRecordsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(PassiveDnsRecord $body, ?PassiveDnsReco $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilderGetQueryParameters.php index 4e3ce2b2d13..a253f87deed 100644 --- a/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a passiveDnsRecord object. */ class PassiveDnsRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php index e10b40611c5..80b54a1696a 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/Item/HostItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php index dd16ab8714d..115d6b55b8f 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/RelatedHosts/RelatedHostsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?RelatedHostsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilder.php index c21f1c78834..138f3de5143 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?SslCertificateItemRequestBuilderDeleteRequestConfigurati } /** - * Get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an sslCertificate object. * @param SslCertificateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?SslCertificateItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an sslCertificate object. * @param SslCertificateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?SslCertificateItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(SslCertificate $body, ?SslCertificateI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilderGetQueryParameters.php index 5623e107165..1ccf90fdae3 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/Item/SslCertificateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. + * Get the properties and relationships of an sslCertificate object. */ class SslCertificateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php index ff122993578..9883817b5b2 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of sslCertificate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of sslCertificate objects and their properties. * @param SslCertificatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SslCertificate $body, ?SslCertificatesRequestBuilderPostReq } /** - * Get a list of sslCertificate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of sslCertificate objects and their properties. * @param SslCertificatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SslCertificatesRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SslCertificate $body, ?SslCertificatesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php index a2a4205fbbe..997ea02e3de 100644 --- a/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/SslCertificates/SslCertificatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of sslCertificate objects and their properties. This API is available in the following national cloud deployments. + * Get a list of sslCertificate objects and their properties. */ class SslCertificatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/Host/HostRequestBuilder.php index daca913e956..ca313fa535b 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilder.php index 49d522e708e..7f9f8c4b9c4 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?SubdomainItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subdomain object. * @param SubdomainItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?SubdomainItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subdomain object. * @param SubdomainItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?SubdomainItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(Subdomain $body, ?SubdomainItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilderGetQueryParameters.php index 095bf39be27..f9c835e6c5d 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/Item/SubdomainItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subdomain object. */ class SubdomainItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php index feb9a243fc1..05938e3da7b 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subdomain object. * @param SubdomainsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Subdomain $body, ?SubdomainsRequestBuilderPostRequestConfig } /** - * Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subdomain object. * @param SubdomainsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubdomainsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Subdomain $body, ?SubdomainsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php index 5d064d2e590..cbd8faef181 100644 --- a/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Subdomains/SubdomainsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a subdomain object. */ class SubdomainsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.php index d74b8308b9f..af16e8cd752 100644 --- a/src/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.php @@ -226,7 +226,7 @@ public function toDeleteRequestInformation(?ThreatIntelligenceRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -247,7 +247,7 @@ public function toGetRequestInformation(?ThreatIntelligenceRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -266,7 +266,7 @@ public function toPatchRequestInformation(ThreatIntelligence $body, ?ThreatIntel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.php index 96799664cc9..ce032e0c36e 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ArticlesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.php index 331edc1a2d3..4c756f2d970 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ArticleItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.php index 1b393b10421..f67bb74d9fd 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of vulnerabilityComponent objects related to a known vulnerability. This API is available in the following national cloud deployments. + * Get a list of vulnerabilityComponent objects related to a known vulnerability. * @param ComponentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(VulnerabilityComponent $body, ?ComponentsRequestBuilderPost } /** - * Get a list of vulnerabilityComponent objects related to a known vulnerability. This API is available in the following national cloud deployments. + * Get a list of vulnerabilityComponent objects related to a known vulnerability. * @param ComponentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ComponentsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(VulnerabilityComponent $body, ?Componen $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilderGetQueryParameters.php index b7133c6c077..1fceba97420 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of vulnerabilityComponent objects related to a known vulnerability. This API is available in the following national cloud deployments. + * Get a list of vulnerabilityComponent objects related to a known vulnerability. */ class ComponentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php index 24ab336c2e9..ea8d9044b30 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?VulnerabilityComponentItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerabilityComponent object. * @param VulnerabilityComponentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?VulnerabilityComponentItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerabilityComponent object. * @param VulnerabilityComponentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?VulnerabilityComponentItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(VulnerabilityComponent $body, ?Vulnera $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilderGetQueryParameters.php index 3d370cea8f7..8a23545f12a 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerabilityComponent object. */ class VulnerabilityComponentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php index e9eb7764a07..23c9690b8d8 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?VulnerabilityItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerability object. * @param VulnerabilityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?VulnerabilityItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerability object. * @param VulnerabilityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?VulnerabilityItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(Vulnerability $body, ?VulnerabilityIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilderGetQueryParameters.php index da20c456e98..70c14fdfacf 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerability object. */ class VulnerabilityItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php index 79e24840004..9c2fa6efe39 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerability object. * @param VulnerabilitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Vulnerability $body, ?VulnerabilitiesRequestBuilderPostRequ } /** - * Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerability object. * @param VulnerabilitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?VulnerabilitiesRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Vulnerability $body, ?VulnerabilitiesRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilderGetQueryParameters.php index 08bf413aed5..ae6870c2631 100644 --- a/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a vulnerability object. */ class VulnerabilitiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/Host/HostRequestBuilder.php index 3f52a34e25b..a46ce1753d6 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/WhoisHistoryRecordItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/WhoisHistoryRecordItemRequestBuilder.php index 9d76110c773..50333e30dcf 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/WhoisHistoryRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/Item/WhoisHistoryRecordItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?WhoisHistoryRecordItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?WhoisHistoryRecordItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(WhoisHistoryRecord $body, ?WhoisHistor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/WhoisHistoryRecordsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/WhoisHistoryRecordsRequestBuilder.php index 7451b6c5a35..561807beba9 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/WhoisHistoryRecordsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisHistoryRecords/WhoisHistoryRecordsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?WhoisHistoryRecordsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(WhoisHistoryRecord $body, ?WhoisHistory $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilder.php index 256cf529a2a..721123f7d99 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. This API is available in the following national cloud deployments. + * Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?HistoryRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. This API is available in the following national cloud deployments. + * Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?HistoryRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilderGetQueryParameters.php index a2b6922a259..4472f9350b9 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/HistoryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. This API is available in the following national cloud deployments. + * Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. */ class HistoryRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/Item/WhoisHistoryRecordItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/Item/WhoisHistoryRecordItemRequestBuilder.php index 62baa75a6ec..ff3ec339261 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/Item/WhoisHistoryRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/History/Item/WhoisHistoryRecordItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?WhoisHistoryRecordItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/Host/HostRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/Host/HostRequestBuilder.php index f7477098e35..aad853c7c2e 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/Host/HostRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/Host/HostRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?HostRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilder.php index 5e49b1c5913..157d1ff64c5 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?WhoisRecordItemRequestBuilderDeleteRequestConfiguration } /** - * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. * @param WhoisRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?WhoisRecordItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. * @param WhoisRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?WhoisRecordItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(WhoisRecord $body, ?WhoisRecordItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilderGetQueryParameters.php index 54351088143..08742037515 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/Item/WhoisRecordItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + * Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. */ class WhoisRecordItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php index 08336506a2a..c41ef8e8fbe 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of whoisRecord objects. This API is available in the following national cloud deployments. + * Get a list of whoisRecord objects. * @param WhoisRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(WhoisRecord $body, ?WhoisRecordsRequestBuilderPostRequestCo } /** - * Get a list of whoisRecord objects. This API is available in the following national cloud deployments. + * Get a list of whoisRecord objects. * @param WhoisRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?WhoisRecordsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(WhoisRecord $body, ?WhoisRecordsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilderGetQueryParameters.php index 02ebac2e7b8..9f6fefb4226 100644 --- a/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/ThreatIntelligence/WhoisRecords/WhoisRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of whoisRecord objects. This API is available in the following national cloud deployments. + * Get a list of whoisRecord objects. */ class WhoisRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php b/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php index 9f7aaebbb67..76678bd50ef 100644 --- a/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php +++ b/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.php @@ -47,7 +47,7 @@ public function delete(?RetentionEventTypeItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a retentionEventType object. * @param RetentionEventTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?RetentionEventTypeItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a retentionEventType object. * @param RetentionEventTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?RetentionEventTypeItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(RetentionEventType $body, ?RetentionEv $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilderGetQueryParameters.php index cbd64d0d5b2..2fc28ac6af5 100644 --- a/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a retentionEventType object. */ class RetentionEventTypeItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php b/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php index 67170114ecc..dd7c09fdc5b 100644 --- a/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php +++ b/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the retentionEventType objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the retentionEventType objects and their properties. * @param RetentionEventTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RetentionEventTypesRequestBuilderGetRequestConfiguration $r } /** - * Create a new retentionEventType object. This API is available in the following national cloud deployments. + * Create a new retentionEventType object. * @param RetentionEventType $body The request body * @param RetentionEventTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(RetentionEventType $body, ?RetentionEventTypesRequestBuilde } /** - * Get a list of the retentionEventType objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the retentionEventType objects and their properties. * @param RetentionEventTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RetentionEventTypesRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new retentionEventType object. This API is available in the following national cloud deployments. + * Create a new retentionEventType object. * @param RetentionEventType $body The request body * @param RetentionEventTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(RetentionEventType $body, ?RetentionEve $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilderGetQueryParameters.php b/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilderGetQueryParameters.php index 16d5b06fa07..28c6bf328e1 100644 --- a/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the retentionEventType objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the retentionEventType objects and their properties. */ class RetentionEventTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.php b/src/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.php index 4fd074b6991..2c48f307460 100644 --- a/src/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.php +++ b/src/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TriggerTypesRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TriggerTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(TriggerTypesRoot $body, ?TriggerTypesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.php b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.php index f7c9f145820..a5e44d206e6 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.php +++ b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a retentionEvent object. This API is available in the following national cloud deployments. + * Delete a retentionEvent object. * @param RetentionEventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?RetentionEventItemRequestBuilderDeleteRequestConfigurati } /** - * Read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a retentionEvent object. * @param RetentionEventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function patch(RetentionEvent $body, ?RetentionEventItemRequestBuilderPat } /** - * Delete a retentionEvent object. This API is available in the following national cloud deployments. + * Delete a retentionEvent object. * @param RetentionEventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?RetentionEventItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a retentionEvent object. * @param RetentionEventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +121,7 @@ public function toGetRequestInformation(?RetentionEventItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(RetentionEvent $body, ?RetentionEventI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilderGetQueryParameters.php index 3f71f8929ca..498d5abdeae 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a retentionEvent object. */ class RetentionEventItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.php b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.php index 38afd03b1e7..295841e212f 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.php +++ b/src/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RetentionEventTypeRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.php b/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.php index c84c206a1c7..085a047ac13 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.php +++ b/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the retentionEvent objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the retentionEvent objects and their properties. * @param RetentionEventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RetentionEventsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new retentionEvent object. This API is available in the following national cloud deployments. + * Create a new retentionEvent object. * @param RetentionEvent $body The request body * @param RetentionEventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(RetentionEvent $body, ?RetentionEventsRequestBuilderPostReq } /** - * Get a list of the retentionEvent objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the retentionEvent objects and their properties. * @param RetentionEventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RetentionEventsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new retentionEvent object. This API is available in the following national cloud deployments. + * Create a new retentionEvent object. * @param RetentionEvent $body The request body * @param RetentionEventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(RetentionEvent $body, ?RetentionEventsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilderGetQueryParameters.php index 2eae85e62c6..af349011466 100644 --- a/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the retentionEvent objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the retentionEvent objects and their properties. */ class RetentionEventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Triggers/TriggersRequestBuilder.php b/src/Generated/Security/Triggers/TriggersRequestBuilder.php index aa6fae5acec..508d542a872 100644 --- a/src/Generated/Security/Triggers/TriggersRequestBuilder.php +++ b/src/Generated/Security/Triggers/TriggersRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TriggersRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TriggersRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(TriggersRoot $body, ?TriggersRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php b/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php index 98f03a8325a..6eaecb72487 100644 --- a/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 76c316d242a..5eff1eb37e2 100644 --- a/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.php index 79989bbae2e..c78cabc9807 100644 --- a/src/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php index 9ddf2f1b14b..d9b257f174c 100644 --- a/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. This API is available in the following national cloud deployments. + * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddKeyPostRequestBody $body, ?AddKeyRequestBuilderPostReque } /** - * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. This API is available in the following national cloud deployments. + * Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. * @param AddKeyPostRequestBody $body The request body * @param AddKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddKeyPostRequestBody $body, ?AddKeyReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.php index 4b3747180c9..aeba8dcb435 100644 --- a/src/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a strong password or secret to a servicePrincipal object. This API is available in the following national cloud deployments. + * Add a strong password or secret to a servicePrincipal object. * @param AddPasswordPostRequestBody $body The request body * @param AddPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddPasswordPostRequestBody $body, ?AddPasswordRequestBuilde } /** - * Add a strong password or secret to a servicePrincipal object. This API is available in the following national cloud deployments. + * Add a strong password or secret to a servicePrincipal object. * @param AddPasswordPostRequestBody $body The request body * @param AddPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddPasswordPostRequestBody $body, ?AddP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.php index d0971f19c0d..8baed53438b 100644 --- a/src/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. When set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. This API is available in the following national cloud deployments. + * Create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. When set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. * @param AddTokenSigningCertificatePostRequestBody $body The request body * @param AddTokenSigningCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddTokenSigningCertificatePostRequestBody $body, ?AddTokenS } /** - * Create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. When set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. This API is available in the following national cloud deployments. + * Create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. When set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. * @param AddTokenSigningCertificatePostRequestBody $body The request body * @param AddTokenSigningCertificateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddTokenSigningCertificatePostRequestBo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php index 41874d6d914..ba08a361fcf 100644 --- a/src/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AppManagementPoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php index 679897b82ee..3c5294be95f 100644 --- a/src/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. * @param AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AppManagementPolicyItemRequestBuilderGetRequestConfiguratio } /** - * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + * Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. * @param AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AppManagementPolicyItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AppManagementPolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.php index 4bf6fc26dd9..e3ddc768735 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. This API is available in the following national cloud deployments. + * Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. * @param AppRoleAssignedToRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AppRoleAssignedToRequestBuilderGetRequestConfiguration $req } /** - * Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: This API is available in the following national cloud deployments. + * Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: * @param AppRoleAssignment $body The request body * @param AppRoleAssignedToRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(AppRoleAssignment $body, ?AppRoleAssignedToRequestBuilderPo } /** - * Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. This API is available in the following national cloud deployments. + * Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. * @param AppRoleAssignedToRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AppRoleAssignedToRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: This API is available in the following national cloud deployments. + * Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: * @param AppRoleAssignment $body The request body * @param AppRoleAssignedToRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AppRoleAssignment $body, ?AppRoleAssign $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilderGetQueryParameters.php index 8ff28c05c82..4aa492b35fa 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. This API is available in the following national cloud deployments. + * Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. */ class AppRoleAssignedToRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php index 00140c73cde..38b2b188fe9 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. This API is available in the following national cloud deployments. + * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(AppRoleAssignment $body, ?AppRoleAssignmentItemRequestBuil } /** - * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. This API is available in the following national cloud deployments. + * Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?AppRoleAssignmentItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?AppRoleAssignmentItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(AppRoleAssignment $body, ?AppRoleAssig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php index b42108d6609..5f113cd4ce7 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php @@ -68,7 +68,7 @@ public function get(?AppRoleAssignmentsRequestBuilderGetRequestConfiguration $re } /** - * Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: This API is available in the following national cloud deployments. + * Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: * @param AppRoleAssignment $body The request body * @param AppRoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AppRoleAssignmentsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: This API is available in the following national cloud deployments. + * Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: * @param AppRoleAssignment $body The request body * @param AppRoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AppRoleAssignment $body, ?AppRoleAssign $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php index b5025be2b5e..7457a48389f 100644 --- a/src/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes an appRoleAssignment that a service principal has been granted. App roles which are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. This API is available in the following national cloud deployments. + * Deletes an appRoleAssignment that a service principal has been granted. App roles which are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(AppRoleAssignment $body, ?AppRoleAssignmentItemRequestBuil } /** - * Deletes an appRoleAssignment that a service principal has been granted. App roles which are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. This API is available in the following national cloud deployments. + * Deletes an appRoleAssignment that a service principal has been granted. App roles which are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?AppRoleAssignmentItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?AppRoleAssignmentItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(AppRoleAssignment $body, ?AppRoleAssig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 11d106b1f00..78baab46448 100644 --- a/src/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index 4ef6070b708..c6a3cc1edba 100644 --- a/src/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php index 600e87711ef..384a7a353bd 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @param ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration } /** - * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @param ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?ClaimsMappingPoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php index f8f4f2d1553..9d7b412a576 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. */ class ClaimsMappingPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.php index 33baa7fd9b4..6bfb88796c0 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a claimsMappingPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + * Remove a claimsMappingPolicy from a servicePrincipal. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a claimsMappingPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + * Remove a claimsMappingPolicy from a servicePrincipal. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 869f03d16c5..f93bc54e43c 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a claimsMappingPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + * Remove a claimsMappingPolicy from a servicePrincipal. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php index 7dceb6e1d8b..639353736a2 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Assign a claimsMappingPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + * Assign a claimsMappingPolicy to a servicePrincipal. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign a claimsMappingPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + * Assign a claimsMappingPolicy to a servicePrincipal. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilderGetQueryParameters.php index 9d1a7402237..5a86ae3596e 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the claimsMappingPolicy objects that are assigned to a servicePrincipal. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.php index 7e056d77296..5007b09212d 100644 --- a/src/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.php @@ -90,7 +90,7 @@ public function toGetRequestInformation(?CreatedObjectsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index d5f47677637..24a03e6ad87 100644 --- a/src/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php index b5ff081cb66..6d334f80179 100644 --- a/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index ec215980488..accf94f8a65 100644 --- a/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.php index 02767be4b09..2aa95992fc3 100644 --- a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. This API is available in the following national cloud deployments. + * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. * @param DelegatedPermissionClassificationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DelegatedPermissionClassificationsRequestBuilderGetRequestC } /** - * Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. This API is available in the following national cloud deployments. + * Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. * @param DelegatedPermissionClassification $body The request body * @param DelegatedPermissionClassificationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DelegatedPermissionClassification $body, ?DelegatedPermissi } /** - * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. This API is available in the following national cloud deployments. + * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. * @param DelegatedPermissionClassificationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DelegatedPermissionClassificationsReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. This API is available in the following national cloud deployments. + * Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. * @param DelegatedPermissionClassification $body The request body * @param DelegatedPermissionClassificationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DelegatedPermissionClassification $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilderGetQueryParameters.php index 0806f807991..fe28d93b0c3 100644 --- a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. This API is available in the following national cloud deployments. + * Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. */ class DelegatedPermissionClassificationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php index e0fc65da2c2..c15e8d72a1a 100644 --- a/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. This API is available in the following national cloud deployments. + * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. * @param DelegatedPermissionClassificationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(DelegatedPermissionClassification $body, ?DelegatedPermiss } /** - * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. This API is available in the following national cloud deployments. + * Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. * @param DelegatedPermissionClassificationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?DelegatedPermissionClassificationIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?DelegatedPermissionClassificationItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(DelegatedPermissionClassification $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.php index 963158bcdf7..0eb909b2fbd 100644 --- a/src/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?EndpointsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Endpoint $body, ?EndpointsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.php index 60c34102034..b9c0c4322d5 100644 --- a/src/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?EndpointItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?EndpointItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Endpoint $body, ?EndpointItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php index 62307b7fc90..82425615632 100644 --- a/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?FederatedIdentityCredentialsRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(FederatedIdentityCredential $body, ?Fed $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php index d19f4676ffb..172086d2555 100644 --- a/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FederatedIdentityCredentialItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FederatedIdentityCredentialItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FederatedIdentityCredential $body, ?Fe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index 1e7d6590ff6..2a4830cd523 100644 --- a/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index c2bb12a66f0..1f86de14f85 100644 --- a/src/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php index 50f321044cc..73e16487ad4 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @param HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfigura } /** - * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @param HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?HomeRealmDiscoveryPoliciesRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php index 2e569637072..a608b1a011b 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. */ class HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.php index 918b7b470e8..756de165544 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index 475cfa01a4d..d10eb0a6cde 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + * Remove a homeRealmDiscoveryPolicy from a servicePrincipal. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php index 9725867667a..2b47182c0d2 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Assign a homeRealmDiscoveryPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + * Assign a homeRealmDiscoveryPolicy to a servicePrincipal. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign a homeRealmDiscoveryPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + * Assign a homeRealmDiscoveryPolicy to a servicePrincipal. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilderGetQueryParameters.php index 333af620f34..64c13935d00 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + * List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 6485e4e6c0c..c21fb9785f6 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index 931a6535ef9..f01cd4ecb39 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php index e39960eeab2..493af444c51 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php index 5437fc0762d..e6ba11a54b3 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index d6176fd3ada..d63c4e704a2 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index c095d90c6b9..9f305617b98 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index a4cc4e7c636..fc922efd0d4 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.php b/src/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.php index acbc08a57e2..8381b8e7ca3 100644 --- a/src/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?MemberOfRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php index e4a786ae147..df89edcd5ad 100644 --- a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?OAuth2PermissionGrantItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php index 748a58e42de..27bb3b219a4 100644 --- a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. * @param Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration } /** - * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. * @param Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?Oauth2PermissionGrantsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php index 18b4a716953..902e1fda412 100644 --- a/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. */ class Oauth2PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index a0f7835e9d4..5f230df5cbd 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php index faf2b9cb26d..ef9c5a4c107 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.php index 66fbb74c44a..08300300f53 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php index cf55dfd9616..64beac52bcf 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index b1d0b13c80c..bf7c6669deb 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php index 940f8830842..49c0357dde3 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php @@ -102,7 +102,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index 9d965cf7f13..c4009bc51f1 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php index 587056e6bd5..1fcf6e39c83 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index 4ada34331bd..1e639470d66 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php index 8a20fd6b905..db3bdaf51b5 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 22e0f6c7937..1535d9e9db0 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.php index a2fe6e0ca3f..934cd95ddcf 100644 --- a/src/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.php @@ -122,7 +122,7 @@ public function toGetRequestInformation(?OwnedObjectsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index e73da21ea7f..67cdbaae007 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php index b8cb9511b43..db9607cd7eb 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 49004ba7a37..b1a16f813f5 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.php index 8704505d679..f1f26065bfd 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index a0ea28586bc..d68d64acdd1 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index 682c8213fd8..c80ef69466e 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 03c507a9824..ea766cfcb70 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php index 08c67981272..60f077dc2a3 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.php index ad9bce4e932..7ca9ed1d95d 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. This API is available in the following national cloud deployments. + * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. This API is available in the following national cloud deployments. + * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php index f416628d42a..dae4339934c 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. This API is available in the following national cloud deployments. + * Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php index 6d466fe5f08..a7f6597c9cb 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php @@ -123,7 +123,7 @@ public function toGetRequestInformation(?OwnersRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php index d054af9ec27..f52bf7d77d8 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.php @@ -48,7 +48,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. This API is available in the following national cloud deployments. + * Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -81,12 +81,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. This API is available in the following national cloud deployments. + * Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -100,7 +100,7 @@ public function toPostRequestInformation(ReferenceCreate $body, ?RefRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.php b/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.php index c3d8566542f..594ed9d16ac 100644 --- a/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.php @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?RemoteDesktopSecurityConfigurationRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -122,7 +122,7 @@ public function toGetRequestInformation(?RemoteDesktopSecurityConfigurationReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -141,7 +141,7 @@ public function toPatchRequestInformation(RemoteDesktopSecurityConfiguration $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.php index 953b37bb471..d252fd75df6 100644 --- a/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?TargetDeviceGroupItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TargetDeviceGroupItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TargetDeviceGroup $body, ?TargetDevice $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.php index cce0cb69100..ffa080b77f9 100644 --- a/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?TargetDeviceGroupsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(TargetDeviceGroup $body, ?TargetDeviceG $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.php b/src/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.php index 1085352f86f..ef079f4b7fb 100644 --- a/src/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a key credential from a servicePrincipal. This method along with addKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. This API is available in the following national cloud deployments. + * Remove a key credential from a servicePrincipal. This method along with addKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. * @param RemoveKeyPostRequestBody $body The request body * @param RemoveKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RemoveKeyPostRequestBody $body, ?RemoveKeyRequestBuilderPos } /** - * Remove a key credential from a servicePrincipal. This method along with addKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. This API is available in the following national cloud deployments. + * Remove a key credential from a servicePrincipal. This method along with addKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. * @param RemoveKeyPostRequestBody $body The request body * @param RemoveKeyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemoveKeyPostRequestBody $body, ?Remove $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.php b/src/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.php index d2a4437a976..c46594d0d19 100644 --- a/src/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a password from a servicePrincipal object. This API is available in the following national cloud deployments. + * Remove a password from a servicePrincipal object. * @param RemovePasswordPostRequestBody $body The request body * @param RemovePasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RemovePasswordPostRequestBody $body, ?RemovePasswordRequest } /** - * Remove a password from a servicePrincipal object. This API is available in the following national cloud deployments. + * Remove a password from a servicePrincipal object. * @param RemovePasswordPostRequestBody $body The request body * @param RemovePasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemovePasswordPostRequestBody $body, ?R $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php index 26425560eb6..f00db80601b 100644 --- a/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.php index fda797d4b33..266947dc866 100644 --- a/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.php @@ -255,7 +255,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a servicePrincipal object. This API is available in the following national cloud deployments. + * Delete a servicePrincipal object. * @param ServicePrincipalItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -271,7 +271,7 @@ public function delete(?ServicePrincipalItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a servicePrincipal object. * @param ServicePrincipalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -303,7 +303,7 @@ public function patch(ServicePrincipal $body, ?ServicePrincipalItemRequestBuilde } /** - * Delete a servicePrincipal object. This API is available in the following national cloud deployments. + * Delete a servicePrincipal object. * @param ServicePrincipalItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -316,12 +316,12 @@ public function toDeleteRequestInformation(?ServicePrincipalItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a servicePrincipal object. * @param ServicePrincipalItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -337,7 +337,7 @@ public function toGetRequestInformation(?ServicePrincipalItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -356,7 +356,7 @@ public function toPatchRequestInformation(ServicePrincipal $body, ?ServicePrinci $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilderGetQueryParameters.php index 7fbeeb0c9ec..80d37f58cb4 100644 --- a/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a servicePrincipal object. */ class ServicePrincipalItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php index 77118cbe0c6..182edb928a3 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. * @param AcquireAccessTokenPostRequestBody $body The request body * @param AcquireAccessTokenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcquireAccessTokenPostRequestBody $body, ?AcquireAccessToke } /** - * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. * @param AcquireAccessTokenPostRequestBody $body The request body * @param AcquireAccessTokenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcquireAccessTokenPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php index e3eea8fecae..5d6e3c802b8 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. This API is available in the following national cloud deployments. + * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. * @param PauseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PauseRequestBuilderPostRequestConfiguration $requestConfig } /** - * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. This API is available in the following national cloud deployments. + * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. * @param PauseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PauseRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php index 730c0adbcda..05d0cc7eef7 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. This API is available in the following national cloud deployments. + * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. * @param ProvisionOnDemandPostRequestBody $body The request body * @param ProvisionOnDemandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ProvisionOnDemandPostRequestBody $body, ?ProvisionOnDemandR } /** - * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. This API is available in the following national cloud deployments. + * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. * @param ProvisionOnDemandPostRequestBody $body The request body * @param ProvisionOnDemandRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ProvisionOnDemandPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php index 82d1a7df6e4..9378e7c58a5 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. * @param RestartPostRequestBody $body The request body * @param RestartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(RestartPostRequestBody $body, ?RestartRequestBuilderPostReq } /** - * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. * @param RestartPostRequestBody $body The request body * @param RestartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(RestartPostRequestBody $body, ?RestartR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php index 84881774546..293abe0997b 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DirectoriesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DirectoryDefinition $body, ?Directories $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php index 835d4bb4e81..c6351eb0c9d 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DirectoryDefinitionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DirectoryDefinitionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DirectoryDefinition $body, ?DirectoryD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php index 4e464a2f99f..7cca7b2594a 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?DiscoverRequestBuilderPostRequestConfiguration $requestCon } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?DiscoverRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php index 7fec836a377..6b9ef11eb03 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FilterOperatorsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php index 75e4002d2c8..197aef9aaf6 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php index 9ad3ac4e07e..01e5b7e7e3e 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ParseExpressionPostRequestBody $body, ?ParseExpressionReque } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ParseExpressionPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php index 29769b86f8f..3bf9b7ea04b 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?SchemaRequestBuilderDeleteRequestConfiguration $requestC } /** - * Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + * Retrieve the schema for a given synchronization job or template. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -124,12 +124,12 @@ public function toDeleteRequestInformation(?SchemaRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + * Retrieve the schema for a given synchronization job or template. * @param SchemaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -145,7 +145,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -164,7 +164,7 @@ public function toPatchRequestInformation(SynchronizationSchema $body, ?SchemaRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php index ad5ea3f6f0b..0c1d47b28ed 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + * Retrieve the schema for a given synchronization job or template. */ class SchemaRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php index 0fcba147078..46be78924d2 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?StartRequestBuilderPostRequestConfiguration $requestConfig } /** - * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. * @param StartRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?StartRequestBuilderPostRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php index 5bf7d93b0f0..745a950f1c9 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @param SynchronizationJobItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?SynchronizationJobItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + * Retrieve the existing synchronization job and its properties. * @param SynchronizationJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(SynchronizationJob $body, ?SynchronizationJobItemRequestBu } /** - * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + * Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. * @param SynchronizationJobItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?SynchronizationJobItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + * Retrieve the existing synchronization job and its properties. * @param SynchronizationJobItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?SynchronizationJobItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(SynchronizationJob $body, ?Synchroniza $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php index 4e181277b6d..e0c39189151 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + * Retrieve the existing synchronization job and its properties. */ class SynchronizationJobItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php index 31b7607920c..6036fee2be4 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + * Validate that the credentials are valid in the tenant. * @param ValidateCredentialsPostRequestBody $body The request body * @param ValidateCredentialsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidateCredentialsPostRequestBody $body, ?ValidateCredenti } /** - * Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + * Validate that the credentials are valid in the tenant. * @param ValidateCredentialsPostRequestBody $body The request body * @param ValidateCredentialsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidateCredentialsPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.php index 208c99d2e6a..922512264b0 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + * List existing jobs for a given application instance (service principal). * @param JobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?JobsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. * @param SynchronizationJob $body The request body * @param JobsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(SynchronizationJob $body, ?JobsRequestBuilderPostRequestCon } /** - * List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + * List existing jobs for a given application instance (service principal). * @param JobsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?JobsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + * Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. * @param SynchronizationJob $body The request body * @param JobsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(SynchronizationJob $body, ?JobsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php index f3cbc48befa..712b8d800ba 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + * List existing jobs for a given application instance (service principal). */ class JobsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php index a30682dcb37..df247d743b6 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(ValidateCredentialsPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.php index 6506fc6dba0..01f237280e7 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.php @@ -69,7 +69,7 @@ public function toPutRequestInformation(array $body, ?SecretsRequestBuilderPutRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsableCollection($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.php index 42a0cc1d645..d7f8a8139f1 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SynchronizationRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SynchronizationRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPutRequestInformation(Synchronization $body, ?SynchronizationR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php index cc3d054f1b4..58f179edd91 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DirectoriesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DirectoryDefinition $body, ?Directories $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php index 2a6273bc549..8fcb61a6910 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DirectoryDefinitionItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DirectoryDefinitionItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DirectoryDefinition $body, ?DirectoryD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php index a94a79a5b6a..ced5cdc4ed0 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?DiscoverRequestBuilderPostRequestConfiguration $requestCon } /** - * Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + * Discover the latest schema definition for provisioning to an application. * @param DiscoverRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?DiscoverRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php index 7ea2f94956e..721bcad2c00 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FilterOperatorsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php index 10d922068b4..1b355bfe1bf 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?FunctionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php index c858b410634..6013868ebd3 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ParseExpressionPostRequestBody $body, ?ParseExpressionReque } /** - * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. * @param ParseExpressionPostRequestBody $body The request body * @param ParseExpressionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ParseExpressionPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php index e4d06a181c4..e6f720218b8 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SchemaRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(SynchronizationSchema $body, ?SchemaRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php index a831cad5018..034eeade35f 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.php @@ -69,7 +69,7 @@ public function get(?SynchronizationTemplateItemRequestBuilderGetRequestConfigur } /** - * Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + * Update (override) the synchronization template associated with a given application. * @param SynchronizationTemplate $body The request body * @param SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?SynchronizationTemplateItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,12 +120,12 @@ public function toGetRequestInformation(?SynchronizationTemplateItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + * Update (override) the synchronization template associated with a given application. * @param SynchronizationTemplate $body The request body * @param SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -139,7 +139,7 @@ public function toPatchRequestInformation(SynchronizationTemplate $body, ?Synchr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.php index c320d351917..151d3d70bec 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + * List the synchronization templates associated with a given application or service principal. * @param TemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SynchronizationTemplate $body, ?TemplatesRequestBuilderPost } /** - * List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + * List the synchronization templates associated with a given application or service principal. * @param TemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TemplatesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SynchronizationTemplate $body, ?Templat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php index 704c96fd12c..4a5b84ab0f9 100644 --- a/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + * List the synchronization templates associated with a given application or service principal. */ class TemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php index 7fa98acb377..dffb16c11e7 100644 --- a/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TokenIssuancePolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php index a3faf386778..6e2b123ef17 100644 --- a/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TokenIssuancePoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php index 14ac51c01bb..586749bf3c9 100644 --- a/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TokenLifetimePolicyItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php index 7e7b37a0bb0..75cf1519645 100644 --- a/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?TokenLifetimePoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 1dc5c7734ec..5bd1c0aa32a 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index 99299d6f54e..8a8b857826f 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php index 986a91b3836..d5218eb93ad 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php index a2c18b2e13a..0812dcc6ed9 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 22d9939f706..fa83e86f091 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index a0ff732d47a..6ad69081e89 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index 807ebd8ae3d..0ccef339923 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php index 48c8f4e9a1a..bdfa2ec5a55 100644 --- a/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?TransitiveMemberOfRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.php b/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.php index 06dd0858315..251ca4ae2cc 100644 --- a/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.php +++ b/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.php @@ -84,7 +84,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of servicePrincipal objects. This API is available in the following national cloud deployments. + * Retrieve a list of servicePrincipal objects. * @param ServicePrincipalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function get(?ServicePrincipalsRequestBuilderGetRequestConfiguration $req } /** - * Create a new servicePrincipal object. This API is available in the following national cloud deployments. + * Create a new servicePrincipal object. * @param ServicePrincipal $body The request body * @param ServicePrincipalsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -117,7 +117,7 @@ public function post(ServicePrincipal $body, ?ServicePrincipalsRequestBuilderPos } /** - * Retrieve a list of servicePrincipal objects. This API is available in the following national cloud deployments. + * Retrieve a list of servicePrincipal objects. * @param ServicePrincipalsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toGetRequestInformation(?ServicePrincipalsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new servicePrincipal object. This API is available in the following national cloud deployments. + * Create a new servicePrincipal object. * @param ServicePrincipal $body The request body * @param ServicePrincipalsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -152,7 +152,7 @@ public function toPostRequestInformation(ServicePrincipal $body, ?ServicePrincip $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilderGetQueryParameters.php index 533353e3cc0..552b87045a6 100644 --- a/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/ServicePrincipalsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of servicePrincipal objects. This API is available in the following national cloud deployments. + * Retrieve a list of servicePrincipal objects. */ class ServicePrincipalsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php index e1127f99e42..9cf769a17f2 100644 --- a/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.php b/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.php index 43d346bb456..11b4831f34b 100644 --- a/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.php +++ b/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.php @@ -34,7 +34,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a servicePrincipal object. This API is available in the following national cloud deployments. + * Delete a servicePrincipal object. * @param ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -50,7 +50,7 @@ public function delete(?ServicePrincipalsWithAppIdRequestBuilderDeleteRequestCon } /** - * Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a servicePrincipal object. * @param ServicePrincipalsWithAppIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -82,7 +82,7 @@ public function patch(ServicePrincipal $body, ?ServicePrincipalsWithAppIdRequest } /** - * Delete a servicePrincipal object. This API is available in the following national cloud deployments. + * Delete a servicePrincipal object. * @param ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,12 +95,12 @@ public function toDeleteRequestInformation(?ServicePrincipalsWithAppIdRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a servicePrincipal object. * @param ServicePrincipalsWithAppIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ServicePrincipalsWithAppIdRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toPatchRequestInformation(ServicePrincipal $body, ?ServicePrinci $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters.php index 23b2a163dc6..0cdc4d2ea6b 100644 --- a/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a servicePrincipal object. */ class ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.php index c236a5e1a64..ece7bfedf45 100644 --- a/src/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 99f64cc0470..0f719a9f2c7 100644 --- a/src/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Shares/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index cb15c6e041e..a7fe558dc17 100644 --- a/src/Generated/Shares/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Shares/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.php index 4e80e144ee1..6f7fffcece2 100644 --- a/src/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.php index 3053c3a114c..07130601600 100644 --- a/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. * @param DriveItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?DriveItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. * @param DriveItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php index 97338e40b71..e653583c6fb 100644 --- a/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/DriveItem/DriveItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. */ class DriveItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php index 0bf6c881f46..fe407191641 100644 --- a/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php index bb85e443a33..cdd85ef843d 100644 --- a/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 9b704f31e82..d112c32cf55 100644 --- a/src/Generated/Shares/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 22a74aef260..465376b0b89 100644 --- a/src/Generated/Shares/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php index 5fb684d75b1..2bba36b1adf 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostReq } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php index 2d5e8335fa0..65ea45dde70 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFro } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php index 794d9a9d7a9..7400db8658e 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestCo } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toPostRequestInformation(ContentType $body, ?ContentTypesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php index 7121356b5f2..f37ce425b1c 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. */ class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php index e2f2ea08112..e8fa3e5cad3 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php index fc358de5239..fb01257ccd8 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithH } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php index f31cf338027..0344db44e64 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php index 95b2e646078..fa3914f2338 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php index 6f004f9c8d6..78a9c57e663 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php index fec53610a25..47dd3984545 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php index 884db7b327a..836f98e3b9d 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php index 87d7e1cbd8d..5bcaaa55f1f 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php index 61fbb55dd37..2460ee75ca9 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php index 566676ed421..fe38193a6e2 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 5b7d9fc6daf..c8401acba53 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 5cd870e76e0..d66b97b01df 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $ } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilde } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php index 778743f8f66..0c17a24c477 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. */ class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index f78a51943fb..e5a361b6aee 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php index 9940e15a52c..2d667c58325 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -170,7 +170,7 @@ public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -191,7 +191,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -210,7 +210,7 @@ public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index de216f00302..a78713cd39f 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToD } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CopyToDefaultContentLocationPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php index 9ab4a262aea..4864cdfa0bb 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php index d1fa7f10a14..546e2d5832c 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php index 68387a46092..5df94672f6d 100644 --- a/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php index df70a90993b..2e2ff317121 100644 --- a/src/Generated/Shares/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 4872e9555ca..1e2316838fc 100644 --- a/src/Generated/Shares/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 15adcad2b49..507dd5fad52 100644 --- a/src/Generated/Shares/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Drive/DriveRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Drive/DriveRequestBuilder.php index ac7bfaf12ad..ea46ab29ee2 100644 --- a/src/Generated/Shares/Item/EscapedList/Drive/DriveRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php index a79555dd6da..5c69b659555 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Analytics/AnalyticsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 86731c502b1..e9af21a67f9 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index ffb3058f989..a6f38055847 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index c7db24f6dce..a202328d1e8 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php index b4e2643edb0..e8a01f4fc21 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $r } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilde } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DocumentSetVersion $body, ?DocumentSetV $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php index 56c5636bd9e..6b2478f9020 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. */ class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index 66b7c30aa5b..bf453bda6d3 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBu } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?DocumentSetVersionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?DocumentSetVersionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(DocumentSetVersion $body, ?DocumentSet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php index cfce5fc43a6..fc58567f68b 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. */ class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php index 635da37ae99..0aee60c7998 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php index 2fb8065cb24..ef4bd9f6545 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php index 60fa1d46ada..1a8a96b688c 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php index 69d236f0566..8ee6f13622e 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php index 94ff64b5110..cbdd1247eae 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Fields/FieldsRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,12 +112,12 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -131,7 +131,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index 03e7c0975bd..1c7d59affaa 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index 1efddd38c1a..30e22a74044 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index 045800f2f9c..7c1ca4304db 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 7f952ece07c..4442b573a12 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 19c3e8de705..7c216f7c1bb 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php index 725076bd73f..4d878398f59 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php @@ -96,7 +96,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -112,7 +112,7 @@ public function delete(?ListItemItemRequestBuilderDeleteRequestConfiguration $re } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,7 +155,7 @@ public function patch(ListItem $body, ?ListItemItemRequestBuilderPatchRequestCon } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,12 +168,12 @@ public function toDeleteRequestInformation(?ListItemItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -189,7 +189,7 @@ public function toGetRequestInformation(?ListItemItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -208,7 +208,7 @@ public function toPatchRequestInformation(ListItem $body, ?ListItemItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php index 20b06b37fab..5956cb6f18e 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. */ class ListItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php index 19ffc0c7950..b980fedb877 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php index 7d7ec62ffe9..5ee5b7ee93f 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?ListItemVersionItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?ListItemVersionItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ListItemVersionItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(ListItemVersion $body, ?ListItemVersio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php index 5c1b0f078dd..ad420e8cae6 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. */ class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index 46ccf2c596a..9cbf2c96792 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requ } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreVersionRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php index b290be0601a..8d3e1892c8e 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ListItemVersion $body, ?VersionsRequestBuilderPostRequestCo } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ListItemVersion $body, ?VersionsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index cd6a0324f98..14525e91434 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php index 85a9c5c8764..48d27ff400d 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilder.php @@ -44,7 +44,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -60,7 +60,7 @@ public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -77,7 +77,7 @@ public function post(ListItem $body, ?ItemsRequestBuilderPostRequestConfiguratio } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -112,7 +112,7 @@ public function toPostRequestInformation(ListItem $body, ?ItemsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php index ac63e9c8cb2..f6ff1a53b50 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. */ class ItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index e505e0c39a6..2e4cd0f0b21 100644 --- a/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 99c4ae9ca36..090f9d270b8 100644 --- a/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 9947fb8fd9e..2090e1e92a9 100644 --- a/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/ListRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/ListRequestBuilder.php index 9f7189a17bd..e48fc36b5a6 100644 --- a/src/Generated/Shares/Item/EscapedList/ListRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/ListRequestBuilder.php @@ -154,7 +154,7 @@ public function toDeleteRequestInformation(?ListRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -175,7 +175,7 @@ public function toGetRequestInformation(?ListRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -194,7 +194,7 @@ public function toPatchRequestInformation(EscapedList $body, ?ListRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 08040d904eb..82ff1283af0 100644 --- a/src/Generated/Shares/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Operations/OperationsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Operations/OperationsRequestBuilder.php index 76baac70c98..269029274b2 100644 --- a/src/Generated/Shares/Item/EscapedList/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index 3f803dd8db1..90c4def588e 100644 --- a/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $request } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php index 950fb70b2b7..c4ed458baa8 100644 --- a/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php index 2eb489c6927..04fc7ef975c 100644 --- a/src/Generated/Shares/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Subscriptions/SubscriptionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Subscription $body, ?SubscriptionsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.php b/src/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.php index 1d00b648923..e5c404da9bd 100644 --- a/src/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.php b/src/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.php index 5282845ed42..9e4f0bb2884 100644 --- a/src/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.php +++ b/src/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Items/ItemsRequestBuilder.php b/src/Generated/Shares/Item/Items/ItemsRequestBuilder.php index c783c6dfcb0..b93e3c34a80 100644 --- a/src/Generated/Shares/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Shares/Item/Items/ItemsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index c7ed9b33d29..b5b1906a84e 100644 --- a/src/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index d8ea4ab2e18..c4d5a8fdd71 100644 --- a/src/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Shares/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index cd7caa72f82..4b571b372ba 100644 --- a/src/Generated/Shares/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Shares/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/ListItem/ListItemRequestBuilder.php b/src/Generated/Shares/Item/ListItem/ListItemRequestBuilder.php index 98f45cc7bae..e94e60c1e46 100644 --- a/src/Generated/Shares/Item/ListItem/ListItemRequestBuilder.php +++ b/src/Generated/Shares/Item/ListItem/ListItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ListItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.php b/src/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.php index 84380a75deb..b1508e85c54 100644 --- a/src/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.php +++ b/src/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GrantPostRequestBody $body, ?GrantRequestBuilderPostRequest } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GrantPostRequestBody $body, ?GrantReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Permission/PermissionRequestBuilder.php b/src/Generated/Shares/Item/Permission/PermissionRequestBuilder.php index 559b5eb12c1..f2def490689 100644 --- a/src/Generated/Shares/Item/Permission/PermissionRequestBuilder.php +++ b/src/Generated/Shares/Item/Permission/PermissionRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PermissionRequestBuilderDeleteReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PermissionRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Permission $body, ?PermissionRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Root/Content/ContentRequestBuilder.php b/src/Generated/Shares/Item/Root/Content/ContentRequestBuilder.php index 445686b4e11..8b24194e8dd 100644 --- a/src/Generated/Shares/Item/Root/Content/ContentRequestBuilder.php +++ b/src/Generated/Shares/Item/Root/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/Root/RootRequestBuilder.php b/src/Generated/Shares/Item/Root/RootRequestBuilder.php index 2974e92991f..78a173956ff 100644 --- a/src/Generated/Shares/Item/Root/RootRequestBuilder.php +++ b/src/Generated/Shares/Item/Root/RootRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?RootRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.php b/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.php index 3370d4a6ac9..3c3b5a7bda9 100644 --- a/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.php +++ b/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.php @@ -118,7 +118,7 @@ public function delete(?SharedDriveItemItemRequestBuilderDeleteRequestConfigurat } /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. * @param SharedDriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -163,12 +163,12 @@ public function toDeleteRequestInformation(?SharedDriveItemItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. * @param SharedDriveItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -184,7 +184,7 @@ public function toGetRequestInformation(?SharedDriveItemItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -203,7 +203,7 @@ public function toPatchRequestInformation(SharedDriveItem $body, ?SharedDriveIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilderGetQueryParameters.php index 72325a49076..71d0e1ca1b2 100644 --- a/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/Item/SharedDriveItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. */ class SharedDriveItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Shares/Item/Site/SiteRequestBuilder.php b/src/Generated/Shares/Item/Site/SiteRequestBuilder.php index b1316b2ed82..c2fe2aedf2d 100644 --- a/src/Generated/Shares/Item/Site/SiteRequestBuilder.php +++ b/src/Generated/Shares/Item/Site/SiteRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SiteRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Shares/SharesRequestBuilder.php b/src/Generated/Shares/SharesRequestBuilder.php index 70de4940117..37b60a363f7 100644 --- a/src/Generated/Shares/SharesRequestBuilder.php +++ b/src/Generated/Shares/SharesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. * @param SharesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(SharedDriveItem $body, ?SharesRequestBuilderPostRequestConf } /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. * @param SharesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SharesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(SharedDriveItem $body, ?SharesRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Shares/SharesRequestBuilderGetQueryParameters.php b/src/Generated/Shares/SharesRequestBuilderGetQueryParameters.php index c1eb8db1c03..f974acc7c52 100644 --- a/src/Generated/Shares/SharesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Shares/SharesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + * Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. */ class SharesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Add/AddRequestBuilder.php b/src/Generated/Sites/Add/AddRequestBuilder.php index 390a747384d..1920ed3f61b 100644 --- a/src/Generated/Sites/Add/AddRequestBuilder.php +++ b/src/Generated/Sites/Add/AddRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Delta/DeltaRequestBuilder.php b/src/Generated/Sites/Delta/DeltaRequestBuilder.php index 085756b6fed..a6cd5dd2753 100644 --- a/src/Generated/Sites/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Sites/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.php b/src/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.php index e1394189fd9..00258fa99b8 100644 --- a/src/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.php +++ b/src/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllSitesRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php b/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php index a6c9d43075e..6c9402f40b2 100644 --- a/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?AllTimeRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?AllTimeRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php index 6b37b5309eb..4f03fc274e4 100644 --- a/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + * Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. */ class AllTimeRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.php index 8fc3ff4974e..083e1d77f29 100644 --- a/src/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?AnalyticsRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(ItemAnalytics $body, ?AnalyticsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php index 96efc20e559..33a83a3f982 100644 --- a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ItemActivity $body, ?ActivitiesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php index 1864b7ac6fc..5fa61307bd7 100644 --- a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php index ae32b04846d..56ad40e6085 100644 --- a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php index 5ab8d14ffd2..50c0b8569ef 100644 --- a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ItemActivityItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ItemActivityItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ItemActivity $body, ?ItemActivityItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php index 958c495f60a..512e8e19198 100644 --- a/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ItemActivityStatItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ItemActivityStatItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ItemActivityStat $body, ?ItemActivityS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php b/src/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php index 2ed170c5cbc..46701e795c2 100644 --- a/src/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ItemActivityStatsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ItemActivityStat $body, ?ItemActivitySt $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php b/src/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php index 8814c1eb77b..fe211f0b363 100644 --- a/src/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php +++ b/src/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LastSevenDaysRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Sites/Item/Columns/ColumnsRequestBuilder.php index f8c1e941a06..8b1d9480ae4 100644 --- a/src/Generated/Sites/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [site][site]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a column for a site][site] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [site][site]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a column for a site][site] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index d206d2bbb48..ff233b2e656 100644 --- a/src/Generated/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [site][site]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 0457c167df1..41f5fcd6cda 100644 --- a/src/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 0b22f51534a..94f8705b02f 100644 --- a/src/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php index a747da53536..6f792e70c79 100644 --- a/src/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostReq } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php index bb0c6b3b8fc..d18b076bb11 100644 --- a/src/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFro } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php index e1c9df8572e..b69ad4f9625 100644 --- a/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [site][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function get(?ContentTypesRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new contentType][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [contentType][] in a [site][]. * @param ContentType $body The request body * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -109,7 +109,7 @@ public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestCo } /** - * Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [site][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new contentType][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [contentType][] in a [site][]. * @param ContentType $body The request body * @param ContentTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -144,7 +144,7 @@ public function toPostRequestInformation(ContentType $body, ?ContentTypesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php index b63c46906b2..edecf9ddd1f 100644 --- a/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [site][]. */ class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php index a72770d3587..e2c1cb9bdbd 100644 --- a/src/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php index 7be6af25d49..00991601f79 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithH } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php index f9e53c7453f..b2843d9103d 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php index b7ce2f7e9a5..408053f1318 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php index 47b575dbc8a..1faac967eb3 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php index 4bf6ee4fe6f..d8906d95d80 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php index 332bd5167e3..09913ec3853 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php index 4b2ba020d08..12d7374e43b 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php index 1b438030588..7ac6940694c 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php index 1dc829e7fed..6b468e05cc3 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index a1d817b85ff..a9883dbd466 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 0d40c3a8882..cb4738af161 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $ } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilde } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php index e5189743507..b06268d7c75 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. */ class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index d2e383ffca1..2da9d796e4d 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php index 8f9fc39c9b6..8e7b1d8bb88 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -111,7 +111,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + * Remove a [content type][contentType] from a [list][] or a [site][]. * @param ContentTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function delete(?ContentTypeItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -143,7 +143,7 @@ public function get(?ContentTypeItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a content type][contentType]. This API is available in the following [national cloud deployments. + * Update a [content type][contentType]. * @param ContentType $body The request body * @param ContentTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -160,7 +160,7 @@ public function patch(ContentType $body, ?ContentTypeItemRequestBuilderPatchRequ } /** - * Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + * Remove a [content type][contentType] from a [list][] or a [site][]. * @param ContentTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -173,12 +173,12 @@ public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. * @param ContentTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -194,12 +194,12 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a content type][contentType]. This API is available in the following [national cloud deployments. + * Update a [content type][contentType]. * @param ContentType $body The request body * @param ContentTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -213,7 +213,7 @@ public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php index 2b088481a85..c9885660dbf 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. */ class ContentTypeItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index 47360030f7b..83ff2eb8626 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToD } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CopyToDefaultContentLocationPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php index e5663bf0b91..a6e49203bb7 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php index baf561d51d4..68ab6aad518 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php index e521e0aba04..83e7d50a909 100644 --- a/src/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 81b1641415c..98a419cb195 100644 --- a/src/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index d44292e0cca..e6d04e54482 100644 --- a/src/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 319c000e80b..2faa7d70075 100644 --- a/src/Generated/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Sites/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Drive/DriveRequestBuilder.php b/src/Generated/Sites/Item/Drive/DriveRequestBuilder.php index 90f75182fa1..5cbebffdd14 100644 --- a/src/Generated/Sites/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Sites/Item/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Drives/DrivesRequestBuilder.php b/src/Generated/Sites/Item/Drives/DrivesRequestBuilder.php index 7c99517149e..74620fe3032 100644 --- a/src/Generated/Sites/Item/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Sites/Item/Drives/DrivesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.php b/src/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.php index 6f6075f4b5d..d6f5aaf4ea0 100644 --- a/src/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php b/src/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php index 0b0fabe0fea..d3f934c6368 100644 --- a/src/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ExternalColumnsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php index 51d5e9cdfe5..1f31c23aa0c 100644 --- a/src/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index e43c5bf734f..8cfa429fa3b 100644 --- a/src/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index 78816f2b3ad..a1517323633 100644 --- a/src/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php b/src/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php index 16728d743a7..b83c86b01c6 100644 --- a/src/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php +++ b/src/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetApplicableContentTypesForListWithLis } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php index 1ae61759ee0..60be66d10e9 100644 --- a/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php +++ b/src/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GetByPathWithPathRequestBuilderGetReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php b/src/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php index 17505a1e98f..8a5f7783bec 100644 --- a/src/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseItemItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Items/ItemsRequestBuilder.php b/src/Generated/Sites/Item/Items/ItemsRequestBuilder.php index 3d0b253f044..4443c719d65 100644 --- a/src/Generated/Sites/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Sites/Item/Items/ItemsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index 1aa2466e186..43a6c3e9432 100644 --- a/src/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index c2ce6ea3442..69409a0ebd9 100644 --- a/src/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index b890c436bc2..cb18233111e 100644 --- a/src/Generated/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Sites/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php index b00963da554..f8bbebec90a 100644 --- a/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 5c5e487a89f..d83526fe0fc 100644 --- a/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [list][list]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index b6e3240572f..be4f0e21f73 100644 --- a/src/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 810d00db875..4cd7c4dbfb6 100644 --- a/src/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php index 468e3c723b8..13a8707ad4e 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyPostRequestBody $body, ?AddCopyRequestBuilderPostReq } /** - * Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + * Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. * @param AddCopyPostRequestBody $body The request body * @param AddCopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyPostRequestBody $body, ?AddCopyR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php index c18cc66a77a..ddb8f4de387 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AddCopyFromContentTypeHubPostRequestBody $body, ?AddCopyFro } /** - * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. * @param AddCopyFromContentTypeHubPostRequestBody $body The request body * @param AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AddCopyFromContentTypeHubPostRequestBod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php index c54b172bf04..8060c36c36c 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.php @@ -76,7 +76,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function post(ContentType $body, ?ContentTypesRequestBuilderPostRequestCo } /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. * @param ContentTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?ContentTypesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toPostRequestInformation(ContentType $body, ?ContentTypesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php index f23f8dc2837..966db66101b 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [contentType][contentType] resources in a [list][]. */ class ContentTypesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php index d4bacf216ef..1ed2f976e47 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetCompatibleHubContentTypesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php index 03d81278c5e..4c652c24787 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AssociateWithHubSitesPostRequestBody $body, ?AssociateWithH } /** - * Associate a published content type][contentType] present in a content type hub with a list of hub sites. This API is available in the following [national cloud deployments. + * Associate a published [content type][contentType] present in a content type hub with a list of hub sites. * @param AssociateWithHubSitesPostRequestBody $body The request body * @param AssociateWithHubSitesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AssociateWithHubSitesPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php index 85b628fe580..3cec4cccf3a 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/EscapedBaseRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?BaseRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php index d07d6c02892..c3f461ab23c 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?BaseTypesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php index cc403eee1c7..743ed19af4b 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php index 21ee7e5aa6c..23e250d46a2 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ColumnLinksRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ColumnLink $body, ?ColumnLinksRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php index ef530e914e9..d46f9574e4b 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ColumnLinkItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ColumnLinkItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ColumnLink $body, ?ColumnLinkItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php index b7e01ea9f94..bee500e8a90 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ColumnPositionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php index 915758b5841..f572a7832a2 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php index 6eb35be3729..d337e10afb0 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ColumnDefinition $body, ?ColumnsRequestBuilderPostRequestCo } /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. * @param ColumnsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ColumnsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a column to a content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + * Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ColumnDefinition $body, ?ColumnsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php index 4265ad849a9..6fab2931305 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of columns represented as columnDefinition][columnDefinition] resources in a [content type][contentType]. This API is available in the following [national cloud deployments. + * Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. */ class ColumnsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php index 779fe28cff6..0025fc1574f 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ColumnDefinitionItemRequestBuilderDeleteRequestConfigura } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ColumnDefinitionItemRequestBuilderGetRequestConfiguration $ } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(ColumnDefinition $body, ?ColumnDefinitionItemRequestBuilde } /** - * Remove a column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. This API is available in the following [national cloud deployments. + * Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. * @param ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?ColumnDefinitionItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. * @param ColumnDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?ColumnDefinitionItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a site][], a [list][], or a [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. * @param ColumnDefinition $body The request body * @param ColumnDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(ColumnDefinition $body, ?ColumnDefinit $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php index f7a35dbf41d..9bbe2c2e4c1 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a site][], a [list][], or a [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + * Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. */ class ColumnDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php index 5c37f87fbfc..c158d41ee1b 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SourceColumnRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php index 7b7e1f0a3a1..ce9cb9be0d2 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.php @@ -170,7 +170,7 @@ public function toDeleteRequestInformation(?ContentTypeItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -191,7 +191,7 @@ public function toGetRequestInformation(?ContentTypeItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -210,7 +210,7 @@ public function toPatchRequestInformation(ContentType $body, ?ContentTypeItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php index 1784e633926..a98a052e5da 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyToDefaultContentLocationPostRequestBody $body, ?CopyToD } /** - * Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + * Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. * @param CopyToDefaultContentLocationPostRequestBody $body The request body * @param CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CopyToDefaultContentLocationPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php index 7052b7a7275..1600faf5577 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?IsPublishedRequestBuilderGetRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php index 7c7f18543d6..f0426371937 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Publishes a contentType][] present in the content type hub site. This API is available in the following [national cloud deployments. + * Publishes a [contentType][] present in the content type hub site. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php index d45548e6cce..ed31923da37 100644 --- a/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + * Unpublish a [contentType][] from a content type hub site. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 473237c4ecb..344c3563474 100644 --- a/src/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 17df1967817..49a01819e94 100644 --- a/src/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 0796da096aa..5432bdb7e1f 100644 --- a/src/Generated/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php index 5cf0e0ccdee..dbe5eb0a4ee 100644 --- a/src/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php index 162e8f714c0..6bae2f9f1a8 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AnalyticsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php index 47fc3bbccdd..9af13d15bdd 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?CreatedByUserRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index d23bfc03301..efbffa2d57b 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 7152650e8a2..f270a0cea0f 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php index 0f1b3f1a5e9..9a79f8be302 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $r } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilde } /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DocumentSetVersion $body, ?DocumentSetV $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php index fa378d99ded..5004a30cc81 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + * Get a list of the versions of a document set item in a list. */ class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index 8fe8ba35a61..598725a3cbc 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBu } /** - * Delete a version of a document set in a list. This API is available in the following national cloud deployments. + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?DocumentSetVersionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?DocumentSetVersionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(DocumentSetVersion $body, ?DocumentSet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php index 7bcb443982a..a75d5d9de8a 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a documentSetVersion object. */ class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php index a5067ee0b58..88a8e5e4f16 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php index b6785f84a20..e76fa42eb55 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a document set version. This API is available in the following national cloud deployments. + * Restore a document set version. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php index 35db5128105..735d9cf8f9a 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php index 75acd6b0f28..0f7fcde3951 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php index a43c1462f67..c9cf6ec633b 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php @@ -61,7 +61,7 @@ public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,12 +112,12 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + * Update the properties on a [listItem][]. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -131,7 +131,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php index 5748746d0f6..e69b6cb45b7 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php index 2607576b062..b845f488656 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.php @@ -68,7 +68,7 @@ public function toGetRequestInformation(?GetActivitiesByIntervalWithStartDateTim } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index a49fa93fd88..3fd95d1f8ba 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index 0f86fc1fff2..0e420e4cafc 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 5802117aed9..f48f9f30171 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php index 8a3c888abfd..185dac45b19 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php @@ -96,7 +96,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -112,7 +112,7 @@ public function delete(?ListItemItemRequestBuilderDeleteRequestConfiguration $re } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -155,7 +155,7 @@ public function patch(ListItem $body, ?ListItemItemRequestBuilderPatchRequestCon } /** - * Removes an item from a list][]. This API is available in the following [national cloud deployments. + * Removes an item from a [list][]. * @param ListItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -168,12 +168,12 @@ public function toDeleteRequestInformation(?ListItemItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. * @param ListItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -189,7 +189,7 @@ public function toGetRequestInformation(?ListItemItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -208,7 +208,7 @@ public function toPatchRequestInformation(ListItem $body, ?ListItemItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php index afa574e9af1..d3276908bc7 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + * Returns the metadata for an [item][] in a [list][]. */ class ListItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php index 6b20706436b..3420e396438 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?FieldsRequestBuilderDeleteRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(FieldValueSet $body, ?FieldsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php index 3dab9950a29..97ab9e96ca7 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?ListItemVersionItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?ListItemVersionItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?ListItemVersionItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(ListItemVersion $body, ?ListItemVersio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php index 936b3ae257b..5fd2fe797f1 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the metadata for a specific version of a ListItem. This API is available in the following national cloud deployments. + * Retrieve the metadata for a specific version of a ListItem. */ class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php index 3a0fd72f71d..d525ba93227 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RestoreVersionRequestBuilderPostRequestConfiguration $requ } /** - * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. This API is available in the following national cloud deployments. + * Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. * @param RestoreVersionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RestoreVersionRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php index aa9657cb51a..8531b5d4498 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ListItemVersion $body, ?VersionsRequestBuilderPostRequestCo } /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?VersionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ListItemVersion $body, ?VersionsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index a2e13bafb18..b5a794a9baa 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. This API is available in the following national cloud deployments. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php index 284e601ea97..c7d11651872 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php @@ -44,7 +44,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -60,7 +60,7 @@ public function get(?ItemsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -77,7 +77,7 @@ public function post(ListItem $body, ?ItemsRequestBuilderPostRequestConfiguratio } /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. * @param ItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toGetRequestInformation(?ItemsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + * Create a new [listItem][] in a [list][]. * @param ListItem $body The request body * @param ItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -112,7 +112,7 @@ public function toPostRequestInformation(ListItem $body, ?ItemsRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php index 035137d280d..694c580a899 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + * Get the collection of [items][item] in a [list][]. */ class ItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php index 1f875062378..f65e28a44df 100644 --- a/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?LastModifiedByUserRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php index ce8c5419867..527ef4de4a9 100644 --- a/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index d6d23b7727c..d5484755ac1 100644 --- a/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index d0a827a3a7c..600ff2d11c7 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -110,11 +110,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -155,12 +155,12 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -176,7 +176,7 @@ public function toGetRequestInformation(?ListItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -195,7 +195,7 @@ public function toPatchRequestInformation(EscapedList $body, ?ListItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 54ba634e1b9..779041bf847 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. + * Get a list of rich long-running operations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 31185b8ea05..1606d0e0078 100644 --- a/src/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php index 621e4c77b9e..505d3ca354b 100644 --- a/src/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index f35e21415ca..8373baf9d1e 100644 --- a/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $request } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php index a22a94f8d85..8b23be1899c 100644 --- a/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php index d695a24e78c..b4991fe5e88 100644 --- a/src/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Subscription $body, ?SubscriptionsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/ListsRequestBuilder.php b/src/Generated/Sites/Item/Lists/ListsRequestBuilder.php index d70a2df89ac..d59f0955b5e 100644 --- a/src/Generated/Sites/Item/Lists/ListsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/ListsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ListsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [list][] in a [site][]. * @param EscapedList $body The request body * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EscapedList $body, ?ListsRequestBuilderPostRequestConfigura } /** - * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + * Create a new [list][] in a [site][]. * @param EscapedList $body The request body * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EscapedList $body, ?ListsRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php index 5a3fa017435..dc8a744f912 100644 --- a/src/Generated/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/ListsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + * Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. */ class ListsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index 3388c6f5c78..66c9c3102f3 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(GetNotebookFromWebUrlPostRequestBody $body, ?GetNotebookFro } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(GetNotebookFromWebUrlPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php index 823f0f750de..a0b0854f58c 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetRecentNotebooksWithIncludePersonalNo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php index 37399cabb2f..629594fcfa8 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyNotebookPostRequestBody $body, ?CopyNotebookRequestBuil } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyNotebookPostRequestBody $body, ?Cop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php index f5bbc1e44e1..892e7926893 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?NotebookItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?NotebookItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?NotebookItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(Notebook $body, ?NotebookItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php index f3cd10b8ef0..c5b23c58fa7 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. */ class NotebookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index d09323ace79..737260ea495 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 8fb6b329797..8fc5de68587 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 665742f54ca..7050deb010a 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 7130de33fd5..ae42234b0df 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index c28c537141a..4cecdf0280e 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 00b3892945e..a831e35c839 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 1a0a3c089fe..0f3aaef8ff6 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index aa4ef1ea50f..7308984c625 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 28ac3878f03..80c332f882f 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 460c3efa99e..511992b16ce 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 6bad5b851f5..4f1474fb172 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index fbd3266e504..7466eb38cd7 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 06546da2d1c..cdc934302fc 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index de9cc82c3a3..71ea1a8a11c 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index b8097297653..44aeb60ba7d 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 3e7664ddece..1c14880d010 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 2f416bbeea3..8205950d14c 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index ab74e758109..4490b687c4e 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 5df7d215780..11bac47e1b8 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index ad7a7769545..78208eaea5a 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php index e9163bfc80f..50c4b1d2e13 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index a8bfb3929e9..7c67ae82cc5 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index d9af290a6b7..af65b94c2af 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index c2ec288551a..254c6886cdd 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index afe4dfb8495..c41060d3ee8 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 362658fafda..14787df03e3 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index d28ca78455b..1f5b2a61594 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 3d6985fd39a..7147d2ab730 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index d80d15c1698..9716f14591f 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 4eea54bfe45..cfc92bb30f5 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 269339d9a16..14c4912742b 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 0e5e24fe833..9579c6884d1 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index a9f80d3e146..324b3d3a991 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 17f848a279a..a49458e7959 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php index eacecb81d21..ffbdc0a0a19 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index ecb9887e090..577f8bf4205 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index e93fd9d00dc..f3540be40ac 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index b4365d38eaa..3e299a140d3 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php index eee47a87cda..29e0e9e784c 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index aa504762889..13032fe120a 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index e27e9df3a2a..b864b02ac97 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function getRecentNotebooksWithIncludePersonalNotebooks(bool $includePers } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(Notebook $body, ?NotebooksRequestBuilderPostRequestConfigur } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(Notebook $body, ?NotebooksRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php index 209cd9c9edd..c9a0c684279 100644 --- a/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. */ class NotebooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.php b/src/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.php index 5d03a6ae58c..d094cc52cd3 100644 --- a/src/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php index 96db90e2ed7..db2da9ead12 100644 --- a/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OnenoteOperationItemRequestBuilderDeleteRequestConfigura } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OnenoteOperationItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OnenoteOperationItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OnenoteOperation $body, ?OnenoteOperat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php index df9984ea527..704abd072ce 100644 --- a/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OnenoteOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php index 8c6b0470eb8..59e97aae263 100644 --- a/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(OnenoteOperation $body, ?OperationsRequestBuilderPostReques } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteOperation $body, ?OperationsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php index 4401774e135..bf15fc5fef0 100644 --- a/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php index 1e91cca370f..609a755b5d9 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index c74ebb0336e..e466588e58d 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php index 3b91d4d1b86..367e10d8831 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?OnenotePageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(OnenotePage $body, ?OnenotePageItemRequestBuilderPatchRequ } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php index f7c2f696a60..9ee225c3af1 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. */ class OnenotePageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index f4bdcc190ff..19fb84b1147 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 84422a31ed5..d36552f8da9 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 888bb05259f..2374a9616dd 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php index 4a65c327ed7..eae9da3ef82 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.php index ae1eda96500..4e83082f610 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php index f9dbe0a59da..0c33382ef5b 100644 --- a/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php index 384452737dc..38798be12d1 100644 --- a/src/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php index 5263f9e6713..ac92b2d3e8d 100644 --- a/src/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?OnenoteResourceItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?OnenoteResourceItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(OnenoteResource $body, ?OnenoteResourc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php index f5db510e630..e387c890949 100644 --- a/src/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteResource $body, ?ResourcesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 91aaca95a95..00ebb88db83 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 4f659b94d67..cd9accc4676 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php index ac3da67e3c8..72524274ffd 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?SectionGroupItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php index b7c3effa538..b94d5e20a73 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. */ class SectionGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index d909aeb3261..a883181f548 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index d20e3aae991..b6e0bd00953 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 8eaf12f2c05..e568e95cb18 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index caa8b05dac1..71949dd37a6 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 31bcd84f640..a9c438b3b09 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 615b5483ffb..9d3151bb483 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 46f95c09d86..6c6219d421b 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index f6a928f6920..30707682f14 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 6d307dae51f..7a9030a46d5 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 624ed167e8f..fc4bc3008a4 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index b660b4680d6..7f0a595dceb 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index b37f518a1bb..a0cc5f4e1b0 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 79d793726d1..f7b1066523e 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 1f8d80d5024..38040bb70a9 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index 224e1eae754..50946c47993 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index e84dc3b5ab9..603ba4bce62 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index bedb60f5aca..e10d02366ae 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php index 78e95bc48f9..ff2d1e3d8df 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 95943d29ebd..ad2bfb55688 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index b39cc02652a..c4a35987429 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 3bfb5df2939..1b6ec688442 100644 --- a/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index d85fa8a82c4..ea4642e18bf 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 4d0fba1af34..d1355c9c3d2 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php index 738652ab2a2..c9177418b3d 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?OnenoteSectionItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php index 77684fd1793..ec086ef3cca 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. */ class OnenoteSectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index d82ed5a0b97..7465872dc15 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 95abae82e98..9de53b67b97 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 8aa9834169e..2b74d8bfd69 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 2196899eaa0..28b534fc9ea 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index cd162de7a56..92ddc047e54 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index b339cd88e1a..78cf1aecb15 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 5f2eedfa1f4..8773431691f 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php index 96f595d01d9..f3f902b7fe3 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index 5f5431835fa..622d9b4314a 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index ab80ee0294a..9f90f9b6bb8 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 425e835c7c8..6e829fa6750 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php b/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php index 92d1404124f..72e211416cc 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php index f5c8359a57e..add4758c947 100644 --- a/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php b/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php index 188bcbedc76..5259348b679 100644 --- a/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?RichLongRunningOperationItemRequestBuilderDeleteRequestC } /** - * Get the status of a rich long-running operation on a site or a list. This API is available in the following national cloud deployments. + * Get the status of a rich long-running operation on a site or a list. * @param RichLongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?RichLongRunningOperationItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of a rich long-running operation on a site or a list. This API is available in the following national cloud deployments. + * Get the status of a rich long-running operation on a site or a list. * @param RichLongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?RichLongRunningOperationItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(RichLongRunningOperation $body, ?RichL $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php index 05825017397..1e84e5da0fc 100644 --- a/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a rich long-running operation on a site or a list. This API is available in the following national cloud deployments. + * Get the status of a rich long-running operation on a site or a list. */ class RichLongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php index 79270343745..c741f467d2b 100644 --- a/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Sites/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of rich long-running operations associated with a site. This API is available in the following national cloud deployments. + * Get a list of rich long-running operations associated with a site. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(RichLongRunningOperation $body, ?OperationsRequestBuilderPo } /** - * Get a list of rich long-running operations associated with a site. This API is available in the following national cloud deployments. + * Get a list of rich long-running operations associated with a site. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(RichLongRunningOperation $body, ?Operat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index 2485f271e2d..91da008fa52 100644 --- a/src/Generated/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of rich long-running operations associated with a site. This API is available in the following national cloud deployments. + * Get a list of rich long-running operations associated with a site. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php b/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php index f9fd7141fd2..43617d76844 100644 --- a/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php +++ b/src/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GrantPostRequestBody $body, ?GrantRequestBuilderPostRequest } /** - * Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + * Grant users access to a link represented by a [permission][]. * @param GrantPostRequestBody $body The request body * @param GrantRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GrantPostRequestBody $body, ?GrantReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php b/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php index 968e943363b..63e5e0dbc97 100644 --- a/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a permission object on a site. This API is available in the following national cloud deployments. + * Delete a permission object on a site. * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?PermissionItemRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a permission object on a site. * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?PermissionItemRequestBuilderGetRequestConfiguration $reques } /** - * Update an application permission object on a site. This API is available in the following national cloud deployments. + * Update an application permission object on a site. * @param Permission $body The request body * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(Permission $body, ?PermissionItemRequestBuilderPatchReques } /** - * Delete a permission object on a site. This API is available in the following national cloud deployments. + * Delete a permission object on a site. * @param PermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?PermissionItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a permission object on a site. * @param PermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?PermissionItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an application permission object on a site. This API is available in the following national cloud deployments. + * Update an application permission object on a site. * @param Permission $body The request body * @param PermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(Permission $body, ?PermissionItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php index b582fed2b78..e35a5ac8ef8 100644 --- a/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a permission object on a site. */ class PermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php b/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php index 68b18a23a90..1f11a04a810 100644 --- a/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + * Get the permission resources from the permissions navigation property on a site. * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PermissionsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new permission object on a site. This API is available in the following national cloud deployments. + * Create a new permission object on a site. * @param Permission $body The request body * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Permission $body, ?PermissionsRequestBuilderPostRequestConf } /** - * Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + * Get the permission resources from the permissions navigation property on a site. * @param PermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PermissionsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new permission object on a site. This API is available in the following national cloud deployments. + * Create a new permission object on a site. * @param Permission $body The request body * @param PermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Permission $body, ?PermissionsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php index af7d6da6b2c..f1a9b53143d 100644 --- a/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Permissions/PermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + * Get the permission resources from the permissions navigation property on a site. */ class PermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/SiteItemRequestBuilder.php b/src/Generated/Sites/Item/SiteItemRequestBuilder.php index f23e89f1964..dace0e6b0e2 100644 --- a/src/Generated/Sites/Item/SiteItemRequestBuilder.php +++ b/src/Generated/Sites/Item/SiteItemRequestBuilder.php @@ -247,7 +247,7 @@ public function toGetRequestInformation(?SiteItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -266,7 +266,7 @@ public function toPatchRequestInformation(Site $body, ?SiteItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.php b/src/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.php index 8ff5282010b..ae02b5c3d6a 100644 --- a/src/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SiteItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Sites/SitesRequestBuilder.php b/src/Generated/Sites/Item/Sites/SitesRequestBuilder.php index 65e103ec9ef..d096adab6ee 100644 --- a/src/Generated/Sites/Item/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/Item/Sites/SitesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + * Get a collection of subsites defined for a [site][]. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + * Get a collection of subsites defined for a [site][]. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php index e399c95d63f..7f0ebc76a72 100644 --- a/src/Generated/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + * Get a collection of subsites defined for a [site][]. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php index 214cf759046..e4ef4ba3adf 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Group $body, ?GroupsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php index cd1b9208f99..de37c637d3c 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php index 6950dfea33d..626e2865fd3 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?GroupItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function patch(Group $body, ?GroupItemRequestBuilderPatchRequestConfigura } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?GroupItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +121,7 @@ public function toGetRequestInformation(?GroupItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(Group $body, ?GroupItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php index d846871aa01..c71b30f7b37 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. */ class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 46eb56e4353..5abc37b6f0a 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 2ff4833c30b..42250ac8309 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 736f292266d..cff87c8c54e 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index b18bce42185..47b2c9cc893 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index dd777106e9a..cf8a3081f45 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 0d9ea169149..3fe992a8272 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index d6da194502e..6b399e2975b 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 59aa35a7d32..7860fd2fe8c 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index e12a55fb181..a0bd5ec1325 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index 19409c91132..f6d2d428ae5 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 86b319ec9df..f2860e2e8c9 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 30baa7cf675..aa3f33d5fbc 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 268b13dac71..f91fa132e79 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index e3eb6c57137..f4a7cd14e7c 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 6e4844dc9af..6f8a8589081 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php index d50e7992a50..d0153880cd7 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php index ad92d2548eb..ae36881e9ac 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index da9484b37fb..eaaca46b4b1 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index c253d8cb610..13a82126f1c 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 4f7b4fc9d82..670270ffd65 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 54e435dce27..14d215d33cf 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index a603530590b..ed2cdad5147 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php index 5a9bcc488e1..c6fecf03219 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 33fdc4b9aa2..820ee796e19 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php index f23ce93ea4c..963a3ea68b2 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 6b420df2e05..352756fa5d4 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 0ceaaeab81f..2c4aaeff50b 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 99d4eaf3439..0c046018fb7 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 3e1915788d8..dc858376c29 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 2614e799856..980dff029a7 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index a3793c59c54..bd157b98eef 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index 8ec4a518277..77f2b241fc2 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index eb1bbc431b4..20aebef6c1c 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index c6bf952dd0a..b1f93bbcc12 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index 4c091b60371..f5416b0ced0 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 3fd844568d3..43e85df5d64 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 4d45e8dacb8..3b97a9ada07 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index e6fb2393417..7c0fb780134 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 975f722644f..17c0cb96111 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index eb0530f3a2b..27f2428bd70 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 659b55344cf..89054d51218 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 5a6757e4424..caa408c9fe5 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index f121d89d548..49824ebde5e 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php index 289ff2fe94c..dd73ab56aea 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php index 199c3ad46c7..88c06afb8d0 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php index 984614d7203..65917a2f304 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 230cb745fbc..85f60884c93 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 54159dc226b..7587df511f0 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 38aa00f5f9a..3ebe257efd8 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 9a437c37d04..4233db39bd8 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 87dd32f5173..aaeb8579f62 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 2da651c9b44..82c7c9b5071 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index df911a2c878..caefcb007d3 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index 0ca2d18dc6e..df9429aa036 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index c7815171450..0f2b939f53e 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 832bc773799..94b4c978b99 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 83300bd2e85..e7d51e4af20 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 25b7a403bf7..3f8f23ad1a9 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 107d31e8650..3ae256f7c7f 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 936f46412eb..f5c65c283e1 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php index 31f809966d7..c0cdc10c717 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php index 44cf3209f77..15eba5ca62a 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index cda794b9f02..9c702fd5e2f 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php index db0e28de752..49f28a09dbb 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 785f1afdddc..efaebbefcb1 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 2893612462e..e015c3a9804 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index b76c75a4ffd..a04c2a0bd2d 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 4d4bba7f48f..9717a7c9d9a 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 8f8dc2bcb70..d8630d176c9 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 4626cfcb92b..86a2783cddd 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 2d7ade0291f..dbc64e960c4 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index 2e70062ca16..1e9ca38379b 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index 1ab89e87ce8..9e1988b42cd 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index a6198ff10ec..4eecaf43bef 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 7c68a52f393..de157491382 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 8db835b7f80..821fa3947af 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index ab8ce8dbaeb..9138912be76 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 4044724d2ff..e22302f9968 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php index e3b2cadfadc..81876dd8b5b 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php index 37b0444ae9f..8fe862d9c76 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 68267ed9f22..285d8fabdcc 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 8f565bcda08..c6350064f7f 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index fe9f0b8be8b..b480e64f5b5 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index a73dc30ae60..b11e36fcc1e 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php index 730ca42faba..1d082e04307 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 25dcf29d0c4..c978a8b4145 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php index 657376ac9bd..d6c89e7d952 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 0ed071277a6..49139836d48 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 2a092bf176c..a7c19a6b43d 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index eac8d33c969..96ca2f61b1c 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 608e96e40e8..4dba96a7a1b 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 14f9ee8651a..bac6e2ba1fa 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index caf2432c081..04e0bac561a 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index 7f39a260a49..96c1e985fe6 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index 9f0024b026e..9e438809701 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index e5928d1d865..4aa83af5e49 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index e3b594234db..09b280f5ef5 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index cbb8cee686a..7c5af041b2c 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 534213b4bd8..f034aa827da 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 8407a9496bf..84f8b9124ac 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 98ca4a74df1..cf460b3ddd5 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php index 5cd5135da69..13b61cf2261 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index c7686e0476d..b54d6609556 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index 79a70cf7ccf..35546f8d0c5 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 30672e04888..f468683ad59 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index 89789439fc1..59c0cbd6ece 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php index bfab427c0de..557b43baa49 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index ea93c99e6b6..22e6aaf8a1c 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 26124fb98c4..5f0b5b59ef5 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 8d8f3d8ef28..1cbda14d5e9 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 0bb8fcbaad5..48daf27854b 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php index 7689155b17f..06be7ce22fb 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 8d7386c0518..1ee0beb1be6 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php index 30ae6bc08a9..16aaa1e5f68 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?SetItemRequestBuilderDeleteRequestConfiguration $request } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function get(?SetItemRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -112,7 +112,7 @@ public function patch(Set $body, ?SetItemRequestBuilderPatchRequestConfiguration } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,12 +146,12 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -165,7 +165,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php index a47b5fac5c4..a18825d006e 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 5f3f2e10586..7b1d2096444 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index bcb578a4371..d492fe0d4c6 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 7e1b9eaba4c..bc7daa9a8d7 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 713b6d48a23..f878c30daec 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 27df13c4649..65140c161fa 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 04d889cf53a..c49a8e6b44c 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index dcfdd3868e1..c52701262bd 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index 1e23b8edbc3..49189a3c2aa 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 5951398d19b..5042ef55678 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index 425d80e4cd2..8bd64550315 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 19e90f334a7..e02420c1eb6 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 3ab2df8b786..ddfdd0cbdd9 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 53310f379de..8738c5c70e8 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index b7ef7316bd8..af8438aeeb4 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php index a215e873bac..da876b829f2 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 38693698e62..f0a4b307b1c 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php index e0f7a4d7108..07218ed16bb 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 575253b4b66..648d5b5d348 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php index 6eb7922ae3c..a6e301b3101 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SetsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php index 80ab0cd43b2..db2eb841f9e 100644 --- a/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php b/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php index 672753dfc64..17dd0e0a2f5 100644 --- a/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?TermStoreRequestBuilderDeleteRequestConfiguration $reque } /** - * Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a store object. * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function get(?TermStoreRequestBuilderGetRequestConfiguration $requestConf } /** - * Update the properties of a store object. This API is available in the following national cloud deployments. + * Update the properties of a store object. * @param Store $body The request body * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?TermStoreRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a store object. * @param TermStoreRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,12 +129,12 @@ public function toGetRequestInformation(?TermStoreRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a store object. This API is available in the following national cloud deployments. + * Update the properties of a store object. * @param Store $body The request body * @param TermStoreRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -148,7 +148,7 @@ public function toPatchRequestInformation(Store $body, ?TermStoreRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php index e60604308a5..224d51fe047 100644 --- a/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/TermStoreRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a store object. */ class TermStoreRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php index 6d4d45580ab..33abe78c01e 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration } /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. * @param GroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new group object in a term store. This API is available in the following national cloud deployments. + * Create a new group object in a term store. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Group $body, ?GroupsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php index 038ac283db1..a3e7c345553 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of group objects in a term store. This API is available in the following national cloud deployments. + * Get a list of group objects in a term store. */ class GroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php index a95b8a9f754..64ca90f3233 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?GroupItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function patch(Group $body, ?GroupItemRequestBuilderPatchRequestConfigura } /** - * Delete a group object in a term store]. This API is available in the following [national cloud deployments. + * Delete a group object in a term [store]. * @param GroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?GroupItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. * @param GroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +121,7 @@ public function toGetRequestInformation(?GroupItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(Group $body, ?GroupItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php index 84c8c71e902..803ab3a6fe6 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term store group object. */ class GroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 6bf68df9936..a3555c77181 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index a840e3e6608..3efde16db77 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 4333101d14f..487571116b8 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 8d8637c18a2..a2e67bdfdcb 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index a43c0f24695..0d7386a3819 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 072edc0e3d6..ebd5e5cd10b 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index e3a49078489..db0d94584f2 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index e54819c04da..2d16a4a7404 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index 5779417f577..725ce54de9b 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index f7a572349a0..175d64a9d57 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 73b143a9584..ea68f0f7002 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 104d2f59d49..ea18b780044 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 783ad667df0..1a3378ae853 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 7dcebbe0d98..9a85c724d81 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 1d8e9a5f349..7df3cb27680 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php index 79bf3eb5837..32d0b417281 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php index df09f28837f..a6d09544bee 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index 118fbba8318..72d940cd321 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 70dfc194a87..26bbc15ba43 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index f9e40a5e112..bcd87c284e1 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index f194ff783c9..40a129cea52 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index c41bde3f264..9a073a9be1d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php index 94507e2549b..16d6665b8d4 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index a4c00d75a85..9bef771142d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php index 5a380bdf94c..601fe1ecba5 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 118f512a8eb..49178819ad2 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 68c001d28c0..ac69d6bce77 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 5eb17d78213..65afce87321 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index d84eae7dc0f..d446fdbbf5a 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 705a067defd..c5a6d2b57b1 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index a9f73078959..8a5a2dc17ff 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index d7e6108958f..a5f15dfd1ee 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index c5db60a8a29..482885f0a9a 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 9013eb9131b..c22d2d7e3a1 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index cf937506f5c..5300e26ae90 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index fb4cd884ee2..8ed8febf19d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index d5ae265ab0f..9f511ec84a7 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index e84703a6877..28767f229b5 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 2075ad4d615..0d201051237 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index cb76f7236ed..2b9b2f0212d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index a3e6b01223a..f3466ce1f3b 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 48aedf43eb9..f9675df2841 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 23bc26e12b6..620eaac3c22 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php index 879c30316b9..ae6b5819aad 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php index bd71fe0aaf6..7d2222ccf9e 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php index 5f2b0323865..bc53bb446c3 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index 802056b68f8..1c40c1aa3b0 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 816ed0bb113..4c8c2237cc5 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index f48057e1139..8e88d97996e 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 269197d551b..40e4aa7817d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 0c563930f48..99a518f2579 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 0d47b58bcca..fcd1a089cec 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 77a79704491..4fd0881ac11 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index f8d6a97bc26..4304b771afc 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index c8515d88145..f7e2187a897 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index dca18fced55..fa19f583e4d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 9e86f45af37..82b679e2d78 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 46a4b8a2ee7..fba307d5f4c 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 7048a045e1f..40775e60afa 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 4af63779747..e1dc6d56118 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php index fb480ee78e4..f0817a1f0da 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php index d8b106f7837..c3ebcf86c81 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php index 8ac207e97dd..aaeb4dd6aed 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ParentGroupRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ParentGroupRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Group $body, ?ParentGroupRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php index e8ee7df8eea..999b3652b3d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChildrenRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Term $body, ?ChildrenRequestBuilderPostRequestConfiguration } /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. * @param ChildrenRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new term object. This API is available in the following national cloud deployments. + * Create a new term object. * @param Term $body The request body * @param ChildrenRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php index d791557a036..99353ec6aef 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + * Get the first level children of a [set] or [term] resource using the children navigation property. */ class ChildrenRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php index 2e6f7f241ee..4239694dd40 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index a755a7054df..6fa43cfedd2 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 88cb36b488e..16620660ff0 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index 76fdebb8ab3..14c583b694c 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 090d1368479..6c7af670333 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php index 2189634709f..1be5a11211a 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php index a983c2855bf..74de8b37697 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php index 2d516844b64..b9228ce61aa 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 77b3a6a33c6..408fd955986 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 75d26bdf19d..48b0d546c6f 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index fbd04760d74..28392bf1d19 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index cd7a09cb1a1..1e4983da0f9 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php index 476e1e78296..32154aa19d3 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php index f5d6f317fdb..36b70808678 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php index d35889b2cf3..deda402a864 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 6b67d6868da..be92e110ea6 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index 6e9a53abd66..9925cb8b5a0 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 4726cc79e40..15dfb3fb782 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 26423829ca1..25e9a0ca6ef 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php index 9a4379ac5f9..a31698b235f 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 5cd2fc04c23..28ea51a10bb 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php index ecfb96701d9..85c96cf7f2e 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 10941466994..b58dd0cd698 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index f2ab2eb0d97..b6f4b9ef023 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index d019ce9197a..0773d743157 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index e1fc6282a07..4b7362a46f3 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 1dec468a2f5..9b000a62418 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 77a81868c5e..44cd31a5452 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index 60c2b7382b5..7273b158636 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index f3a9106614f..055a879ebdb 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index a5e1b6752f7..8f8842c0e76 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index b468a72d516..5ce39335096 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index 4f29e5d7344..3b0ac59898c 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 32a4ac6e07d..32047e273fb 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 8523bf8c132..718ef8bbc35 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index e9abad836bf..bb70f697348 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php index d647ddf2a76..06289bc715d 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 59707f944a2..c9ef0139ed8 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php index 53260636fe1..b0b36a98782 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 4398f004e07..ffb7bedafd4 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php index f55a63a955e..70b46761d6c 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php index 471bdd7ba42..c9ec40bbe3b 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the set objects and their properties. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 35c4d624646..84ee4fc80e9 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php index b4f59c8358b..bc1fa298ca2 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php index 05234663c1c..65d6b95bea0 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index 2b30f143bde..9d035afd80a 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php index 053881436f6..8ecf848b81b 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Relation $body, ?RelationsRequestBuilderPostRequestConfigur } /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. * @param RelationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php index 6f899b2495f..7b3dbe00d05 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + * Get the different relation of a [term] or [set] from the relations navigation property. */ class RelationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php index 96998f904bf..e1a8c5d4442 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.php @@ -63,7 +63,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function delete(?SetItemRequestBuilderDeleteRequestConfiguration $request } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function get(?SetItemRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -112,7 +112,7 @@ public function patch(Set $body, ?SetItemRequestBuilderPatchRequestConfiguration } /** - * Delete a set object. This API is available in the following national cloud deployments. + * Delete a set object. * @param SetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,12 +125,12 @@ public function toDeleteRequestInformation(?SetItemRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -146,12 +146,12 @@ public function toGetRequestInformation(?SetItemRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a set object. This API is available in the following national cloud deployments. + * Update the properties of a set object. * @param Set $body The request body * @param SetItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -165,7 +165,7 @@ public function toPatchRequestInformation(Set $body, ?SetItemRequestBuilderPatch $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php index 95e531d693e..6f6cc322a03 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php index 1d3b479586d..c19db610d39 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ChildrenRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?ChildrenRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index cdbfe727e10..ebd3e903633 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php index 86b55a84fbd..50cef904816 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php index f4da91e10c6..90c7703ed89 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index f0a95374ec3..f425ccb2602 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php index 9b2f1ef4f0d..bd0cc966637 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php index 4bd4c7fef5b..e71e289b0df 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php index 1e20b4e19aa..ddd2a69eedf 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php index 5e9de9951fc..1b00c025833 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FromTermRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php index add4a947f41..db3b94c8f30 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?RelationItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?RelationItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(Relation $body, ?RelationItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php index cf1e85795cf..fc435314c40 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php index b7d98583ae0..6f34a28aec9 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ToTermRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php index 755af5bb5f0..247c0d4fd68 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RelationsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Relation $body, ?RelationsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php index 9fc8c9ae263..ed6e6c840d7 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SetRequestBuilderGetRequestConfiguratio } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index e2e7cb5a119..d120fa3efeb 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(Term $body, ?TermItemRequestBuilderPatchRequestConfigurati } /** - * Delete a term object. This API is available in the following national cloud deployments. + * Delete a term object. * @param TermItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?TermItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a term object. This API is available in the following national cloud deployments. + * Update the properties of a term object. * @param Term $body The request body * @param TermItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(Term $body, ?TermItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 6b69d363e81..69fd1730050 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php index 060c832444c..a41081aaff9 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Term $body, ?TermsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index 8ae8a8c64ed..a96f5bd7954 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php index d184611d4c2..4ae93740584 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SetsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Set $body, ?SetsRequestBuilderPostRequestConfiguration $req } /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. * @param SetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?SetsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new set object. This API is available in the following national cloud deployments. + * Create a new set object. * @param Set $body The request body * @param SetsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Set $body, ?SetsRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php index de2e104469f..bb4f607cb05 100644 --- a/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a set object. */ class SetsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php b/src/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php index 352838dfee1..fcd240ff8d5 100644 --- a/src/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?StoreItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?StoreItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Store $body, ?StoreItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.php b/src/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.php index f5fa3ee13c4..b7ecdc57c00 100644 --- a/src/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TermStoresRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Store $body, ?TermStoresRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/Remove/RemoveRequestBuilder.php b/src/Generated/Sites/Remove/RemoveRequestBuilder.php index f4769f1dbd8..7fcadbce149 100644 --- a/src/Generated/Sites/Remove/RemoveRequestBuilder.php +++ b/src/Generated/Sites/Remove/RemoveRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 9262634e3e4..3708bd887e1 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,7 +83,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * 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. This API is available in the following [national cloud deployments. + * 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. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * 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. This API is available in the following [national cloud deployments. + * 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. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -115,7 +115,7 @@ public function toGetRequestInformation(?SitesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 6d6a847664d..c298e6752ad 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * 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. This API is available in the following [national cloud deployments. + * 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. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php index 3d14f9f890f..03934b7ab98 100644 --- a/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. This API is available in the following national cloud deployments. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. * @param BookingBusinessesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?BookingBusinessesRequestBuilderGetRequestConfiguration $req } /** - * Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. This API is available in the following national cloud deployments. + * Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. * @param BookingBusiness $body The request body * @param BookingBusinessesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BookingBusiness $body, ?BookingBusinessesRequestBuilderPost } /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. This API is available in the following national cloud deployments. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. * @param BookingBusinessesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?BookingBusinessesRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. This API is available in the following national cloud deployments. + * Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. * @param BookingBusiness $body The request body * @param BookingBusinessesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BookingBusiness $body, ?BookingBusiness $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilderGetQueryParameters.php index c8f8fd3a0b8..0ca4ab94f46 100644 --- a/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. This API is available in the following national cloud deployments. + * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. */ class BookingBusinessesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php index 86a2fa77867..8697bf0b9af 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of bookingAppointment objects for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingAppointment objects for the specified bookingBusiness. * @param AppointmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AppointmentsRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new bookingAppointment for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Create a new bookingAppointment for the specified bookingBusiness. * @param BookingAppointment $body The request body * @param AppointmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BookingAppointment $body, ?AppointmentsRequestBuilderPostRe } /** - * Get a list of bookingAppointment objects for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingAppointment objects for the specified bookingBusiness. * @param AppointmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AppointmentsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new bookingAppointment for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Create a new bookingAppointment for the specified bookingBusiness. * @param BookingAppointment $body The request body * @param AppointmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BookingAppointment $body, ?Appointments $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilderGetQueryParameters.php index c98428f4510..e1254b278e2 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of bookingAppointment objects for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingAppointment objects for the specified bookingBusiness. */ class AppointmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php index fa3e19fb60e..fbc8ef56dd0 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a bookingAppointment in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Delete a bookingAppointment in the specified bookingBusiness. * @param BookingAppointmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?BookingAppointmentItemRequestBuilderDeleteRequestConfigu } /** - * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. * @param BookingAppointmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?BookingAppointmentItemRequestBuilderGetRequestConfiguration } /** - * Update the properties of a bookingAppointment object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Update the properties of a bookingAppointment object in the specified bookingBusiness. * @param BookingAppointment $body The request body * @param BookingAppointmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(BookingAppointment $body, ?BookingAppointmentItemRequestBu } /** - * Delete a bookingAppointment in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Delete a bookingAppointment in the specified bookingBusiness. * @param BookingAppointmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?BookingAppointmentItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. * @param BookingAppointmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?BookingAppointmentItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a bookingAppointment object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Update the properties of a bookingAppointment object in the specified bookingBusiness. * @param BookingAppointment $body The request body * @param BookingAppointmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(BookingAppointment $body, ?BookingAppo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php index ef5f9bbb618..9765896cc97 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. */ class BookingAppointmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php index 762bc5a2156..0dfe9b2d0e2 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.php index fab7a2c751b..408154805c8 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.php @@ -103,7 +103,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a bookingBusiness object. This API is available in the following national cloud deployments. + * Delete a bookingBusiness object. * @param BookingBusinessItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function delete(?BookingBusinessItemRequestBuilderDeleteRequestConfigurat } /** - * Get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingBusiness object. * @param BookingBusinessItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function get(?BookingBusinessItemRequestBuilderGetRequestConfiguration $r } /** - * Update the properties of a bookingBusiness object. This API is available in the following national cloud deployments. + * Update the properties of a bookingBusiness object. * @param BookingBusiness $body The request body * @param BookingBusinessItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -152,7 +152,7 @@ public function patch(BookingBusiness $body, ?BookingBusinessItemRequestBuilderP } /** - * Delete a bookingBusiness object. This API is available in the following national cloud deployments. + * Delete a bookingBusiness object. * @param BookingBusinessItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -165,12 +165,12 @@ public function toDeleteRequestInformation(?BookingBusinessItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingBusiness object. * @param BookingBusinessItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -186,12 +186,12 @@ public function toGetRequestInformation(?BookingBusinessItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a bookingBusiness object. This API is available in the following national cloud deployments. + * Update the properties of a bookingBusiness object. * @param BookingBusiness $body The request body * @param BookingBusinessItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -205,7 +205,7 @@ public function toPatchRequestInformation(BookingBusiness $body, ?BookingBusines $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilderGetQueryParameters.php index 1d1b32a423e..30ed351e10a 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingBusiness object. */ class BookingBusinessItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.php index 844f69c008f..791beae7823 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.php @@ -100,7 +100,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(BookingAppointment $body, ?CalendarView $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.php index 40a5259cb4d..4d66455b65c 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?BookingAppointmentItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?BookingAppointmentItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(BookingAppointment $body, ?BookingAppo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php index 8b76ca758bd..75b8f9304ab 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.php index 6a5e40f6f90..97094b40ded 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the bookingCustomQuestion resources associated with a bookingBusiness. This API is available in the following national cloud deployments. + * Get the bookingCustomQuestion resources associated with a bookingBusiness. * @param CustomQuestionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CustomQuestionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Create a new bookingCustomQuestion object. * @param BookingCustomQuestion $body The request body * @param CustomQuestionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BookingCustomQuestion $body, ?CustomQuestionsRequestBuilder } /** - * Get the bookingCustomQuestion resources associated with a bookingBusiness. This API is available in the following national cloud deployments. + * Get the bookingCustomQuestion resources associated with a bookingBusiness. * @param CustomQuestionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CustomQuestionsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Create a new bookingCustomQuestion object. * @param BookingCustomQuestion $body The request body * @param CustomQuestionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BookingCustomQuestion $body, ?CustomQue $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilderGetQueryParameters.php index c9a1fbf02e5..f365cc239b3 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the bookingCustomQuestion resources associated with a bookingBusiness. This API is available in the following national cloud deployments. + * Get the bookingCustomQuestion resources associated with a bookingBusiness. */ class CustomQuestionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php index c49019a6a38..37e3b3c1d8c 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Delete a bookingCustomQuestion object. * @param BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?BookingCustomQuestionItemRequestBuilderDeleteRequestConf } /** - * Read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a bookingCustomQuestion object. * @param BookingCustomQuestionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?BookingCustomQuestionItemRequestBuilderGetRequestConfigurat } /** - * Update the properties of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Update the properties of a bookingCustomQuestion object. * @param BookingCustomQuestion $body The request body * @param BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(BookingCustomQuestion $body, ?BookingCustomQuestionItemReq } /** - * Delete a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Delete a bookingCustomQuestion object. * @param BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?BookingCustomQuestionItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a bookingCustomQuestion object. * @param BookingCustomQuestionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?BookingCustomQuestionItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Update the properties of a bookingCustomQuestion object. * @param BookingCustomQuestion $body The request body * @param BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(BookingCustomQuestion $body, ?BookingC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilderGetQueryParameters.php index 03e0d7158dc..e42d372cc4e 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a bookingCustomQuestion object. */ class BookingCustomQuestionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php index ca6754c70b8..c2ebe6e71d7 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of bookingCustomer objects of a business. This API is available in the following national cloud deployments. + * Get a list of bookingCustomer objects of a business. * @param CustomersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CustomersRequestBuilderGetRequestConfiguration $requestConf } /** - * Create a new bookingCustomer object. This API is available in the following national cloud deployments. + * Create a new bookingCustomer object. * @param BookingCustomerBase $body The request body * @param CustomersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BookingCustomerBase $body, ?CustomersRequestBuilderPostRequ } /** - * Get a list of bookingCustomer objects of a business. This API is available in the following national cloud deployments. + * Get a list of bookingCustomer objects of a business. * @param CustomersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CustomersRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new bookingCustomer object. This API is available in the following national cloud deployments. + * Create a new bookingCustomer object. * @param BookingCustomerBase $body The request body * @param CustomersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BookingCustomerBase $body, ?CustomersRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilderGetQueryParameters.php index 5f21ae3b94b..1e938b1df99 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of bookingCustomer objects of a business. This API is available in the following national cloud deployments. + * Get a list of bookingCustomer objects of a business. */ class CustomersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php index c44707a6478..8a64189af8f 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the specified bookingCustomer object. This API is available in the following national cloud deployments. + * Delete the specified bookingCustomer object. * @param BookingCustomerBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?BookingCustomerBaseItemRequestBuilderDeleteRequestConfig } /** - * Get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingCustomer object. * @param BookingCustomerBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?BookingCustomerBaseItemRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a bookingCustomer object. This API is available in the following national cloud deployments. + * Update the properties of a bookingCustomer object. * @param BookingCustomerBase $body The request body * @param BookingCustomerBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(BookingCustomerBase $body, ?BookingCustomerBaseItemRequest } /** - * Delete the specified bookingCustomer object. This API is available in the following national cloud deployments. + * Delete the specified bookingCustomer object. * @param BookingCustomerBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?BookingCustomerBaseItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingCustomer object. * @param BookingCustomerBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?BookingCustomerBaseItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a bookingCustomer object. This API is available in the following national cloud deployments. + * Update the properties of a bookingCustomer object. * @param BookingCustomerBase $body The request body * @param BookingCustomerBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(BookingCustomerBase $body, ?BookingCus $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilderGetQueryParameters.php index 67a47c37d05..33cef1d5724 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingCustomer object. */ class BookingCustomerBaseItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php index ac57830bf0f..c83a609cb79 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the availability information of staff members of a Microsoft Bookings calendar. This API is available in the following national cloud deployments. + * Get the availability information of staff members of a Microsoft Bookings calendar. * @param GetStaffAvailabilityPostRequestBody $body The request body * @param GetStaffAvailabilityRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetStaffAvailabilityPostRequestBody $body, ?GetStaffAvailab } /** - * Get the availability information of staff members of a Microsoft Bookings calendar. This API is available in the following national cloud deployments. + * Get the availability information of staff members of a Microsoft Bookings calendar. * @param GetStaffAvailabilityPostRequestBody $body The request body * @param GetStaffAvailabilityRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetStaffAvailabilityPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.php index 899af64518b..15ea0b46ea6 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Make the scheduling page of a business available to external customers. Set the isPublished property to true, and the publicUrl property to the URL of the scheduling page. This API is available in the following national cloud deployments. + * Make the scheduling page of a business available to external customers. Set the isPublished property to true, and the publicUrl property to the URL of the scheduling page. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?PublishRequestBuilderPostRequestConfiguration $requestConf } /** - * Make the scheduling page of a business available to external customers. Set the isPublished property to true, and the publicUrl property to the URL of the scheduling page. This API is available in the following national cloud deployments. + * Make the scheduling page of a business available to external customers. Set the isPublished property to true, and the publicUrl property to the URL of the scheduling page. * @param PublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?PublishRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.php index aa0147a734d..eaba2f170cd 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Delete a bookingService object in the specified bookingBusiness. * @param BookingServiceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?BookingServiceItemRequestBuilderDeleteRequestConfigurati } /** - * Get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingService object in the specified bookingBusiness. * @param BookingServiceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?BookingServiceItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. This API is available in the following national cloud deployments. + * Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. * @param BookingService $body The request body * @param BookingServiceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(BookingService $body, ?BookingServiceItemRequestBuilderPat } /** - * Delete a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Delete a bookingService object in the specified bookingBusiness. * @param BookingServiceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?BookingServiceItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingService object in the specified bookingBusiness. * @param BookingServiceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?BookingServiceItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. This API is available in the following national cloud deployments. + * Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. * @param BookingService $body The request body * @param BookingServiceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(BookingService $body, ?BookingServiceI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilderGetQueryParameters.php index aa8764c509c..2d205ef88a4 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingService object in the specified bookingBusiness. */ class BookingServiceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php index 7da66f800c9..78cb634ef61 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of bookingService objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingService objects in the specified bookingBusiness. * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ServicesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new bookingService for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Create a new bookingService for the specified bookingBusiness. * @param BookingService $body The request body * @param ServicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BookingService $body, ?ServicesRequestBuilderPostRequestCon } /** - * Get a list of bookingService objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingService objects in the specified bookingBusiness. * @param ServicesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ServicesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new bookingService for the specified bookingBusiness. This API is available in the following national cloud deployments. + * Create a new bookingService for the specified bookingBusiness. * @param BookingService $body The request body * @param ServicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BookingService $body, ?ServicesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilderGetQueryParameters.php index 4f130bf5df0..076a0eb0d93 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of bookingService objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingService objects in the specified bookingBusiness. */ class ServicesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php index 9dffce1fe63..034f0b43cf8 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Delete a bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?BookingStaffMemberBaseItemRequestBuilderDeleteRequestCon } /** - * Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?BookingStaffMemberBaseItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Update the properties of a bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBase $body The request body * @param BookingStaffMemberBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(BookingStaffMemberBase $body, ?BookingStaffMemberBaseItemR } /** - * Delete a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Delete a bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?BookingStaffMemberBaseItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?BookingStaffMemberBaseItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Update the properties of a bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBase $body The request body * @param BookingStaffMemberBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(BookingStaffMemberBase $body, ?Booking $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilderGetQueryParameters.php index 6bf3383f98f..e33af4f8a63 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. */ class BookingStaffMemberBaseItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php index 7e0d2e8097b..575050bbba9 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of bookingStaffMember objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingStaffMember objects in the specified bookingBusiness. * @param StaffMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?StaffMembersRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Create a new bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBase $body The request body * @param StaffMembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(BookingStaffMemberBase $body, ?StaffMembersRequestBuilderPo } /** - * Get a list of bookingStaffMember objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingStaffMember objects in the specified bookingBusiness. * @param StaffMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?StaffMembersRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Create a new bookingStaffMember in the specified bookingBusiness. * @param BookingStaffMemberBase $body The request body * @param StaffMembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(BookingStaffMemberBase $body, ?StaffMem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilderGetQueryParameters.php index e8437e25802..dbda95577e5 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of bookingStaffMember objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + * Get a list of bookingStaffMember objects in the specified bookingBusiness. */ class StaffMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php b/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php index d41e8d4861a..4bbd349a78e 100644 --- a/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php +++ b/src/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and the publicUrl property to null. This API is available in the following national cloud deployments. + * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and the publicUrl property to null. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnpublishRequestBuilderPostRequestConfiguration $requestCo } /** - * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and the publicUrl property to null. This API is available in the following national cloud deployments. + * Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and the publicUrl property to null. * @param UnpublishRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnpublishRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.php b/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.php index eae18f46ce8..7a48b8ef0e2 100644 --- a/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.php +++ b/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of bookingCurrency objects available to a Microsoft Bookings business. This API is available in the following national cloud deployments. + * Get a list of bookingCurrency objects available to a Microsoft Bookings business. * @param BookingCurrenciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(BookingCurrency $body, ?BookingCurrenciesRequestBuilderPost } /** - * Get a list of bookingCurrency objects available to a Microsoft Bookings business. This API is available in the following national cloud deployments. + * Get a list of bookingCurrency objects available to a Microsoft Bookings business. * @param BookingCurrenciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?BookingCurrenciesRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(BookingCurrency $body, ?BookingCurrenci $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilderGetQueryParameters.php index d301f9d625d..e2c8704f4a4 100644 --- a/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of bookingCurrency objects available to a Microsoft Bookings business. This API is available in the following national cloud deployments. + * Get a list of bookingCurrency objects available to a Microsoft Bookings business. */ class BookingCurrenciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php b/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php index 7f6c0fcc36e..d5ec9f06c56 100644 --- a/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php +++ b/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BookingCurrencyItemRequestBuilderDeleteRequestConfigurat } /** - * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. This API is available in the following national cloud deployments. + * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. * @param BookingCurrencyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?BookingCurrencyItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. This API is available in the following national cloud deployments. + * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. * @param BookingCurrencyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?BookingCurrencyItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(BookingCurrency $body, ?BookingCurrenc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilderGetQueryParameters.php index c628ab4c855..695306dba1c 100644 --- a/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. This API is available in the following national cloud deployments. + * Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. */ class BookingCurrencyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/SolutionsRequestBuilder.php b/src/Generated/Solutions/SolutionsRequestBuilder.php index 2f9d3f100a1..b84f7c59491 100644 --- a/src/Generated/Solutions/SolutionsRequestBuilder.php +++ b/src/Generated/Solutions/SolutionsRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Models\SolutionsRoot; use Microsoft\Graph\Generated\Solutions\BookingBusinesses\BookingBusinessesRequestBuilder; use Microsoft\Graph\Generated\Solutions\BookingCurrencies\BookingCurrenciesRequestBuilder; +use Microsoft\Graph\Generated\Solutions\VirtualEvents\VirtualEventsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -32,6 +33,13 @@ public function bookingCurrencies(): BookingCurrenciesRequestBuilder { return new BookingCurrenciesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the virtualEvents property of the microsoft.graph.solutionsRoot entity. + */ + public function virtualEvents(): VirtualEventsRequestBuilder { + return new VirtualEventsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SolutionsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. @@ -94,7 +102,7 @@ public function toGetRequestInformation(?SolutionsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +121,7 @@ public function toPatchRequestInformation(SolutionsRoot $body, ?SolutionsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..6c15f255afc --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0af27d626f9 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bc3859454d9 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilder.php new file mode 100644 index 00000000000..a6e4c2613aa --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the events property of the microsoft.graph.virtualEventsRoot entity. + * @param string $virtualEventId The unique identifier of virtualEvent + * @return VirtualEventItemRequestBuilder + */ + public function byVirtualEventId(string $virtualEventId): VirtualEventItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEvent%2Did'] = $virtualEventId; + return new VirtualEventItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new EventsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get events from solutions + * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to events for solutions + * @param VirtualEvent $body The request body + * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(VirtualEvent $body, ?EventsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEvent::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get events from solutions + * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to events for solutions + * @param VirtualEvent $body The request body + * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEvent $body, ?EventsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EventsRequestBuilder + */ + public function withUrl(string $rawUrl): EventsRequestBuilder { + return new EventsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a039425cc70 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new eventsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..959ab03ee2c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EventsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EventsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new eventsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return EventsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): EventsRequestBuilderGetQueryParameters { + return new EventsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..aa83307e1d0 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/EventsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..331ee2a416f --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..662da0d5437 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..09a3104be54 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php new file mode 100644 index 00000000000..d2f20457bd8 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. + * @param string $meetingAttendanceReportId The unique identifier of meetingAttendanceReport + * @return MeetingAttendanceReportItemRequestBuilder + */ + public function byMeetingAttendanceReportId(string $meetingAttendanceReportId): MeetingAttendanceReportItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['meetingAttendanceReport%2Did'] = $meetingAttendanceReportId; + return new MeetingAttendanceReportItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AttendanceReportsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get attendanceReports from solutions + * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReportCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to attendanceReports for solutions + * @param MeetingAttendanceReport $body The request body + * @param AttendanceReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(MeetingAttendanceReport $body, ?AttendanceReportsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get attendanceReports from solutions + * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to attendanceReports for solutions + * @param MeetingAttendanceReport $body The request body + * @param AttendanceReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(MeetingAttendanceReport $body, ?AttendanceReportsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttendanceReportsRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceReportsRequestBuilder { + return new AttendanceReportsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..45a4285395c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new attendanceReportsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..04c349f9fc5 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttendanceReportsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceReportsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new attendanceReportsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return AttendanceReportsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttendanceReportsRequestBuilderGetQueryParameters { + return new AttendanceReportsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..3cea99bb1ac --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..f86dc87dcef --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..390d55755f8 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..943011d4ed3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php new file mode 100644 index 00000000000..98c27808f42 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php @@ -0,0 +1,136 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. + * @param string $attendanceRecordId The unique identifier of attendanceRecord + * @return AttendanceRecordItemRequestBuilder + */ + public function byAttendanceRecordId(string $attendanceRecordId): AttendanceRecordItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['attendanceRecord%2Did'] = $attendanceRecordId; + return new AttendanceRecordItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AttendanceRecordsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of attendanceRecord objects and their properties. + * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 Find more info here + */ + public function get(?AttendanceRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecordCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to attendanceRecords for solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of attendanceRecord objects and their properties. + * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to attendanceRecords for solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttendanceRecordsRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceRecordsRequestBuilder { + return new AttendanceRecordsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..bc4d004d589 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new attendanceRecordsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..30da94b1183 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttendanceRecordsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceRecordsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new attendanceRecordsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return AttendanceRecordsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttendanceRecordsRequestBuilderGetQueryParameters { + return new AttendanceRecordsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..9faf277a3d0 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..1788e2527a5 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4f773875225 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8582d6c5709 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php new file mode 100644 index 00000000000..2634b6b6439 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php @@ -0,0 +1,147 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property attendanceRecords for solutions + * @param AttendanceRecordItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AttendanceRecordItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttendanceRecordItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property attendanceRecords in solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(AttendanceRecord $body, ?AttendanceRecordItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property attendanceRecords for solutions + * @param AttendanceRecordItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AttendanceRecordItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceRecordItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property attendanceRecords in solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AttendanceRecord $body, ?AttendanceRecordItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttendanceRecordItemRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceRecordItemRequestBuilder { + return new AttendanceRecordItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..86e3d7cd3fe --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..331c12374cc --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new AttendanceRecordItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b9472291576 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttendanceRecordItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceRecordItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AttendanceRecordItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AttendanceRecordItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AttendanceRecordItemRequestBuilderGetQueryParameters { + return new AttendanceRecordItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f6b37df2b3a --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php new file mode 100644 index 00000000000..21efd60ca3c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property attendanceReports for solutions + * @param MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get attendanceReports from solutions + * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property attendanceReports in solutions + * @param MeetingAttendanceReport $body The request body + * @param MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MeetingAttendanceReport $body, ?MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property attendanceReports for solutions + * @param MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get attendanceReports from solutions + * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property attendanceReports in solutions + * @param MeetingAttendanceReport $body The request body + * @param MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MeetingAttendanceReport $body, ?MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MeetingAttendanceReportItemRequestBuilder + */ + public function withUrl(string $rawUrl): MeetingAttendanceReportItemRequestBuilder { + return new MeetingAttendanceReportItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0689cdef9af --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..da61aeb02ab --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ef0c5718573 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MeetingAttendanceReportItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MeetingAttendanceReportItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MeetingAttendanceReportItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MeetingAttendanceReportItemRequestBuilderGetQueryParameters { + return new MeetingAttendanceReportItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..8fb326ab003 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php new file mode 100644 index 00000000000..f90ece40dff --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property sessions for solutions + * @param VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get sessions from solutions + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property sessions in solutions + * @param VirtualEventSession $body The request body + * @param VirtualEventSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventSession $body, ?VirtualEventSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property sessions for solutions + * @param VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get sessions from solutions + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property sessions in solutions + * @param VirtualEventSession $body The request body + * @param VirtualEventSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventSession $body, ?VirtualEventSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEventSessionItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventSessionItemRequestBuilder { + return new VirtualEventSessionItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..23a62b061be --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e3664ca0be3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new VirtualEventSessionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..670511cd498 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventSessionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventSessionItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventSessionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventSessionItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventSessionItemRequestBuilderGetQueryParameters { + return new VirtualEventSessionItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..750e6efd18d --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php new file mode 100644 index 00000000000..0a6ec86bde4 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + * @param string $virtualEventSessionId The unique identifier of virtualEventSession + * @return VirtualEventSessionItemRequestBuilder + */ + public function byVirtualEventSessionId(string $virtualEventSessionId): VirtualEventSessionItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventSession%2Did'] = $virtualEventSessionId; + return new VirtualEventSessionItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new SessionsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get sessions from solutions + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSessionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to sessions for solutions + * @param VirtualEventSession $body The request body + * @param SessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(VirtualEventSession $body, ?SessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get sessions from solutions + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to sessions for solutions + * @param VirtualEventSession $body The request body + * @param SessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEventSession $body, ?SessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return SessionsRequestBuilder + */ + public function withUrl(string $rawUrl): SessionsRequestBuilder { + return new SessionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1e300ac07ac --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new sessionsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e3b8f29a0c3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SessionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SessionsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new sessionsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return SessionsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SessionsRequestBuilderGetQueryParameters { + return new SessionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5e6f6394a5e --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php new file mode 100644 index 00000000000..a4e206c15c1 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new VirtualEventItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property events for solutions + * @param VirtualEventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEventItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get events from solutions + * @param VirtualEventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEvent::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property events in solutions + * @param VirtualEvent $body The request body + * @param VirtualEventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEvent $body, ?VirtualEventItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEvent::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property events for solutions + * @param VirtualEventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get events from solutions + * @param VirtualEventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property events in solutions + * @param VirtualEvent $body The request body + * @param VirtualEventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEvent $body, ?VirtualEventItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEventItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventItemRequestBuilder { + return new VirtualEventItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..cb5570379d6 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9e5f23962e9 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new VirtualEventItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..df229075dc8 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventItemRequestBuilderGetQueryParameters { + return new VirtualEventItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..1ee4d653f1b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php new file mode 100644 index 00000000000..b0409e6b1ca --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilder.php @@ -0,0 +1,163 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. + */ + public function webinars(): WebinarsRequestBuilder { + return new WebinarsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new VirtualEventsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property virtualEvents for solutions + * @param VirtualEventsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEventsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get virtualEvents from solutions + * @param VirtualEventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventsRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property virtualEvents in solutions + * @param VirtualEventsRoot $body The request body + * @param VirtualEventsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventsRoot $body, ?VirtualEventsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventsRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property virtualEvents for solutions + * @param VirtualEventsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get virtualEvents from solutions + * @param VirtualEventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property virtualEvents in solutions + * @param VirtualEventsRoot $body The request body + * @param VirtualEventsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventsRoot $body, ?VirtualEventsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEventsRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventsRequestBuilder { + return new VirtualEventsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..16776f65cec --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ccce35d6411 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new virtualEventsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fcc61adb67b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new virtualEventsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventsRequestBuilderGetQueryParameters { + return new VirtualEventsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..7a539051513 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/VirtualEventsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..bc8c20d09ee --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1dbcb6115f4 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..49527d8056b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleGetResponse.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleGetResponse.php new file mode 100644 index 00000000000..8aabc070a6d --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventWebinar::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventWebinar::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.php new file mode 100644 index 00000000000..be60792f61d --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $role Usage: role='{role}' + * @param string|null $userId Usage: userId='{userId}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $role = null, ?string $userId = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/getByUserIdAndRole(userId=\'{userId}\',role=\'{role}\'){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['role'] = $role; + $urlTplParams['userId'] = $userId; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getByUserIdAndRole + * @param GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetByUserIdAndRoleWithUserIdWithRoleGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getByUserIdAndRole + * @param GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + */ + public function withUrl(string $rawUrl): GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder { + return new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e13d2a97683 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters.php @@ -0,0 +1,74 @@ +|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new getByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e6b16252b2a --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserIdAndRoleWithUserIdWithRole/GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,44 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new getByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters { + return new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleGetResponse.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleGetResponse.php new file mode 100644 index 00000000000..ac2ca19f3f9 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([VirtualEventWebinar::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, VirtualEventWebinar::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilder.php new file mode 100644 index 00000000000..155a31541df --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilder.php @@ -0,0 +1,80 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $role Usage: role='{role}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $role = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/getByUserRole(role=\'{role}\'){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['role'] = $role; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getByUserRole + * @param GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetByUserRoleWithRoleGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getByUserRole + * @param GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetByUserRoleWithRoleRequestBuilder + */ + public function withUrl(string $rawUrl): GetByUserRoleWithRoleRequestBuilder { + return new GetByUserRoleWithRoleRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8a6ac2ba5aa --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilderGetQueryParameters.php @@ -0,0 +1,74 @@ +|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new getByUserRoleWithRoleRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..61591de7c73 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/GetByUserRoleWithRole/GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,44 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetByUserRoleWithRoleRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetByUserRoleWithRoleRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new getByUserRoleWithRoleRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GetByUserRoleWithRoleRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetByUserRoleWithRoleRequestBuilderGetQueryParameters { + return new GetByUserRoleWithRoleRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..c9149d83cac --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..28d259c05c0 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3eb5076471a --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php new file mode 100644 index 00000000000..defd5f88938 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilder.php @@ -0,0 +1,147 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property registrations for solutions + * @param VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get registrations from solutions + * @param VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property registrations in solutions + * @param VirtualEventRegistration $body The request body + * @param VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventRegistration $body, ?VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property registrations for solutions + * @param VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get registrations from solutions + * @param VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property registrations in solutions + * @param VirtualEventRegistration $body The request body + * @param VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventRegistration $body, ?VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEventRegistrationItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventRegistrationItemRequestBuilder { + return new VirtualEventRegistrationItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..54228680975 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1fa449c9e02 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new VirtualEventRegistrationItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b6a78267a01 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventRegistrationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventRegistrationItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventRegistrationItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventRegistrationItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventRegistrationItemRequestBuilderGetQueryParameters { + return new VirtualEventRegistrationItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..aea14c34b43 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/Item/VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php new file mode 100644 index 00000000000..efdcba67a0f --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. + * @param string $virtualEventRegistrationId The unique identifier of virtualEventRegistration + * @return VirtualEventRegistrationItemRequestBuilder + */ + public function byVirtualEventRegistrationId(string $virtualEventRegistrationId): VirtualEventRegistrationItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventRegistration%2Did'] = $virtualEventRegistrationId; + return new VirtualEventRegistrationItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RegistrationsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get registrations from solutions + * @param RegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistrationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to registrations for solutions + * @param VirtualEventRegistration $body The request body + * @param RegistrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(VirtualEventRegistration $body, ?RegistrationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get registrations from solutions + * @param RegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to registrations for solutions + * @param VirtualEventRegistration $body The request body + * @param RegistrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEventRegistration $body, ?RegistrationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RegistrationsRequestBuilder + */ + public function withUrl(string $rawUrl): RegistrationsRequestBuilder { + return new RegistrationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3d530ce4b5a --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new registrationsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..dfb05e246db --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RegistrationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RegistrationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new registrationsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return RegistrationsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RegistrationsRequestBuilderGetQueryParameters { + return new RegistrationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f002e7a9280 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Registrations/RegistrationsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..98d91c4c08f --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..de1963a5916 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7bd7cf5ed25 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php new file mode 100644 index 00000000000..7d90d5a5cb2 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. + * @param string $meetingAttendanceReportId The unique identifier of meetingAttendanceReport + * @return MeetingAttendanceReportItemRequestBuilder + */ + public function byMeetingAttendanceReportId(string $meetingAttendanceReportId): MeetingAttendanceReportItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['meetingAttendanceReport%2Did'] = $meetingAttendanceReportId; + return new MeetingAttendanceReportItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AttendanceReportsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get attendanceReports from solutions + * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReportCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to attendanceReports for solutions + * @param MeetingAttendanceReport $body The request body + * @param AttendanceReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(MeetingAttendanceReport $body, ?AttendanceReportsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get attendanceReports from solutions + * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to attendanceReports for solutions + * @param MeetingAttendanceReport $body The request body + * @param AttendanceReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(MeetingAttendanceReport $body, ?AttendanceReportsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttendanceReportsRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceReportsRequestBuilder { + return new AttendanceReportsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c307021d7a6 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new attendanceReportsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c81e0550062 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttendanceReportsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceReportsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new attendanceReportsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return AttendanceReportsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttendanceReportsRequestBuilderGetQueryParameters { + return new AttendanceReportsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..89b5f65ae11 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..01af371bde8 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d71c5ec84c6 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b92dca33155 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php new file mode 100644 index 00000000000..879660e80cf --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php @@ -0,0 +1,136 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. + * @param string $attendanceRecordId The unique identifier of attendanceRecord + * @return AttendanceRecordItemRequestBuilder + */ + public function byAttendanceRecordId(string $attendanceRecordId): AttendanceRecordItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['attendanceRecord%2Did'] = $attendanceRecordId; + return new AttendanceRecordItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AttendanceRecordsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of attendanceRecord objects and their properties. + * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 Find more info here + */ + public function get(?AttendanceRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecordCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to attendanceRecords for solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of attendanceRecord objects and their properties. + * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to attendanceRecords for solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttendanceRecordsRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceRecordsRequestBuilder { + return new AttendanceRecordsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b4292fbf5cb --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new attendanceRecordsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..044d2605970 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttendanceRecordsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceRecordsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new attendanceRecordsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return AttendanceRecordsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttendanceRecordsRequestBuilderGetQueryParameters { + return new AttendanceRecordsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..037bcf9ef5b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..74fa739bc2c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/$count{?%24search,%24filter}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..44887ec9bd3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..25b673ec1ff --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php new file mode 100644 index 00000000000..cf43b1e987d --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php @@ -0,0 +1,147 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property attendanceRecords for solutions + * @param AttendanceRecordItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AttendanceRecordItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AttendanceRecordItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property attendanceRecords in solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(AttendanceRecord $body, ?AttendanceRecordItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AttendanceRecord::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property attendanceRecords for solutions + * @param AttendanceRecordItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AttendanceRecordItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * List of attendance records of an attendance report. Read-only. + * @param AttendanceRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AttendanceRecordItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property attendanceRecords in solutions + * @param AttendanceRecord $body The request body + * @param AttendanceRecordItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AttendanceRecord $body, ?AttendanceRecordItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AttendanceRecordItemRequestBuilder + */ + public function withUrl(string $rawUrl): AttendanceRecordItemRequestBuilder { + return new AttendanceRecordItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..7d9a72b5ff0 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..eea1e4371a3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new AttendanceRecordItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f022f768b85 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AttendanceRecordItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AttendanceRecordItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AttendanceRecordItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AttendanceRecordItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AttendanceRecordItemRequestBuilderGetQueryParameters { + return new AttendanceRecordItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..2b58a563041 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php new file mode 100644 index 00000000000..3d620a654ab --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property attendanceReports for solutions + * @param MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get attendanceReports from solutions + * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property attendanceReports in solutions + * @param MeetingAttendanceReport $body The request body + * @param MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MeetingAttendanceReport $body, ?MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MeetingAttendanceReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property attendanceReports for solutions + * @param MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get attendanceReports from solutions + * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property attendanceReports in solutions + * @param MeetingAttendanceReport $body The request body + * @param MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MeetingAttendanceReport $body, ?MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MeetingAttendanceReportItemRequestBuilder + */ + public function withUrl(string $rawUrl): MeetingAttendanceReportItemRequestBuilder { + return new MeetingAttendanceReportItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c361404fd49 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d6215b9993b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b1160dd75cd --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MeetingAttendanceReportItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MeetingAttendanceReportItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MeetingAttendanceReportItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MeetingAttendanceReportItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MeetingAttendanceReportItemRequestBuilderGetQueryParameters { + return new MeetingAttendanceReportItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..d7f408de425 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php new file mode 100644 index 00000000000..5619a23979c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property sessions for solutions + * @param VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get sessions from solutions + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property sessions in solutions + * @param VirtualEventSession $body The request body + * @param VirtualEventSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventSession $body, ?VirtualEventSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property sessions for solutions + * @param VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get sessions from solutions + * @param VirtualEventSessionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventSessionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property sessions in solutions + * @param VirtualEventSession $body The request body + * @param VirtualEventSessionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventSession $body, ?VirtualEventSessionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEventSessionItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventSessionItemRequestBuilder { + return new VirtualEventSessionItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..ddf9a8ff606 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c7cac93ce11 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new VirtualEventSessionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6d0dfec1a53 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventSessionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventSessionItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventSessionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventSessionItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventSessionItemRequestBuilderGetQueryParameters { + return new VirtualEventSessionItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..4d0b2a20be8 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/VirtualEventSessionItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php new file mode 100644 index 00000000000..b0d2b5557c6 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + * @param string $virtualEventSessionId The unique identifier of virtualEventSession + * @return VirtualEventSessionItemRequestBuilder + */ + public function byVirtualEventSessionId(string $virtualEventSessionId): VirtualEventSessionItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventSession%2Did'] = $virtualEventSessionId; + return new VirtualEventSessionItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new SessionsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get sessions from solutions + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSessionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to sessions for solutions + * @param VirtualEventSession $body The request body + * @param SessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(VirtualEventSession $body, ?SessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventSession::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get sessions from solutions + * @param SessionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SessionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to sessions for solutions + * @param VirtualEventSession $body The request body + * @param SessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEventSession $body, ?SessionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return SessionsRequestBuilder + */ + public function withUrl(string $rawUrl): SessionsRequestBuilder { + return new SessionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..14f883694d3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new sessionsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2ae023873f3 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SessionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SessionsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new sessionsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return SessionsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SessionsRequestBuilderGetQueryParameters { + return new SessionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5fe182af851 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/SessionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php new file mode 100644 index 00000000000..db00bbb4139 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilder.php @@ -0,0 +1,163 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + */ + public function sessions(): SessionsRequestBuilder { + return new SessionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new VirtualEventWebinarItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property webinars for solutions + * @param VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get webinars from solutions + * @param VirtualEventWebinarItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEventWebinarItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinar::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property webinars in solutions + * @param VirtualEventWebinar $body The request body + * @param VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEventWebinar $body, ?VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinar::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property webinars for solutions + * @param VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get webinars from solutions + * @param VirtualEventWebinarItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEventWebinarItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property webinars in solutions + * @param VirtualEventWebinar $body The request body + * @param VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEventWebinar $body, ?VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEventWebinarItemRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEventWebinarItemRequestBuilder { + return new VirtualEventWebinarItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..32fc191665b --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..88731f76142 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new VirtualEventWebinarItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e9df2f51416 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEventWebinarItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEventWebinarItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new VirtualEventWebinarItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEventWebinarItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEventWebinarItemRequestBuilderGetQueryParameters { + return new VirtualEventWebinarItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..526846366b9 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php new file mode 100644 index 00000000000..28c45c725d7 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilder.php @@ -0,0 +1,156 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. + * @param string $virtualEventWebinarId The unique identifier of virtualEventWebinar + * @return VirtualEventWebinarItemRequestBuilder + */ + public function byVirtualEventWebinarId(string $virtualEventWebinarId): VirtualEventWebinarItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['virtualEventWebinar%2Did'] = $virtualEventWebinarId; + return new VirtualEventWebinarItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new WebinarsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/solutions/virtualEvents/webinars{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get webinars from solutions + * @param WebinarsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WebinarsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinarCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Provides operations to call the getByUserIdAndRole method. + * @param string $role Usage: role='{role}' + * @param string $userId Usage: userId='{userId}' + * @return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + */ + public function getByUserIdAndRoleWithUserIdWithRole(string $role, string $userId): GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder { + return new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder($this->pathParameters, $this->requestAdapter, $role, $userId); + } + + /** + * Provides operations to call the getByUserRole method. + * @param string $role Usage: role='{role}' + * @return GetByUserRoleWithRoleRequestBuilder + */ + public function getByUserRoleWithRole(string $role): GetByUserRoleWithRoleRequestBuilder { + return new GetByUserRoleWithRoleRequestBuilder($this->pathParameters, $this->requestAdapter, $role); + } + + /** + * Create new navigation property to webinars for solutions + * @param VirtualEventWebinar $body The request body + * @param WebinarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(VirtualEventWebinar $body, ?WebinarsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEventWebinar::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get webinars from solutions + * @param WebinarsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WebinarsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to webinars for solutions + * @param VirtualEventWebinar $body The request body + * @param WebinarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(VirtualEventWebinar $body, ?WebinarsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return WebinarsRequestBuilder + */ + public function withUrl(string $rawUrl): WebinarsRequestBuilder { + return new WebinarsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cf950f01ec7 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new webinarsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderGetRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..838b4a5d20c --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WebinarsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WebinarsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new webinarsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return WebinarsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): WebinarsRequestBuilderGetQueryParameters { + return new WebinarsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderPostRequestConfiguration.php b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0dadf21e438 --- /dev/null +++ b/src/Generated/Solutions/VirtualEvents/Webinars/WebinarsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.php b/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.php index 77bea97bfec..25935d60267 100644 --- a/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.php +++ b/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SubscribedSkuItemRequestBuilderDeleteRequestConfiguratio } /** - * Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + * Get a specific commercial subscription that an organization has acquired. * @param SubscribedSkuItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?SubscribedSkuItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + * Get a specific commercial subscription that an organization has acquired. * @param SubscribedSkuItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?SubscribedSkuItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(SubscribedSku $body, ?SubscribedSkuIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilderGetQueryParameters.php b/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilderGetQueryParameters.php index 4e6ab73dd98..52cc194b838 100644 --- a/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + * Get a specific commercial subscription that an organization has acquired. */ class SubscribedSkuItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php index 13d3d436288..8b4c37d47de 100644 --- a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php +++ b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php @@ -44,7 +44,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. This API is available in the following national cloud deployments. + * Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. * @param SubscribedSkusRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function post(SubscribedSku $body, ?SubscribedSkusRequestBuilderPostReque } /** - * Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. This API is available in the following national cloud deployments. + * Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. * @param SubscribedSkusRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +92,7 @@ public function toGetRequestInformation(?SubscribedSkusRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toPostRequestInformation(SubscribedSku $body, ?SubscribedSkusReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php index 0a088362b25..6bf7974cad0 100644 --- a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php +++ b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. This API is available in the following national cloud deployments. + * Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. */ class SubscribedSkusRequestBuilderGetQueryParameters { diff --git a/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php b/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php index 46c2b59ba05..f050c7b2360 100644 --- a/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php +++ b/src/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ReauthorizeRequestBuilderPostRequestConfiguration $request } /** - * Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + * Reauthorize a subscription when you receive a reauthorizationRequired challenge. * @param ReauthorizeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ReauthorizeRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.php b/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.php index 2a0747bca8c..2a5251d4a15 100644 --- a/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.php +++ b/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. * @param SubscriptionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?SubscriptionItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. * @param SubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?SubscriptionItemRequestBuilderGetRequestConfiguration $requ } /** - * Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. This API is available in the following national cloud deployments. + * Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. * @param Subscription $body The request body * @param SubscriptionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(Subscription $body, ?SubscriptionItemRequestBuilderPatchRe } /** - * Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. * @param SubscriptionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?SubscriptionItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. * @param SubscriptionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?SubscriptionItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. This API is available in the following national cloud deployments. + * Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. * @param Subscription $body The request body * @param SubscriptionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(Subscription $body, ?SubscriptionItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php b/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php index 8dca4060220..3806ae8beb6 100644 --- a/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Subscriptions/Item/SubscriptionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. */ class SubscriptionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php index 400c8ae87ac..18619adfa34 100644 --- a/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php @@ -44,7 +44,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -60,7 +60,7 @@ public function get(?SubscriptionsRequestBuilderGetRequestConfiguration $request } /** - * Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. This API is available in the following national cloud deployments. + * Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. * @param Subscription $body The request body * @param SubscriptionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -77,7 +77,7 @@ public function post(Subscription $body, ?SubscriptionsRequestBuilderPostRequest } /** - * Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. * @param SubscriptionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toGetRequestInformation(?SubscriptionsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. This API is available in the following national cloud deployments. + * Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. * @param Subscription $body The request body * @param SubscriptionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -112,7 +112,7 @@ public function toPostRequestInformation(Subscription $body, ?SubscriptionsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php b/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php index 2c17d65c4b6..862ad4c5ded 100644 --- a/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. */ class SubscriptionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.php index bb700654774..e3499252cf0 100644 --- a/src/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.php b/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.php index 6ce97f443db..92ee3410af8 100644 --- a/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). * @param AllChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllChannelsRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). * @param AllChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllChannelsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php index e69acf9b95c..49d975906ef 100644 --- a/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). */ class AllChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.php index 8f0f1568e98..ceb48416a57 100644 --- a/src/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Archive/ArchiveRequestBuilder.php b/src/Generated/Teams/Item/Archive/ArchiveRequestBuilder.php index a5fe9faec6a..e040b4cef4b 100644 --- a/src/Generated/Teams/Item/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Teams/Item/Archive/ArchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostReq } /** - * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php index 83d0f0b9532..cc3ba83b10c 100644 --- a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. * @param ChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ChannelsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. This API is available in the following national cloud deployments. + * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. * @param Channel $body The request body * @param ChannelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Channel $body, ?ChannelsRequestBuilderPostRequestConfigurat } /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. * @param ChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. This API is available in the following national cloud deployments. + * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. * @param Channel $body The request body * @param ChannelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Channel $body, ?ChannelsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php index f44e5bdd4ce..18feec1fddc 100644 --- a/src/Generated/Teams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. */ class ChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php index 136b9663d96..6182af171f6 100644 --- a/src/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php index 0416dbc68b3..2a3cd4b2dc2 100644 --- a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -103,7 +103,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the channel. This API is available in the following national cloud deployments. + * Delete the channel. * @param ChannelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function delete(?ChannelItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. * @param ChannelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function get(?ChannelItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of the specified channel. This API is available in the following national cloud deployments. + * Update the properties of the specified channel. * @param Channel $body The request body * @param ChannelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -152,7 +152,7 @@ public function patch(Channel $body, ?ChannelItemRequestBuilderPatchRequestConfi } /** - * Delete the channel. This API is available in the following national cloud deployments. + * Delete the channel. * @param ChannelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -165,12 +165,12 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. * @param ChannelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -186,12 +186,12 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified channel. This API is available in the following national cloud deployments. + * Update the properties of the specified channel. * @param Channel $body The request body * @param ChannelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -205,7 +205,7 @@ public function toPatchRequestInformation(Channel $body, ?ChannelItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php index 4c7e7dee609..60829d18fbd 100644 --- a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. */ class ChannelItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index 25ca1ec0395..486a2ff199e 100644 --- a/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index dda34cfcdeb..a39161d5283 100644 --- a/src/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php index d30a4eff78c..7907c662dcd 100644 --- a/src/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php index 2f701d1cf56..a2c3b8e8a92 100644 --- a/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index 94fd8ed6561..0ef1930b05b 100644 --- a/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.php index ee216d20c0c..5dd9c90a8e3 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 174aadd4725..888e24d36fc 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index c724f779750..8fe49175dc6 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php index 53ad8d23c27..2457add7bdc 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php index 929764ce834..ccd1d16b310 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index 37c786c93dc..d3498554d2c 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php index 62bb936be24..06293b64baf 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 64fbdd15de8..cd5319a2405 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index fe0392745f5..3b49e14fb60 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 2b443c20e1f..3dcded44a95 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 3d34eadff19..f6f4c98c8a1 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 71e8795511f..cdbf43a01d2 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 4e6ed7e48d9..2bc18bec34c 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 46b804a559c..bdf862e9c63 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 07f5b4d4d85..7f0bf9418b4 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index a258886b97c..1eeee0d416f 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 54e5da8a0d4..3f045f1838a 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 11e149f840b..8da2a30ecac 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index e0d1d9d69be..73ef7ded1ed 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index f99592f25d0..9b1f1379311 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index c3df9b494a5..a7a7125438a 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 87e0819babb..dfbf07c5334 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 1f6ff445ad3..e7aa7b54f89 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 03b61eb17c1..8f72b1837af 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 8f0ceb58808..cb5911b138a 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 17453c6089b..b6cf4763801 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 980c173edaa..c9ae631b6ff 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php index 42543fe99b1..ab3b4c293cc 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index 4b11fa96239..85fec69e459 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 85555366d57..000e267774f 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 6924c1ff93d..f7c12d2336c 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index 722384d9be8..7c371daacde 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index e7495f6c381..4e1224fcdfd 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 36b6f619fc1..a500d89ee0c 100644 --- a/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php index 39c2a55d544..5e6aa560429 100644 --- a/src/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index ca2b3fe634e..649b333c670 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index 77eccfdd5fb..b99c406e740 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index 1f89f343de2..900336c6fa1 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index 91b8652b808..cc1cb1d3f0b 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index cc54f577ff2..51821c9f6fe 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php index 0cee339f554..57b481dfece 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php index 67967400216..5389a70e91a 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index 786eae3c474..53f203169fb 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index 25e04885f9e..bb0b8159bf4 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php index ff667ab381e..8c4d30c3c7c 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index de7a23a79a4..63b2abb2f10 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php index 3a56a2ebf45..2ed675eae93 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php index 794e3827cf3..a302da4e4d9 100644 --- a/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index e698f9f9aec..b55d82d7dbf 100644 --- a/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php index 1730b24f373..d9a612c19f7 100644 --- a/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Teams/Item/EscapedClone/CloneRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ClonePostRequestBody $body, ?CloneReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Group/GroupRequestBuilder.php b/src/Generated/Teams/Item/Group/GroupRequestBuilder.php index d39632c9a50..90e832bfd52 100644 --- a/src/Generated/Teams/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/Teams/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Teams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index f9c5ed250e7..cb0eea0794c 100644 --- a/src/Generated/Teams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Teams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php b/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php index ebff6a787e3..3dd281f958e 100644 --- a/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php +++ b/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). * @param IncomingChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?IncomingChannelsRequestBuilderGetRequestConfiguration $requ } /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). * @param IncomingChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?IncomingChannelsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php index ef443cb2786..ff7db5bb5c6 100644 --- a/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). */ class IncomingChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php index ed1a2eadcad..7a73025c1ff 100644 --- a/src/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.php b/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.php index 77a7a8184a9..3d34eb7024c 100644 --- a/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?InstalledAppsRequestBuilderGetRequestConfiguration $request } /** - * Install an app to the specified team. This API is available in the following national cloud deployments. + * Install an app to the specified team. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsAppInstallation $body, ?InstalledAppsRequestBuilderPos } /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Install an app to the specified team. This API is available in the following national cloud deployments. + * Install an app to the specified team. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsAppInstallation $body, ?InstalledA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php index 307aec93ae2..006f9188283 100644 --- a/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. */ class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php index 4a50103a921..3ec9100539b 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php index 1674baf850b..6862966ae87 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php index 4c9fe808c8a..53da4fe1852 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + * Uninstalls an app from the specified team. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TeamsAppInstallationItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(TeamsAppInstallation $body, ?TeamsAppInstallationItemReque } /** - * Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + * Uninstalls an app from the specified team. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?TeamsAppInstallationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?TeamsAppInstallationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(TeamsAppInstallation $body, ?TeamsAppI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php index cd65cadd13d..e8bf0183e1a 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. */ class TeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index b1191845734..0da0303814c 100644 --- a/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UpgradePostRequestBody $body, ?UpgradeRequestBuilderPostReq } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpgradePostRequestBody $body, ?UpgradeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Teams/Item/Members/Add/AddRequestBuilder.php index e8002262137..5a6d1d7c8af 100644 --- a/src/Generated/Teams/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php index f71a30bb61f..051043fdd4f 100644 --- a/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a conversationMember from a team. This API is available in the following national cloud deployments. + * Remove a conversationMember from a team. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Remove a conversationMember from a team. This API is available in the following national cloud deployments. + * Remove a conversationMember from a team. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index b3fc8857d64..fa7538fa0fd 100644 --- a/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Members/MembersRequestBuilder.php index c8698051393..f9a6c2e8a6c 100644 --- a/src/Generated/Teams/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a new conversationMember to a team. This API is available in the following national cloud deployments. + * Add a new conversationMember to a team. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a new conversationMember to a team. This API is available in the following national cloud deployments. + * Add a new conversationMember to a team. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Members/MembersRequestBuilderGetQueryParameters.php index 365fa572c14..d0fdde19770 100644 --- a/src/Generated/Teams/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php b/src/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php index 3c0af3f9b0a..3f2c8ace771 100644 --- a/src/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TeamsAsyncOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TeamsAsyncOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TeamsAsyncOperation $body, ?TeamsAsync $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Teams/Item/Operations/OperationsRequestBuilder.php index f5e38cb6c39..12efa926359 100644 --- a/src/Generated/Teams/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Teams/Item/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TeamsAsyncOperation $body, ?OperationsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index 55edb36669b..19e0085bd46 100644 --- a/src/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php index b4f15899b17..73bc0edd2d6 100644 --- a/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ResourceSpecificPermissionGrant $body, ?PermissionGrantsReq } /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php index 0e9709496ea..ba323ca8c50 100644 --- a/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. */ class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Teams/Item/Photo/PhotoRequestBuilder.php index 52acb9aca83..94c1d4df4aa 100644 --- a/src/Generated/Teams/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Teams/Item/Photo/PhotoRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function patch(ProfilePhoto $body, ?PhotoRequestBuilderPatchRequestConfig } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -87,7 +87,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -106,7 +106,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index 8deef8d40c4..5e7cdb17f94 100644 --- a/src/Generated/Teams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. */ class PhotoRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php index 3c9479a7fed..69ff8231221 100644 --- a/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php index 4b07e10bd45..0fdf25d43f8 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index 229cfd9e744..571dd9b6175 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php index e5e71aa7572..f075a617b94 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php index 2f760733d2c..25bcb6c629f 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index 72132a7404f..c1c6c472a73 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php index 56aa9d005d1..36147f1e57a 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index c668705ab63..eceffb02334 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 23ba95f9e45..6287e93a34f 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php index 0c5df69f8ea..4d49bbf9bb7 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php index 69cc2f30043..96d8658adfa 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php index a7a7ac8ea1c..432b9c17426 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php index 7a5ab0e53cb..04682301afa 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 5e1d3b19db8..087cedf8a63 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 068f4aa2fe2..9fbf3ed69cf 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index d7d01772ddc..a3838660e91 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index ac5af4ab6fc..9e70f6a5f7b 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index afc5d4212d7..34225dc4d61 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 5594dc345dc..e886af82192 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index eaeee4cd2bd..2ff5b753a8c 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 792727bdf8f..ae39c6161a7 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 5a7859edb21..54096380cc3 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index c6300185c69..dd616058c95 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 3de537ffeb2..b4554e2f5a1 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index d3015bf2045..b4fc981b152 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 3e698f7fce5..d070b6c6afc 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 65ff65077de..c456288cda2 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index a7364833247..f8b15c5e7cd 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 62c457c8e9f..b2f1719b3c9 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index cc83c505f38..2a2e475f870 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 2ab31634a5a..3b2c92de9b9 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 5422481e6e0..fc00e215271 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 924a48e9c0d..2c18df0ad82 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php index 29ffa9c683f..7e5cd97b41c 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index 7f0f724921b..5a66494aa70 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 026e858190c..993329eed3d 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 786d806e755..a20be41cbdb 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php index b5b6db27dd3..f5357b59ba4 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php index 4a42eaec841..c7f14af8a25 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index b86b767eeff..af346d87d15 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -118,7 +118,7 @@ public function delete(?PrimaryChannelRequestBuilderDeleteRequestConfiguration $ } /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. * @param PrimaryChannelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -163,12 +163,12 @@ public function toDeleteRequestInformation(?PrimaryChannelRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. * @param PrimaryChannelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -184,7 +184,7 @@ public function toGetRequestInformation(?PrimaryChannelRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -203,7 +203,7 @@ public function toPatchRequestInformation(Channel $body, ?PrimaryChannelRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php index 8bc1e3b0e03..8a12d5759cc 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. */ class PrimaryChannelRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php index 6d0881a9d96..1057cc9b8e6 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php index 3b61ea2fea9..1eba652a3d0 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index d85a77bf88a..08cf1497bfe 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index 0212c28635a..870afbda4d1 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index 1768dd57261..20cc888ae7a 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index 8448f8e0f17..64934222ce5 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index a9a93422e9d..ef1246f54ab 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php index 42be27517e3..0a0da16b227 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php index f0c159b7e35..47bc81a62e8 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index a2c03b80fab..47beb962e66 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index dbf7b251a2f..dad2d7f6b5a 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php index a9b10ed046f..dab15b2a1aa 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index cd9784ceb8b..958af0cfc81 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php index 22547635a39..7a648c9a0ac 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php index a73ffdb63f2..4681c05ea14 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php index 10b2c81d8bd..d4c87b5b075 100644 --- a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OfferShiftRequestItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. * @param OfferShiftRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OfferShiftRequestItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. * @param OfferShiftRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OfferShiftRequestItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OfferShiftRequest $body, ?OfferShiftRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php index b5f86195433..22d07e5b5af 100644 --- a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. */ class OfferShiftRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php index 6e91628a397..69a4cd5ae4a 100644 --- a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. * @param OfferShiftRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OfferShiftRequestsRequestBuilderGetRequestConfiguration $re } /** - * Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + * Create an instance of an offerShiftRequest. * @param OfferShiftRequest $body The request body * @param OfferShiftRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OfferShiftRequest $body, ?OfferShiftRequestsRequestBuilderP } /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. * @param OfferShiftRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OfferShiftRequestsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + * Create an instance of an offerShiftRequest. * @param OfferShiftRequest $body The request body * @param OfferShiftRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OfferShiftRequest $body, ?OfferShiftReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php index a64472375ab..42cc6df83f5 100644 --- a/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. */ class OfferShiftRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php index 4a015e26cee..56a98e74d6c 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OpenShiftChangeRequestItemRequestBuilderDeleteRequestCon } /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. * @param OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OpenShiftChangeRequestItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. * @param OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OpenShiftChangeRequestItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OpenShiftChangeRequest $body, ?OpenShi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php index 0c95b689852..97791b68eee 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. */ class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php index d70ffcfd9a5..b070ab61416 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. * @param OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OpenShiftChangeRequestsRequestBuilderGetRequestConfiguratio } /** - * Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Create instance of an openShiftChangeRequest object. * @param OpenShiftChangeRequest $body The request body * @param OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OpenShiftChangeRequest $body, ?OpenShiftChangeRequestsReque } /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. * @param OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OpenShiftChangeRequestsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Create instance of an openShiftChangeRequest object. * @param OpenShiftChangeRequest $body The request body * @param OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OpenShiftChangeRequest $body, ?OpenShif $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php index e67fb6058f6..b261313f852 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. */ class OpenShiftChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php index 932508e76e5..b7289d47eaa 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an openShift object. This API is available in the following national cloud deployments. + * Delete an openShift object. * @param OpenShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?OpenShiftItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. * @param OpenShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(OpenShift $body, ?OpenShiftItemRequestBuilderPatchRequestC } /** - * Delete an openShift object. This API is available in the following national cloud deployments. + * Delete an openShift object. * @param OpenShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?OpenShiftItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. * @param OpenShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?OpenShiftItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(OpenShift $body, ?OpenShiftItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php index ae8746c0e1e..1dab7e9f57e 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. */ class OpenShiftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php index a13df65ca39..94146792095 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. * @param OpenShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OpenShiftsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create an instance of an openShift object. This API is available in the following national cloud deployments. + * Create an instance of an openShift object. * @param OpenShift $body The request body * @param OpenShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OpenShift $body, ?OpenShiftsRequestBuilderPostRequestConfig } /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. * @param OpenShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OpenShiftsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of an openShift object. This API is available in the following national cloud deployments. + * Create an instance of an openShift object. * @param OpenShift $body The request body * @param OpenShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OpenShift $body, ?OpenShiftsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php index 7dad08e633a..0342e794350 100644 --- a/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. */ class OpenShiftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php index 634d7272d7b..5491637f058 100644 --- a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.php @@ -126,7 +126,7 @@ public function delete(?ScheduleRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. * @param ScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -171,12 +171,12 @@ public function toDeleteRequestInformation(?ScheduleRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. * @param ScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -192,7 +192,7 @@ public function toGetRequestInformation(?ScheduleRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -211,7 +211,7 @@ public function toPutRequestInformation(Schedule $body, ?ScheduleRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php index ff9d07485e0..fac824c5458 100644 --- a/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. */ class ScheduleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index cff8bf1e080..03f7a0417f0 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @param SchedulingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?SchedulingGroupItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. * @param SchedulingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(SchedulingGroup $body, ?SchedulingGroupItemRequestBuilderP } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @param SchedulingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?SchedulingGroupItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. * @param SchedulingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?SchedulingGroupItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(SchedulingGroup $body, ?SchedulingGrou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php index 0fa18fd954d..d508ad7599f 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. */ class SchedulingGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index f6b44f2b006..03e4b96b5cf 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. * @param SchedulingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SchedulingGroupsRequestBuilderGetRequestConfiguration $requ } /** - * Create a new schedulingGroup. This API is available in the following national cloud deployments. + * Create a new schedulingGroup. * @param SchedulingGroup $body The request body * @param SchedulingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SchedulingGroup $body, ?SchedulingGroupsRequestBuilderPostR } /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. * @param SchedulingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SchedulingGroupsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new schedulingGroup. This API is available in the following national cloud deployments. + * Create a new schedulingGroup. * @param SchedulingGroup $body The request body * @param SchedulingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SchedulingGroup $body, ?SchedulingGroup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php index 918d1804aee..ae00ac26512 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. */ class SchedulingGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php index d1ac3c75779..3421b6ae550 100644 --- a/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. * @param SharePostRequestBody $body The request body * @param ShareRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SharePostRequestBody $body, ?ShareRequestBuilderPostRequest } /** - * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. * @param SharePostRequestBody $body The request body * @param ShareRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SharePostRequestBody $body, ?ShareReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php index 68840039803..1ac2be0eaaf 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a shift from the schedule. This API is available in the following national cloud deployments. + * Delete a shift from the schedule. * @param ShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ShiftItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. * @param ShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(Shift $body, ?ShiftItemRequestBuilderPatchRequestConfigura } /** - * Delete a shift from the schedule. This API is available in the following national cloud deployments. + * Delete a shift from the schedule. * @param ShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ShiftItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. * @param ShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ShiftItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(Shift $body, ?ShiftItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php index ade1a45d853..fb18867f33a 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. */ class ShiftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php index 1366f887199..87eeabd40c8 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. * @param ShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ShiftsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. * @param Shift $body The request body * @param ShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Shift $body, ?ShiftsRequestBuilderPostRequestConfiguration } /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. * @param ShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ShiftsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. * @param Shift $body The request body * @param ShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Shift $body, ?ShiftsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php index 876dcfc2178..e74d9d8929f 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. */ class ShiftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php index a094f521fc4..33b4b380127 100644 --- a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SwapShiftsChangeRequestItemRequestBuilderDeleteRequestCo } /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?SwapShiftsChangeRequestItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(SwapShiftsChangeRequest $body, ?SwapSh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php index 67fea6eebf4..fb8e1e50394 100644 --- a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. */ class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php index 96d357c118f..07766a3be27 100644 --- a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. * @param SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SwapShiftsChangeRequestsRequestBuilderGetRequestConfigurati } /** - * Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Create an instance of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequest $body The request body * @param SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SwapShiftsChangeRequest $body, ?SwapShiftsChangeRequestsReq } /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. * @param SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Create an instance of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequest $body The request body * @param SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SwapShiftsChangeRequest $body, ?SwapShi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php index 88a5651bc21..88f7951cb30 100644 --- a/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. */ class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index b4bf8a3b08e..b6c4966d959 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. * @param TimeOffReasonItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffReasonItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. * @param TimeOffReasonItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(TimeOffReason $body, ?TimeOffReasonItemRequestBuilderPatch } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. * @param TimeOffReasonItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?TimeOffReasonItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. * @param TimeOffReasonItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TimeOffReasonItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TimeOffReason $body, ?TimeOffReasonIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php index c3e7c970eb7..91f7bb6edae 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. */ class TimeOffReasonItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 1b92063a051..492094107a4 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. * @param TimeOffReasonsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TimeOffReasonsRequestBuilderGetRequestConfiguration $reques } /** - * Create a new timeOffReason. This API is available in the following national cloud deployments. + * Create a new timeOffReason. * @param TimeOffReason $body The request body * @param TimeOffReasonsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TimeOffReason $body, ?TimeOffReasonsRequestBuilderPostReque } /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. * @param TimeOffReasonsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TimeOffReasonsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new timeOffReason. This API is available in the following national cloud deployments. + * Create a new timeOffReason. * @param TimeOffReason $body The request body * @param TimeOffReasonsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TimeOffReason $body, ?TimeOffReasonsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php index 699416da796..28dda562c29 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. */ class TimeOffReasonsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 18548020e63..64002b0f7c5 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a timeOffRequest object. This API is available in the following national cloud deployments. + * Delete a timeOffRequest object. * @param TimeOffRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffRequestItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. * @param TimeOffRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(TimeOffRequest $body, ?TimeOffRequestItemRequestBuilderPat } /** - * Delete a timeOffRequest object. This API is available in the following national cloud deployments. + * Delete a timeOffRequest object. * @param TimeOffRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TimeOffRequestItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. * @param TimeOffRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TimeOffRequestItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TimeOffRequest $body, ?TimeOffRequestI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php index b7b46d34624..55b3713bdbf 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. */ class TimeOffRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index 8835af32661..cef5a8f0a72 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. * @param TimeOffRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(TimeOffRequest $body, ?TimeOffRequestsRequestBuilderPostReq } /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. * @param TimeOffRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TimeOffRequestsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(TimeOffRequest $body, ?TimeOffRequestsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php index ba9235097a1..82bcd375130 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. */ class TimeOffRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index 1e1dbd1eb88..69a69a46cef 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + * Delete a timeOff instance from a schedule. * @param TimeOffItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. * @param TimeOffItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(TimeOff $body, ?TimeOffItemRequestBuilderPatchRequestConfi } /** - * Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + * Delete a timeOff instance from a schedule. * @param TimeOffItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?TimeOffItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. * @param TimeOffItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TimeOffItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TimeOff $body, ?TimeOffItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php index 0883ffbfedd..a5ed0d7b8e8 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. */ class TimeOffItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php index 0b19f3103ea..dea10576e4d 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. * @param TimesOffRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TimesOffRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + * Create a new timeOff instance in a schedule. * @param TimeOff $body The request body * @param TimesOffRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TimeOff $body, ?TimesOffRequestBuilderPostRequestConfigurat } /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. * @param TimesOffRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TimesOffRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + * Create a new timeOff instance in a schedule. * @param TimeOff $body The request body * @param TimesOffRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TimeOff $body, ?TimesOffRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php index 5fdb87ebd07..462d817e957 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. */ class TimesOffRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index e37c4d87996..b60e9cac141 100644 --- a/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationPostRequestBody $body, ?SendActivit } /** - * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php index 197ffbfd665..418e53c8538 100644 --- a/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + * Delete a member from a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TeamworkTagMemberItemRequestBuilderDeleteRequestConfigur } /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(TeamworkTagMember $body, ?TeamworkTagMemberItemRequestBuil } /** - * Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + * Delete a member from a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TeamworkTagMemberItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TeamworkTagMemberItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TeamworkTagMember $body, ?TeamworkTagM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php index b204eeecb5f..2abb24bc01e 100644 --- a/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. */ class TeamworkTagMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php index f58c954497a..05295e685a1 100644 --- a/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + * Create a new teamworkTagMember object in a team. * @param TeamworkTagMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamworkTagMember $body, ?MembersRequestBuilderPostRequestC } /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + * Create a new teamworkTagMember object in a team. * @param TeamworkTagMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamworkTagMember $body, ?MembersReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php index 4756d1ffa49..381ed2a540f 100644 --- a/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php b/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php index d359c391720..cfb4fd38340 100644 --- a/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a tag object permanently. This API is available in the following national cloud deployments. + * Delete a tag object permanently. * @param TeamworkTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamworkTagItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. * @param TeamworkTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamworkTagItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of a tag object. This API is available in the following national cloud deployments. + * Update the properties of a tag object. * @param TeamworkTag $body The request body * @param TeamworkTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamworkTag $body, ?TeamworkTagItemRequestBuilderPatchRequ } /** - * Delete a tag object permanently. This API is available in the following national cloud deployments. + * Delete a tag object permanently. * @param TeamworkTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamworkTagItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. * @param TeamworkTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamworkTagItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a tag object. This API is available in the following national cloud deployments. + * Update the properties of a tag object. * @param TeamworkTag $body The request body * @param TeamworkTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamworkTag $body, ?TeamworkTagItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php index e7f6850cb0e..6a06b27344a 100644 --- a/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. */ class TeamworkTagItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php b/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php index 8d7d87cadab..c4aabd8cc70 100644 --- a/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php +++ b/src/Generated/Teams/Item/Tags/TagsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TagsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a standard tag for members in a team. This API is available in the following national cloud deployments. + * Create a standard tag for members in a team. * @param TeamworkTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamworkTag $body, ?TagsRequestBuilderPostRequestConfigurat } /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a standard tag for members in a team. This API is available in the following national cloud deployments. + * Create a standard tag for members in a team. * @param TeamworkTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamworkTag $body, ?TagsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Tags/TagsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Tags/TagsRequestBuilderGetQueryParameters.php index 53215f573dc..180e499237f 100644 --- a/src/Generated/Teams/Item/Tags/TagsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Tags/TagsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. */ class TagsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/TeamItemRequestBuilder.php b/src/Generated/Teams/Item/TeamItemRequestBuilder.php index d8a23357961..7cb99505bf2 100644 --- a/src/Generated/Teams/Item/TeamItemRequestBuilder.php +++ b/src/Generated/Teams/Item/TeamItemRequestBuilder.php @@ -190,7 +190,7 @@ public function delete(?TeamItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified team. * @param TeamItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -206,7 +206,7 @@ public function get(?TeamItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of the specified team. This API is available in the following national cloud deployments. + * Update the properties of the specified team. * @param Team $body The request body * @param TeamItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -236,12 +236,12 @@ public function toDeleteRequestInformation(?TeamItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified team. * @param TeamItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -257,12 +257,12 @@ public function toGetRequestInformation(?TeamItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified team. This API is available in the following national cloud deployments. + * Update the properties of the specified team. * @param Team $body The request body * @param TeamItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -276,7 +276,7 @@ public function toPatchRequestInformation(Team $body, ?TeamItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/Item/TeamItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/TeamItemRequestBuilderGetQueryParameters.php index e77d0b04d88..eafae52aaa2 100644 --- a/src/Generated/Teams/Item/TeamItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/TeamItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified team. */ class TeamItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Template/TemplateRequestBuilder.php b/src/Generated/Teams/Item/Template/TemplateRequestBuilder.php index fa578ba709b..faca8e1e43f 100644 --- a/src/Generated/Teams/Item/Template/TemplateRequestBuilder.php +++ b/src/Generated/Teams/Item/Template/TemplateRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TemplateRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php index 3824bb26dd7..6a6bff39954 100644 --- a/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestCo } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teams/TeamsRequestBuilder.php b/src/Generated/Teams/TeamsRequestBuilder.php index f49cc1cc02a..cf9133499c8 100644 --- a/src/Generated/Teams/TeamsRequestBuilder.php +++ b/src/Generated/Teams/TeamsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all teams in an organization. This API is available in the following national cloud deployments. + * List all teams in an organization. * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?TeamsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new team. This API is available in the following national cloud deployments. + * Create a new team. * @param Team $body The request body * @param TeamsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Team $body, ?TeamsRequestBuilderPostRequestConfiguration $r } /** - * List all teams in an organization. This API is available in the following national cloud deployments. + * List all teams in an organization. * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?TeamsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new team. This API is available in the following national cloud deployments. + * Create a new team. * @param Team $body The request body * @param TeamsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Team $body, ?TeamsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teams/TeamsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/TeamsRequestBuilderGetQueryParameters.php index 48bd9b7dafb..88fd07fc95c 100644 --- a/src/Generated/Teams/TeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/TeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all teams in an organization. This API is available in the following national cloud deployments. + * List all teams in an organization. */ class TeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.php b/src/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.php index 535446b06d9..bbee289523d 100644 --- a/src/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.php +++ b/src/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TeamsTemplateItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TeamsTemplateItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TeamsTemplate $body, ?TeamsTemplateIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.php b/src/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.php index 52f13cca741..0509b999d1a 100644 --- a/src/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.php +++ b/src/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?TeamsTemplatesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TeamsTemplate $body, ?TeamsTemplatesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.php index 602ee674b9a..12fc92c3551 100644 --- a/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the deletedTeam objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the deletedTeam objects and their properties. * @param DeletedTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(DeletedTeam $body, ?DeletedTeamsRequestBuilderPostRequestCo } /** - * Get a list of the deletedTeam objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the deletedTeam objects and their properties. * @param DeletedTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?DeletedTeamsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(DeletedTeam $body, ?DeletedTeamsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilderGetQueryParameters.php index b9cee7b8880..4e2881a2e30 100644 --- a/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the deletedTeam objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the deletedTeam objects and their properties. */ class DeletedTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php index 1639638e602..f0660166bbc 100644 --- a/src/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php index 8429a8568eb..d1b03ad34da 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -126,7 +126,7 @@ public function toPostRequestInformation(Channel $body, ?ChannelsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php index 94ccaabcc8d..0aace5d27e3 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php index 01ea6aa9b80..cc9e94010f4 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -162,7 +162,7 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -183,7 +183,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -202,7 +202,7 @@ public function toPatchRequestInformation(Channel $body, ?ChannelItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index 761993579dc..c2e861aa43f 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index f00b532d054..cc91652f938 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php index a5d49f3e6aa..775267fe433 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php index 7d8d39dca08..9ad6f71d946 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index 7fe558d2ab8..58d1d23148c 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php index 7099182b18e..21ab8aef5a3 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index b72108e1771..d8c6688d7de 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index cf6cf0d1714..39ba9d2c9d3 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php index 95ce699563b..e19170e2781 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php index 260edc61b51..7bbf0de41c8 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index 88b5ba7bb35..c7505a9bc13 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php index 1a64b90b714..6594a199d0b 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 7e995fbdf26..8233919a843 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index ff620b60347..71f326528b5 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index c42bd5a8f17..fd0d2fc999d 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 5f505640657..fd26c9771c3 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 10b6115c3ad..d117d982123 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 9874aadeb35..524b2901736 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index d7d6823694d..36c437b14a1 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 75031c6926b..6b380577d00 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 54aa3d9ad22..25eaa9991dc 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 3a7a7a26dae..39192472e05 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index b9888974c48..00f9cc8b16e 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 8a2b58dbe91..0e15ec61856 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index bfe3d5a3a3a..14b32c44f50 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index fbbcdfe8cf0..e09668e8b6c 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 1a11dd8cd0b..0bd68147680 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 1b4b56cdf69..16cf4c24cb7 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 5fe2c44e64f..2832198b34e 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 41b48aec14e..bebbfef4e09 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 6d3998b82b0..938a9d4eb02 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 46661ac4229..962e8a4bd2b 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php index fbe53546a39..349293afb4c 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index de671e4a43c..74a2b0e26ee 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 1b4eb449f08..892a7e64737 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 41856026522..8c57832dfcd 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index 00a1abbbd90..4722e2631d3 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index 0d35be397a4..ba939c6bfb2 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 906c74496d0..67b3db7a05c 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php index 955c4e887ba..e0085f02428 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index 587b21c0129..a2cb3fa46fc 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index e49a70a9133..3ae7e4ff990 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index 4949b81c581..0d880148990 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index c119e03101d..cceff9cc080 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index e522ed8d7c5..fab30c87bca 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php index f10c420ac05..8253ce0447a 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php index 4d35371f947..7d591571a65 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index b48e344ad0e..b73bf51aedb 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index eb048b4e2f2..9cd4a42910d 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php index 585a232a47f..5e59adaa6d6 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index e823eda108b..1f2830b3192 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php index 76066c9e887..edb0568debc 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php index a900484b0eb..e77d314c9b9 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.php index b7ee4a759a2..7b0abd3176d 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DeletedTeamItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DeletedTeamItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DeletedTeam $body, ?DeletedTeamItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.php b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.php index 854d5959140..5ac602259ae 100644 --- a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.php +++ b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send activity feed notifications to multiple users, in bulk. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send activity feed notifications to multiple users, in bulk. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationToRecipientsPostRequestBody $body The request body * @param SendActivityNotificationToRecipientsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationToRecipientsPostRequestBody $body, } /** - * Send activity feed notifications to multiple users, in bulk. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send activity feed notifications to multiple users, in bulk. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationToRecipientsPostRequestBody $body The request body * @param SendActivityNotificationToRecipientsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationToRecipientsPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.php b/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.php index 51c1541fc74..ca992a57c8f 100644 --- a/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.php +++ b/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?TeamsAppSettingsRequestBuilderDeleteRequestConfiguration } /** - * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. This API is available in the following national cloud deployments. + * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param TeamsAppSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?TeamsAppSettingsRequestBuilderGetRequestConfiguration $requ } /** - * Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. This API is available in the following national cloud deployments. + * Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param TeamsAppSettings $body The request body * @param TeamsAppSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TeamsAppSettingsRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. This API is available in the following national cloud deployments. + * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param TeamsAppSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?TeamsAppSettingsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. This API is available in the following national cloud deployments. + * Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param TeamsAppSettings $body The request body * @param TeamsAppSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TeamsAppSettings $body, ?TeamsAppSetti $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilderGetQueryParameters.php index 0600aee7d68..66deaf9c769 100644 --- a/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. This API is available in the following national cloud deployments. + * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. */ class TeamsAppSettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/TeamworkRequestBuilder.php b/src/Generated/Teamwork/TeamworkRequestBuilder.php index 8ca6b7d3b48..aa82ea40ed8 100644 --- a/src/Generated/Teamwork/TeamworkRequestBuilder.php +++ b/src/Generated/Teamwork/TeamworkRequestBuilder.php @@ -110,7 +110,7 @@ public function toGetRequestInformation(?TeamworkRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -129,7 +129,7 @@ public function toPatchRequestInformation(Teamwork $body, ?TeamworkRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.php b/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.php index 562b59f1640..46336d208cf 100644 --- a/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.php +++ b/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an instance of a workforceIntegration. This API is available in the following national cloud deployments. + * Delete an instance of a workforceIntegration. * @param WorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?WorkforceIntegrationItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the properties and relationships of a workforceIntegration object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a workforceIntegration object. * @param WorkforceIntegrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?WorkforceIntegrationItemRequestBuilderGetRequestConfigurati } /** - * Update the properties of a workforceIntegration object. This API is available in the following national cloud deployments. + * Update the properties of a workforceIntegration object. * @param WorkforceIntegration $body The request body * @param WorkforceIntegrationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(WorkforceIntegration $body, ?WorkforceIntegrationItemReque } /** - * Delete an instance of a workforceIntegration. This API is available in the following national cloud deployments. + * Delete an instance of a workforceIntegration. * @param WorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?WorkforceIntegrationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a workforceIntegration object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a workforceIntegration object. * @param WorkforceIntegrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?WorkforceIntegrationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a workforceIntegration object. This API is available in the following national cloud deployments. + * Update the properties of a workforceIntegration object. * @param WorkforceIntegration $body The request body * @param WorkforceIntegrationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(WorkforceIntegration $body, ?Workforce $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilderGetQueryParameters.php index 056a4f27ce8..e7f9117927a 100644 --- a/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a workforceIntegration object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a workforceIntegration object. */ class WorkforceIntegrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php b/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php index 16ac23c0513..827f998af4e 100644 --- a/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php +++ b/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of workforceIntegration objects. This API is available in the following national cloud deployments. + * Retrieve a list of workforceIntegration objects. * @param WorkforceIntegrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?WorkforceIntegrationsRequestBuilderGetRequestConfiguration } /** - * Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. This API is available in the following national cloud deployments. + * Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. * @param WorkforceIntegration $body The request body * @param WorkforceIntegrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(WorkforceIntegration $body, ?WorkforceIntegrationsRequestBu } /** - * Retrieve a list of workforceIntegration objects. This API is available in the following national cloud deployments. + * Retrieve a list of workforceIntegration objects. * @param WorkforceIntegrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?WorkforceIntegrationsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. This API is available in the following national cloud deployments. + * Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. * @param WorkforceIntegration $body The request body * @param WorkforceIntegrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(WorkforceIntegration $body, ?WorkforceI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilderGetQueryParameters.php index 2c5fec565e5..4feb1266805 100644 --- a/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of workforceIntegration objects. This API is available in the following national cloud deployments. + * Retrieve a list of workforceIntegration objects. */ class WorkforceIntegrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php index 7e6dc7b00d6..09b4264567e 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the delegatedAdminCustomer objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminCustomer objects and their properties. * @param DelegatedAdminCustomersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DelegatedAdminCustomer $body, ?DelegatedAdminCustomersReque } /** - * Get a list of the delegatedAdminCustomer objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminCustomer objects and their properties. * @param DelegatedAdminCustomersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?DelegatedAdminCustomersRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DelegatedAdminCustomer $body, ?Delegate $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilderGetQueryParameters.php index 3f291f52e9d..6576e4170b7 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the delegatedAdminCustomer objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminCustomer objects and their properties. */ class DelegatedAdminCustomersRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php index 991cc0f2041..0f4bed4ca99 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?DelegatedAdminCustomerItemRequestBuilderDeleteRequestCon } /** - * Read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminCustomer object. * @param DelegatedAdminCustomerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?DelegatedAdminCustomerItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminCustomer object. * @param DelegatedAdminCustomerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?DelegatedAdminCustomerItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(DelegatedAdminCustomer $body, ?Delegat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilderGetQueryParameters.php index 4c93cc074b3..3cf5a4eb825 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminCustomer object. */ class DelegatedAdminCustomerItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.php index 0631a73497f..5cbb6322337 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DelegatedAdminServiceManagementDetai $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DelegatedAdminServiceManagementDetailIt } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DelegatedAdminServiceManagementDetail $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.php index 19b849f81b3..318e3c5668b 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the delegatedAdminServiceManagementDetail objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminServiceManagementDetail objects and their properties. * @param ServiceManagementDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DelegatedAdminServiceManagementDetail $body, ?ServiceManage } /** - * Get a list of the delegatedAdminServiceManagementDetail objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminServiceManagementDetail objects and their properties. * @param ServiceManagementDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?ServiceManagementDetailsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DelegatedAdminServiceManagementDetail $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilderGetQueryParameters.php index eb468ed48fc..653cd570cb7 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the delegatedAdminServiceManagementDetail objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminServiceManagementDetail objects and their properties. */ class ServiceManagementDetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php index 23e66f11ce5..d470e9ece78 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the delegatedAdminRelationship objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationship objects and their properties. * @param DelegatedAdminRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?DelegatedAdminRelationshipsRequestBuilderGetRequestConfigur } /** - * Create a new delegatedAdminRelationship object. This API is available in the following national cloud deployments. + * Create a new delegatedAdminRelationship object. * @param DelegatedAdminRelationship $body The request body * @param DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DelegatedAdminRelationship $body, ?DelegatedAdminRelationsh } /** - * Get a list of the delegatedAdminRelationship objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationship objects and their properties. * @param DelegatedAdminRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?DelegatedAdminRelationshipsRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new delegatedAdminRelationship object. This API is available in the following national cloud deployments. + * Create a new delegatedAdminRelationship object. * @param DelegatedAdminRelationship $body The request body * @param DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DelegatedAdminRelationship $body, ?Dele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilderGetQueryParameters.php index 9ca2b296226..08d8c657e4e 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the delegatedAdminRelationship objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationship objects and their properties. */ class DelegatedAdminRelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php index 7096ef7593f..a0e7616a893 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the delegatedAdminAccessAssignment objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminAccessAssignment objects and their properties. * @param AccessAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?AccessAssignmentsRequestBuilderGetRequestConfiguration $req } /** - * Create a new delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Create a new delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignment $body The request body * @param AccessAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DelegatedAdminAccessAssignment $body, ?AccessAssignmentsReq } /** - * Get a list of the delegatedAdminAccessAssignment objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminAccessAssignment objects and their properties. * @param AccessAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AccessAssignmentsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Create a new delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignment $body The request body * @param AccessAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DelegatedAdminAccessAssignment $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilderGetQueryParameters.php index 05bac4668d4..b4dbd5b5ca7 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the delegatedAdminAccessAssignment objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminAccessAssignment objects and their properties. */ class AccessAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php index d1347006651..bfe41cdb292 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Delete a delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRe } /** - * Read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?DelegatedAdminAccessAssignmentItemRequestBuilderGetRequestC } /** - * Update the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Update the properties of a delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignment $body The request body * @param DelegatedAdminAccessAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(DelegatedAdminAccessAssignment $body, ?DelegatedAdminAcces } /** - * Delete a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Delete a delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?DelegatedAdminAccessAssignmentItemRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?DelegatedAdminAccessAssignmentItemReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Update the properties of a delegatedAdminAccessAssignment object. * @param DelegatedAdminAccessAssignment $body The request body * @param DelegatedAdminAccessAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(DelegatedAdminAccessAssignment $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters.php index ba442cd6415..65a662d381c 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminAccessAssignment object. */ class DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php index 3d009677dd9..757d147119d 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. This API is available in the following national cloud deployments. + * Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. * @param DelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?DelegatedAdminRelationshipItemRequestBuilderDeleteReques } /** - * Read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminRelationship object. * @param DelegatedAdminRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function get(?DelegatedAdminRelationshipItemRequestBuilderGetRequestConfi } /** - * Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. This API is available in the following national cloud deployments. + * Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. * @param DelegatedAdminRelationship $body The request body * @param DelegatedAdminRelationshipItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function patch(DelegatedAdminRelationship $body, ?DelegatedAdminRelations } /** - * Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. This API is available in the following national cloud deployments. + * Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. * @param DelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,12 +117,12 @@ public function toDeleteRequestInformation(?DelegatedAdminRelationshipItemReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminRelationship object. * @param DelegatedAdminRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -138,12 +138,12 @@ public function toGetRequestInformation(?DelegatedAdminRelationshipItemRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. This API is available in the following national cloud deployments. + * Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. * @param DelegatedAdminRelationship $body The request body * @param DelegatedAdminRelationshipItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -157,7 +157,7 @@ public function toPatchRequestInformation(DelegatedAdminRelationship $body, ?Del $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters.php index 960e7309196..7c97bb0e590 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminRelationship object. */ class DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php index 3b3bf83f265..a7a5aa1181c 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DelegatedAdminRelationshipOperationItemRequestBuilderDel } /** - * Read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminRelationshipOperation object. * @param DelegatedAdminRelationshipOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?DelegatedAdminRelationshipOperationI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminRelationshipOperation object. * @param DelegatedAdminRelationshipOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?DelegatedAdminRelationshipOperationItem } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(DelegatedAdminRelationshipOperation $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters.php index 781551cc89a..f984d3f6edb 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. + * Read the properties of a delegatedAdminRelationshipOperation object. */ class DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php index 70021cd6103..cb9a5eab7c4 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the delegatedAdminRelationshipOperation objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationshipOperation objects and their properties. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(DelegatedAdminRelationshipOperation $body, ?OperationsReque } /** - * Get a list of the delegatedAdminRelationshipOperation objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationshipOperation objects and their properties. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(DelegatedAdminRelationshipOperation $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilderGetQueryParameters.php index 8652a4a578e..6380406ea1a 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the delegatedAdminRelationshipOperation objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationshipOperation objects and their properties. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php index f96ec9292a0..9c1e8378067 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DelegatedAdminRelationshipRequestItemRequestBuilderDelet } /** - * Read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a delegatedAdminRelationshipRequest object. * @param DelegatedAdminRelationshipRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?DelegatedAdminRelationshipRequestIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a delegatedAdminRelationshipRequest object. * @param DelegatedAdminRelationshipRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?DelegatedAdminRelationshipRequestItemRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(DelegatedAdminRelationshipRequest $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters.php index af71bfcea14..177c7f48800 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a delegatedAdminRelationshipRequest object. */ class DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php index fce41d32023..d53da0ac1d3 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the delegatedAdminRelationshipRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationshipRequest objects and their properties. * @param RequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?RequestsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + * Create a new delegatedAdminRelationshipRequest object. * @param DelegatedAdminRelationshipRequest $body The request body * @param RequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(DelegatedAdminRelationshipRequest $body, ?RequestsRequestBu } /** - * Get a list of the delegatedAdminRelationshipRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationshipRequest objects and their properties. * @param RequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?RequestsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + * Create a new delegatedAdminRelationshipRequest object. * @param DelegatedAdminRelationshipRequest $body The request body * @param RequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(DelegatedAdminRelationshipRequest $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilderGetQueryParameters.php b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilderGetQueryParameters.php index a0e6db24504..770edaa2d32 100644 --- a/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the delegatedAdminRelationshipRequest objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the delegatedAdminRelationshipRequest objects and their properties. */ class RequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.php b/src/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.php index ef62d8e37ec..142f9e63f3f 100644 --- a/src/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.php +++ b/src/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FindTenantInformationByDomainNameWithDo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.php b/src/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.php index 6afa1b8d4c7..7dcc56af05f 100644 --- a/src/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.php +++ b/src/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?FindTenantInformationByTenantIdWithTena $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.php b/src/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.php index a8b13d2159a..859d0ecd702 100644 --- a/src/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.php +++ b/src/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.php @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TenantRelationshipsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TenantRelationship $body, ?TenantRelat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Delta/DeltaRequestBuilder.php index 8b015ee1062..994e080a6bb 100644 --- a/src/Generated/Users/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php b/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php index 860131a2348..b6d4c0b2727 100644 --- a/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php +++ b/src/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetAvailableExtensionPropertiesPostRequestBody $body, ?GetA } /** - * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: This API is available in the following national cloud deployments. + * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: * @param GetAvailableExtensionPropertiesPostRequestBody $body The request body * @param GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetAvailableExtensionPropertiesPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/GetByIds/GetByIdsRequestBuilder.php b/src/Generated/Users/GetByIds/GetByIdsRequestBuilder.php index f2cb50a30c3..67d8e2e8e9c 100644 --- a/src/Generated/Users/GetByIds/GetByIdsRequestBuilder.php +++ b/src/Generated/Users/GetByIds/GetByIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetByIdsPostRequestBody $body, ?GetByIdsRequestBuilderPostR } /** - * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: This API is available in the following national cloud deployments. + * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: * @param GetByIdsPostRequestBody $body The request body * @param GetByIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetByIdsPostRequestBody $body, ?GetById $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/ActivitiesRequestBuilder.php b/src/Generated/Users/Item/Activities/ActivitiesRequestBuilder.php index a5c356f207f..21c9c48fecb 100644 --- a/src/Generated/Users/Item/Activities/ActivitiesRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/ActivitiesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. This API is available in the following national cloud deployments. + * Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(UserActivity $body, ?ActivitiesRequestBuilderPostRequestCon } /** - * Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. This API is available in the following national cloud deployments. + * Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(UserActivity $body, ?ActivitiesRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php index cff78933f7e..1ca1fddddeb 100644 --- a/src/Generated/Users/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Activities/ActivitiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. This API is available in the following national cloud deployments. + * Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. */ class ActivitiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.php b/src/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.php index 847df7aeaef..c9e7e2d8920 100644 --- a/src/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?HistoryItemsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ActivityHistoryItem $body, ?HistoryItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.php b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.php index ab6ecf1efb9..10062284433 100644 --- a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ActivityRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php index 975939df9da..73db3faaa78 100644 --- a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php @@ -69,12 +69,12 @@ public function get(?ActivityHistoryItemItemRequestBuilderGetRequestConfiguratio } /** - * Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + * Create a new or replace an existing history item for an existing user activity. * @param ActivityHistoryItem $body The request body * @param ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/projectrome-delete-historyitem?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/projectrome-put-historyitem?view=graph-rest-1.0 Find more info here */ public function patch(ActivityHistoryItem $body, ?ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?ActivityHistoryItemItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,12 +120,12 @@ public function toGetRequestInformation(?ActivityHistoryItemItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + * Create a new or replace an existing history item for an existing user activity. * @param ActivityHistoryItem $body The request body * @param ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ActivityHistoryItem $body, ?ActivityHi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.php b/src/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.php index a69fe154d52..7977211929d 100644 --- a/src/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an existing user activity for your app. This API is available in the following national cloud deployments. + * Delete an existing user activity for your app. * @param UserActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function patch(UserActivity $body, ?UserActivityItemRequestBuilderPatchRe } /** - * Delete an existing user activity for your app. This API is available in the following national cloud deployments. + * Delete an existing user activity for your app. * @param UserActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?UserActivityItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toGetRequestInformation(?UserActivityItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(UserActivity $body, ?UserActivityItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.php b/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.php index ef601c5d1e8..62d5fa030ef 100644 --- a/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. This API is available in the following national cloud deployments. + * Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. * @param RecentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?RecentRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. This API is available in the following national cloud deployments. + * Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. * @param RecentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?RecentRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilderGetQueryParameters.php index c583ffdef12..e5e94bf787b 100644 --- a/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Activities/Recent/RecentRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. This API is available in the following national cloud deployments. + * Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. */ class RecentRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php b/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php index c34953f6935..b87017123fd 100644 --- a/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php +++ b/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the signed-in user's agreementAcceptance objects. This API is available in the following national cloud deployments. + * Retrieve the signed-in user's agreementAcceptance objects. * @param AgreementAcceptancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AgreementAcceptancesRequestBuilderGetRequestConfiguration $ } /** - * Retrieve the signed-in user's agreementAcceptance objects. This API is available in the following national cloud deployments. + * Retrieve the signed-in user's agreementAcceptance objects. * @param AgreementAcceptancesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AgreementAcceptancesRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php index 4329b155511..2192660b453 100644 --- a/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the signed-in user's agreementAcceptance objects. This API is available in the following national cloud deployments. + * Retrieve the signed-in user's agreementAcceptance objects. */ class AgreementAcceptancesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php b/src/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php index 45ef045c0c4..e827c79d52b 100644 --- a/src/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php +++ b/src/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?AgreementAcceptanceItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php b/src/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php index 13ab9a88205..1343761e7e5 100644 --- a/src/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php +++ b/src/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.php @@ -68,7 +68,7 @@ public function get(?AppRoleAssignmentsRequestBuilderGetRequestConfiguration $re } /** - * Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: This API is available in the following national cloud deployments. + * Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: * @param AppRoleAssignment $body The request body * @param AppRoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -101,12 +101,12 @@ public function toGetRequestInformation(?AppRoleAssignmentsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: This API is available in the following national cloud deployments. + * Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: * @param AppRoleAssignment $body The request body * @param AppRoleAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(AppRoleAssignment $body, ?AppRoleAssign $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php b/src/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php index f79f3759622..7acca99b5b0 100644 --- a/src/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an appRoleAssignment that has been granted to a user. This API is available in the following national cloud deployments. + * Delete an appRoleAssignment that has been granted to a user. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -78,7 +78,7 @@ public function patch(AppRoleAssignment $body, ?AppRoleAssignmentItemRequestBuil } /** - * Delete an appRoleAssignment that has been granted to a user. This API is available in the following national cloud deployments. + * Delete an appRoleAssignment that has been granted to a user. * @param AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?AppRoleAssignmentItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -112,7 +112,7 @@ public function toGetRequestInformation(?AppRoleAssignmentItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(AppRoleAssignment $body, ?AppRoleAssig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php index f60be882ba9..ff4cf96f193 100644 --- a/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php +++ b/src/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. This API is available in the following national cloud deployments. + * Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(AssignLicensePostRequestBody $body, ?AssignLicenseRequestBu } /** - * Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. This API is available in the following national cloud deployments. + * Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. * @param AssignLicensePostRequestBody $body The request body * @param AssignLicenseRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(AssignLicensePostRequestBody $body, ?As $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php b/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php index 4016191bbe1..f9af8da6826 100644 --- a/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php @@ -170,7 +170,7 @@ public function toDeleteRequestInformation(?AuthenticationRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -191,7 +191,7 @@ public function toGetRequestInformation(?AuthenticationRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -210,7 +210,7 @@ public function toPatchRequestInformation(Authentication $body, ?AuthenticationR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.php index 41515b25efb..ce1a7a7378b 100644 --- a/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. This API is available in the following national cloud deployments. + * Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. * @param EmailMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?EmailMethodsRequestBuilderGetRequestConfiguration $requestC } /** - * Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. This API is available in the following national cloud deployments. + * Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. * @param EmailAuthenticationMethod $body The request body * @param EmailMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(EmailAuthenticationMethod $body, ?EmailMethodsRequestBuilde } /** - * Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. This API is available in the following national cloud deployments. + * Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. * @param EmailMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?EmailMethodsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. This API is available in the following national cloud deployments. + * Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. * @param EmailAuthenticationMethod $body The request body * @param EmailMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(EmailAuthenticationMethod $body, ?Email $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilderGetQueryParameters.php index ed3af947b7b..de05bb302bf 100644 --- a/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. This API is available in the following national cloud deployments. + * Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. */ class EmailMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php index 53b54e88c35..5ebfc3295d9 100644 --- a/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a user's emailAuthenticationMethod object. This API is available in the following national cloud deployments. + * Deletes a user's emailAuthenticationMethod object. * @param EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?EmailAuthenticationMethodItemRequestBuilderDeleteRequest } /** - * Retrieve a user's single email authentication method object. This API is available in the following national cloud deployments. + * Retrieve a user's single email authentication method object. * @param EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?EmailAuthenticationMethodItemRequestBuilderGetRequestConfig } /** - * Update a user's email address represented by an emailAuthenticationMethod object. This API is available in the following national cloud deployments. + * Update a user's email address represented by an emailAuthenticationMethod object. * @param EmailAuthenticationMethod $body The request body * @param EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(EmailAuthenticationMethod $body, ?EmailAuthenticationMetho } /** - * Deletes a user's emailAuthenticationMethod object. This API is available in the following national cloud deployments. + * Deletes a user's emailAuthenticationMethod object. * @param EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?EmailAuthenticationMethodItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a user's single email authentication method object. This API is available in the following national cloud deployments. + * Retrieve a user's single email authentication method object. * @param EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?EmailAuthenticationMethodItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a user's email address represented by an emailAuthenticationMethod object. This API is available in the following national cloud deployments. + * Update a user's email address represented by an emailAuthenticationMethod object. * @param EmailAuthenticationMethod $body The request body * @param EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(EmailAuthenticationMethod $body, ?Emai $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilderGetQueryParameters.php index 87073e2e463..ff5d73adefb 100644 --- a/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a user's single email authentication method object. This API is available in the following national cloud deployments. + * Retrieve a user's single email authentication method object. */ class EmailAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php index b940ea81a76..eb05592ca82 100644 --- a/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. * @param Fido2MethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?Fido2MethodsRequestBuilderGetRequestConfiguration $requestC } /** - * Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. * @param Fido2MethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?Fido2MethodsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilderGetQueryParameters.php index 159eea016b5..02dace555e4 100644 --- a/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. */ class Fido2MethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php index d1290718390..ea3e6c2ebe9 100644 --- a/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a user's FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + * Deletes a user's FIDO2 Security Key Authentication Method object. * @param Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?Fido2AuthenticationMethodItemRequestBuilderDeleteRequest } /** - * Retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + * Retrieve a user's single FIDO2 Security Key Authentication Method object. * @param Fido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?Fido2AuthenticationMethodItemRequestBuilderGetRequestConfig } /** - * Deletes a user's FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + * Deletes a user's FIDO2 Security Key Authentication Method object. * @param Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -76,12 +76,12 @@ public function toDeleteRequestInformation(?Fido2AuthenticationMethodItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + * Retrieve a user's single FIDO2 Security Key Authentication Method object. * @param Fido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -97,7 +97,7 @@ public function toGetRequestInformation(?Fido2AuthenticationMethodItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters.php index 6638617fcaf..cc6ddb037a1 100644 --- a/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + * Retrieve a user's single FIDO2 Security Key Authentication Method object. */ class Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php index b872bb284f8..400e5ff9bd5 100644 --- a/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of an authenticationMethod object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an authenticationMethod object. * @param AuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function patch(AuthenticationMethod $body, ?AuthenticationMethodItemReque } /** - * Retrieve the properties and relationships of an authenticationMethod object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an authenticationMethod object. * @param AuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -87,7 +87,7 @@ public function toGetRequestInformation(?AuthenticationMethodItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -106,7 +106,7 @@ public function toPatchRequestInformation(AuthenticationMethod $body, ?Authentic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilderGetQueryParameters.php index 06b730787db..a6547156155 100644 --- a/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an authenticationMethod object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an authenticationMethod object. */ class AuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php b/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php index 0539d4ba5a3..51442903aa0 100644 --- a/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. This API is available in the following national cloud deployments. + * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. * @param ResetPasswordPostRequestBody $body The request body * @param ResetPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(ResetPasswordPostRequestBody $body, ?ResetPasswordRequestBu } /** - * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. This API is available in the following national cloud deployments. + * Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and can't be performed on a user's own account. This flow writes the new password to Microsoft Entra ID and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and returns a Location header with a link where the caller can periodically check for the status of the reset operation. * @param ResetPasswordPostRequestBody $body The request body * @param ResetPasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(ResetPasswordPostRequestBody $body, ?Re $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.php index ff3fe7fcc75..114e353a16b 100644 --- a/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). This API is available in the following national cloud deployments. + * Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). * @param MethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AuthenticationMethod $body, ?MethodsRequestBuilderPostReque } /** - * Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). This API is available in the following national cloud deployments. + * Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). * @param MethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?MethodsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AuthenticationMethod $body, ?MethodsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilderGetQueryParameters.php index e4280701ecd..011ce5a2183 100644 --- a/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). This API is available in the following national cloud deployments. + * Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). */ class MethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.php b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.php index e389f727f8b..12f790357f8 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeviceRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.php index ac736cd73b4..1d6267e053f 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + * Deletes a microsoftAuthenticatorAuthenticationMethod object. * @param MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?MicrosoftAuthenticatorAuthenticationMethodItemRequestBui } /** - * Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. * @param MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilde } /** - * Deletes a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + * Deletes a microsoftAuthenticatorAuthenticationMethod object. * @param MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -84,12 +84,12 @@ public function toDeleteRequestInformation(?MicrosoftAuthenticatorAuthentication $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. * @param MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -105,7 +105,7 @@ public function toGetRequestInformation(?MicrosoftAuthenticatorAuthenticationMet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters.php index 88051f7f939..96cb1fc3aad 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. */ class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php index d1d4a4e1677..b1aec650bc3 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. * @param MicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?MicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfig } /** - * Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. * @param MicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?MicrosoftAuthenticatorMethodsRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters.php index df15bf913fe..c67ac0c6a50 100644 --- a/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. */ class MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php index 9bd8dddeea3..1b2fcfed79d 100644 --- a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?LongRunningOperationItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. This API is available in the following national cloud deployments. + * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param LongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?LongRunningOperationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. This API is available in the following national cloud deployments. + * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param LongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?LongRunningOperationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(LongRunningOperation $body, ?LongRunni $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php index 62c9c34afdc..acb5086e7d2 100644 --- a/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. This API is available in the following national cloud deployments. + * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ class LongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php index 711d2608abe..bd4ac80b13b 100644 --- a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. This API is available in the following national cloud deployments. + * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(LongRunningOperation $body, ?OperationsRequestBuilderPostRe } /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. This API is available in the following national cloud deployments. + * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(LongRunningOperation $body, ?Operations $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php index 892787adca9..bee07a0d804 100644 --- a/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. This API is available in the following national cloud deployments. + * Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php index 48ab4d42cff..8dde1d02aa4 100644 --- a/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. This API is available in the following national cloud deployments. + * Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. * @param PasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?PasswordAuthenticationMethodItemRequestBuilderGetRequestCon } /** - * Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. This API is available in the following national cloud deployments. + * Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. * @param PasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?PasswordAuthenticationMethodItemRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters.php index 44c0a5c17e4..f57ae06abb4 100644 --- a/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. This API is available in the following national cloud deployments. + * Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. */ class PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php index a3a435010a5..c4a7c5346f1 100644 --- a/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. This API is available in the following national cloud deployments. + * Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. * @param PasswordMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PasswordAuthenticationMethod $body, ?PasswordMethodsRequest } /** - * Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. This API is available in the following national cloud deployments. + * Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. * @param PasswordMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PasswordMethodsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PasswordAuthenticationMethod $body, ?Pa $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilderGetQueryParameters.php index 6736d0422eb..67923287387 100644 --- a/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. This API is available in the following national cloud deployments. + * Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This API returns exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. */ class PasswordMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php index a5e77d1b9ee..3118db1c443 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. This API is available in the following national cloud deployments. + * Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. * @param DisableSmsSignInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DisableSmsSignInRequestBuilderPostRequestConfiguration $re } /** - * Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. This API is available in the following national cloud deployments. + * Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. * @param DisableSmsSignInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DisableSmsSignInRequestBuilderPostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.php b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.php index 77da9ed8bc9..15fd671f87e 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: This API is available in the following national cloud deployments. + * Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: * @param EnableSmsSignInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?EnableSmsSignInRequestBuilderPostRequestConfiguration $req } /** - * Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: This API is available in the following national cloud deployments. + * Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: * @param EnableSmsSignInRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?EnableSmsSignInRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.php index 1a7d66cc125..52395cf6404 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number. This API is available in the following national cloud deployments. + * Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number. * @param PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?PhoneAuthenticationMethodItemRequestBuilderDeleteRequest } /** - * Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + * Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. * @param PhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?PhoneAuthenticationMethodItemRequestBuilderGetRequestConfig } /** - * Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. This API is available in the following national cloud deployments. + * Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. * @param PhoneAuthenticationMethod $body The request body * @param PhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(PhoneAuthenticationMethod $body, ?PhoneAuthenticationMetho } /** - * Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number. This API is available in the following national cloud deployments. + * Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number. * @param PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?PhoneAuthenticationMethodItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + * Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. * @param PhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?PhoneAuthenticationMethodItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. This API is available in the following national cloud deployments. + * Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. * @param PhoneAuthenticationMethod $body The request body * @param PhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(PhoneAuthenticationMethod $body, ?Phon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters.php index 73e3aa3966f..33ea51bd045 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + * Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. */ class PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php index 97623d05c56..740fb655578 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + * Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. * @param PhoneMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PhoneMethodsRequestBuilderGetRequestConfiguration $requestC } /** - * Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a pre-existing mobile phone fails. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. This API is available in the following national cloud deployments. + * Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a pre-existing mobile phone fails. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. * @param PhoneAuthenticationMethod $body The request body * @param PhoneMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PhoneAuthenticationMethod $body, ?PhoneMethodsRequestBuilde } /** - * Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + * Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. * @param PhoneMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PhoneMethodsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a pre-existing mobile phone fails. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. This API is available in the following national cloud deployments. + * Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a pre-existing mobile phone fails. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. * @param PhoneAuthenticationMethod $body The request body * @param PhoneMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PhoneAuthenticationMethod $body, ?Phone $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilderGetQueryParameters.php index 2a32c5df7fe..1a5ca40e964 100644 --- a/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + * Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. */ class PhoneMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php index 236a3dd1266..20a68e99b6d 100644 --- a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a user's Software OATH token authentication method object. This API is available in the following national cloud deployments. + * Delete a user's Software OATH token authentication method object. * @param SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?SoftwareOathAuthenticationMethodItemRequestBuilderDelete } /** - * Retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. + * Retrieve a user's single Software OATH token authentication method object and its properties. * @param SoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?SoftwareOathAuthenticationMethodItemRequestBuilderGetReques } /** - * Delete a user's Software OATH token authentication method object. This API is available in the following national cloud deployments. + * Delete a user's Software OATH token authentication method object. * @param SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -76,12 +76,12 @@ public function toDeleteRequestInformation(?SoftwareOathAuthenticationMethodItem $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. + * Retrieve a user's single Software OATH token authentication method object and its properties. * @param SoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -97,7 +97,7 @@ public function toGetRequestInformation(?SoftwareOathAuthenticationMethodItemReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters.php index bae854eac7b..f9623d192fd 100644 --- a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. + * Retrieve a user's single Software OATH token authentication method object and its properties. */ class SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php index eb7d1047f09..b1e9dd10f70 100644 --- a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a user's software OATH token authentication method objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of a user's software OATH token authentication method objects and their properties. * @param SoftwareOathMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SoftwareOathMethodsRequestBuilderGetRequestConfiguration $r } /** - * Retrieve a list of a user's software OATH token authentication method objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of a user's software OATH token authentication method objects and their properties. * @param SoftwareOathMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SoftwareOathMethodsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilderGetQueryParameters.php index 21f1e2ced26..4033cf9b6b0 100644 --- a/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a user's software OATH token authentication method objects and their properties. This API is available in the following national cloud deployments. + * Retrieve a list of a user's software OATH token authentication method objects and their properties. */ class SoftwareOathMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php index 45dbc1345b4..723ac0c07e9 100644 --- a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a users's temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + * Delete a users's temporaryAccessPassAuthenticationMethod object. * @param TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TemporaryAccessPassAuthenticationMethodItemRequestBuilde } /** - * Retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + * Retrieve a user's single temporaryAccessPassAuthenticationMethod object. * @param TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?TemporaryAccessPassAuthenticationMethodItemRequestBuilderGe } /** - * Delete a users's temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + * Delete a users's temporaryAccessPassAuthenticationMethod object. * @param TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -76,12 +76,12 @@ public function toDeleteRequestInformation(?TemporaryAccessPassAuthenticationMet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + * Retrieve a user's single temporaryAccessPassAuthenticationMethod object. * @param TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -97,7 +97,7 @@ public function toGetRequestInformation(?TemporaryAccessPassAuthenticationMethod } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters.php index c2af8ffb633..91a6f2f6666 100644 --- a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + * Retrieve a user's single temporaryAccessPassAuthenticationMethod object. */ class TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php index 3d2fb9e2861..4fad8ae8600 100644 --- a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. This API is available in the following national cloud deployments. + * Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. * @param TemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TemporaryAccessPassMethodsRequestBuilderGetRequestConfigura } /** - * Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. This API is available in the following national cloud deployments. + * Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. * @param TemporaryAccessPassAuthenticationMethod $body The request body * @param TemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TemporaryAccessPassAuthenticationMethod $body, ?TemporaryAc } /** - * Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. This API is available in the following national cloud deployments. + * Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. * @param TemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TemporaryAccessPassMethodsRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. This API is available in the following national cloud deployments. + * Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. * @param TemporaryAccessPassAuthenticationMethod $body The request body * @param TemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TemporaryAccessPassAuthenticationMethod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilderGetQueryParameters.php index 3ad9815cbfb..473e3420ac4 100644 --- a/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. This API is available in the following national cloud deployments. + * Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. */ class TemporaryAccessPassMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.php b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.php index a4054117240..73f49579db7 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeviceRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.php index 52b2c66ee9f..f5e45bbca84 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + * Deletes a windowsHelloForBusinessAuthenticationMethod object. * @param WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?WindowsHelloForBusinessAuthenticationMethodItemRequestBu } /** - * Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. * @param WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?WindowsHelloForBusinessAuthenticationMethodItemRequestBuild } /** - * Deletes a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + * Deletes a windowsHelloForBusinessAuthenticationMethod object. * @param WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -84,12 +84,12 @@ public function toDeleteRequestInformation(?WindowsHelloForBusinessAuthenticatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. * @param WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -105,7 +105,7 @@ public function toGetRequestInformation(?WindowsHelloForBusinessAuthenticationMe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters.php index 606c9ca36ff..75f4a4b0543 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. */ class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php index 8c4f94a02e3..4230c154c55 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. * @param WindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?WindowsHelloForBusinessMethodsRequestBuilderGetRequestConfi } /** - * Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. * @param WindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?WindowsHelloForBusinessMethodsRequestBu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters.php index bc8558a171f..631b23615b3 100644 --- a/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. */ class WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php b/src/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php index a2c6818fce7..2b74e769504 100644 --- a/src/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?AllowedCalendarSharingRolesWithUserRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php index 274493efda0..d92f5776439 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarPermissionsRequestBuilderGetRequestConfiguration $r } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CalendarPermission $body, ?CalendarPermissionsRequestBuilde } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CalendarPermission $body, ?CalendarPerm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index b1392ba8b5c..519ccf328a8 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. */ class CalendarPermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index c4b87304535..9f1b131348c 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CalendarPermissionItemRequestBuilderDeleteRequestConfigu } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?CalendarPermissionItemRequestBuilderGetRequestConfiguration } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(CalendarPermission $body, ?CalendarPermissionItemRequestBu } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?CalendarPermissionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(CalendarPermission $body, ?CalendarPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index f8b8e197e53..7b4185fa658 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. */ class CalendarPermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php index 100ba859c2e..68bbb61f143 100644 --- a/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php @@ -73,7 +73,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: This API is available in the following national cloud deployments. + * Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: * @param CalendarRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -89,7 +89,7 @@ public function get(?CalendarRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Calendar $body The request body * @param CalendarRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -106,7 +106,7 @@ public function patch(Calendar $body, ?CalendarRequestBuilderPatchRequestConfigu } /** - * Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: This API is available in the following national cloud deployments. + * Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: * @param CalendarRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Calendar $body The request body * @param CalendarRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(Calendar $body, ?CalendarRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index b6e0b2b1155..128488390bf 100644 --- a/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: This API is available in the following national cloud deployments. + * Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: */ class CalendarRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php index 23942ed45ad..dab0b12376e 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php index 908fcec7948..a424c3cc669 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php index ae527a514ab..7dc18904ade 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php index 298cb1fa9e1..80231b94f57 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 6287bb8e845..f85e02cbf4c 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 5c934eee70a..83505199619 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index a3419a2dadc..8920d38f341 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php index ed1637010a0..e9e1bd5261b 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php index b8a62c31e2e..73110fc5bea 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php index fd50e8dfd2a..60549391649 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php index 0422f8944df..3b0c10d7832 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php index ffc2f2df8c5..4e30ee2b2e5 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php index 82f83335aa3..ffc458008e4 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php @@ -150,7 +150,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index 0023419bad2..7d135a93548 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 5fa28872b7b..16e268b3ca6 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 376480f7826..9e7eaedcdf4 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index b3ea0220567..25377871a46 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php index 11042d63b45..dde90dada93 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php index c0db236c0a4..200e35c67af 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 62a01b27286..db804782bc4 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php index 693fd135afb..5acc9f0757e 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php index ced794d5a33..81251de9d96 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 5a242518211..57ea644da04 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 4fff3690c26..a44a5513f4f 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 03df89015ba..3874cee712f 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 40b5a8f050e..0ddce4ef81b 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 8f3134dd4ff..2b8484b5d40 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 5b7e13a4916..c5d578054cf 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php index b4fb2d77707..207bfdaa474 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 48de71beef9..24604753179 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 0070e973145..83acd442cc2 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 9b436c39687..4b7673fa528 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index ff65c125d2f..a8eb2c2e9bf 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 2b08ad092c0..1b6f7692fb7 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 6a10a1f5402..1286be82db6 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 1155ce464ba..4422b53ea69 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 655ed6cb8a6..451262823e2 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index e1785baacde..9e7aea6a65e 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 4ef1f69cf14..1b12d4de104 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 05b95adf9cd..658e9aaef6d 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.php index 32e3e5c2372..4bc40c91702 100644 --- a/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php index 6bba305fa51..47d0971e5f9 100644 --- a/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php index 0a218ca97f3..4623e1d3db6 100644 --- a/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Event $body, ?EventsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php index b05cb212c41..f6f814467d3 100644 --- a/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/EventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. */ class EventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php index 7a1ad666ef1..3bca9bb9d84 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php index 5ca1c15230b..db8dc3d46da 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index cd4694c51e6..71f27e0cbc0 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 5a5c4049659..bfc58651f0e 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 675aed99a9d..8fdda10e4a4 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php index ec040a67105..7354032817d 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php index a11bb21158a..5462e365cb5 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php index c0865207787..ac3f281568c 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php index b81f043803a..ddec3f90588 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.php index fd456564602..b5a1f170320 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.php @@ -149,7 +149,7 @@ public function get(?EventItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -179,7 +179,7 @@ public function toDeleteRequestInformation(?EventItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -200,12 +200,12 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -219,7 +219,7 @@ public function toPatchRequestInformation(Event $body, ?EventItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php index 420ed89ce2b..e87bbbc1782 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 3031e057cbc..7c3ffd07cb8 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 4ee2c81227c..95e454cab81 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 8a6deea59dd..32c3af1f5b5 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php index a1886899ab4..6e64b741400 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php index 73cad45a7c9..9453d666104 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 3175cbdaeb7..7e558c29904 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php index d635aca29c3..41011ad9a69 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 1d325e324e5..bbc8aac1253 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 8401a93f22f..a82597abf90 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 75dc6a46242..beb1306d13f 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 0d546dc7010..f2e00c17e21 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 6c7c905656b..cb5eaab474e 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 70c907cf0b0..b0c8192e007 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 533cc6e37a7..ebcdfdb99ed 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php index 652add23852..231995897fd 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index d928c3d1bbe..a8d52976208 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php index 8b031026f91..994e7c949b7 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 3418ea8fc87..217a8b199e1 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index a303d05c276..305c9cec8f9 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 3a033dd358c..62b3af5493c 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index e54a448a699..4e4c569b6b8 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index f8e243d63aa..d51deada447 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index de749522eb2..ca08280edfe 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index d1601d74ee2..3b0da26ebb6 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 4094c66e7fe..38bd43343bd 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 4487fdc5dd0..6420a3119a1 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php b/src/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php index 710b991e3bc..606fa03156e 100644 --- a/src/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetSchedulePostRequestBody $body, ?GetScheduleRequestBuilde } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetSchedulePostRequestBody $body, ?GetS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php index 84d17a48036..5d5c27f6ff7 100644 --- a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the user's calendar groups. This API is available in the following national cloud deployments. + * Get the user's calendar groups. * @param CalendarGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarGroupsRequestBuilderGetRequestConfiguration $reques } /** - * Use this API to create a new CalendarGroup. This API is available in the following national cloud deployments. + * Use this API to create a new CalendarGroup. * @param CalendarGroup $body The request body * @param CalendarGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CalendarGroup $body, ?CalendarGroupsRequestBuilderPostReque } /** - * Get the user's calendar groups. This API is available in the following national cloud deployments. + * Get the user's calendar groups. * @param CalendarGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarGroupsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new CalendarGroup. This API is available in the following national cloud deployments. + * Use this API to create a new CalendarGroup. * @param CalendarGroup $body The request body * @param CalendarGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CalendarGroup $body, ?CalendarGroupsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php index 1e1bcc80e41..572228b05e8 100644 --- a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the user's calendar groups. This API is available in the following national cloud deployments. + * Get the user's calendar groups. */ class CalendarGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php index aad659fafe5..f669fa64064 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a calendar group other than the default calendar group. This API is available in the following national cloud deployments. + * Delete a calendar group other than the default calendar group. * @param CalendarGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?CalendarGroupItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a calendar group object. * @param CalendarGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?CalendarGroupItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of calendargroup object. This API is available in the following national cloud deployments. + * Update the properties of calendargroup object. * @param CalendarGroup $body The request body * @param CalendarGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(CalendarGroup $body, ?CalendarGroupItemRequestBuilderPatch } /** - * Delete a calendar group other than the default calendar group. This API is available in the following national cloud deployments. + * Delete a calendar group other than the default calendar group. * @param CalendarGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?CalendarGroupItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a calendar group object. * @param CalendarGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?CalendarGroupItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of calendargroup object. This API is available in the following national cloud deployments. + * Update the properties of calendargroup object. * @param CalendarGroup $body The request body * @param CalendarGroupItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(CalendarGroup $body, ?CalendarGroupIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php index 703006a1521..2d0654d315a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a calendar group object. */ class CalendarGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php index 06c1dee076e..a065abefcc3 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of calendars belonging to a calendar group. This API is available in the following national cloud deployments. + * Retrieve a list of calendars belonging to a calendar group. * @param CalendarsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarsRequestBuilderGetRequestConfiguration $requestConf } /** - * Use this API to create a new calendar in a calendar group for a user. This API is available in the following national cloud deployments. + * Use this API to create a new calendar in a calendar group for a user. * @param Calendar $body The request body * @param CalendarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Calendar $body, ?CalendarsRequestBuilderPostRequestConfigur } /** - * Retrieve a list of calendars belonging to a calendar group. This API is available in the following national cloud deployments. + * Retrieve a list of calendars belonging to a calendar group. * @param CalendarsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new calendar in a calendar group for a user. This API is available in the following national cloud deployments. + * Use this API to create a new calendar in a calendar group for a user. * @param Calendar $body The request body * @param CalendarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Calendar $body, ?CalendarsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php index 75e991cab18..505be6a1675 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of calendars belonging to a calendar group. This API is available in the following national cloud deployments. + * Retrieve a list of calendars belonging to a calendar group. */ class CalendarsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php index 0ea80c0ae8c..425286044a9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?AllowedCalendarSharingRolesWithUserRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php index 7698ef0407b..d07128b6f9e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php @@ -132,7 +132,7 @@ public function toDeleteRequestInformation(?CalendarItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -153,7 +153,7 @@ public function toGetRequestInformation(?CalendarItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -172,7 +172,7 @@ public function toPatchRequestInformation(Calendar $body, ?CalendarItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php index e9963aa9643..2bace73b97f 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarPermissionsRequestBuilderGetRequestConfiguration $r } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CalendarPermission $body, ?CalendarPermissionsRequestBuilde } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CalendarPermission $body, ?CalendarPerm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index 328fa51e90e..af1b3c38c7a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. */ class CalendarPermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index dc46d7d3896..726d3db23e2 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CalendarPermissionItemRequestBuilderDeleteRequestConfigu } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?CalendarPermissionItemRequestBuilderGetRequestConfiguration } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(CalendarPermission $body, ?CalendarPermissionItemRequestBu } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?CalendarPermissionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(CalendarPermission $body, ?CalendarPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index 6aeac019ab8..af3cad46cb9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. */ class CalendarPermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php index 60385ab4a97..f52a8f12a81 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. This API is available in the following national cloud deployments. + * Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. * @param CalendarViewRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?CalendarViewRequestBuilderGetRequestConfiguration $requestC } /** - * Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. This API is available in the following national cloud deployments. + * Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. * @param CalendarViewRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php index 2ec429a7db0..e24c5454f34 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. This API is available in the following national cloud deployments. + * Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. */ class CalendarViewRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php index e509f5b48d2..feb826b6108 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php index c775b05b47d..583c0662e92 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index a185f552264..216a34d4fc8 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 26fa8dde9c6..92e4eeb267a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 28d2933dfff..8266728532a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 219c9fb6b62..42b29f0bf52 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php index bcee0e19885..1aff5c8a57a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index 2f649bacd3b..f1a373981c9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php index c9f4cb245d9..8f15b072fbe 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php index 552003d1f5a..a6b0ed11a88 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php index f77b26c65fe..8f95ea7b000 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php index dc2d7361f34..319bdba1752 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -150,7 +150,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index b51e3dc49d0..5b50f5da0b6 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 8e64e7bc1fc..96ea3fbba43 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 5410a1abe4d..cb4f79e7120 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index a0139a3b2cf..607fd03bab2 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index 75f70e7825f..0983a925a52 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php index 0640ea36d41..9013ecbdc24 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 9bc1419c433..54ce9fe28c8 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index e099630405e..b3a2d61bd49 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 6752d40dd9b..e5b1a559470 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index a0289de18f6..c77d2eb87f7 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 5211ccd6343..72a60b8d299 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 3ce1532435b..64e7f337d6c 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index dabb9d5d001..e93a5c9113b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 3ea40fb8994..4ee51ac4cdc 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 2b3fbebd837..58be7961874 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php index 87efb60ed69..3bf70f7248b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index bc4b01c5963..31b9d704119 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 5d7d93458dd..659035cdebc 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index a221f166fe0..75dcfe224b5 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index b3782e09457..62c2e9e431e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index bc096b9db92..2440682601f 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 1a3ccea1141..9a3e2b61f90 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 1d4d2c165a0..b1126be976e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 7a1b4cecb24..bf1ff8e8acf 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index ea6c14ecc12..c5943c40645 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 6663aafce92..863042159ff 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index d9bf6d8e7aa..25d1fa25fc7 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php index d03271acb92..e5ef020d13e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php index 77c51ee5005..d41698d9c84 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php index e9373d33c20..2e05ed5fe42 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Event $body, ?EventsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php index cd3071661c2..eb9ca549213 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. */ class EventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php index 55e76e88370..cc9fe0c194d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index ef502c59c79..6e34e551593 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index d4193fd2af6..3a63f2f0e61 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 814193ea6ae..ecce46c4931 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php index c8068ea5f85..a3dee487642 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php index 76d4df39dd0..92df8aef605 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php index 2683b9da2e6..f0b2b2e07fa 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php index 28318749a0f..7ca5a9accd1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php index d835c4c14ae..63a096c437f 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php index 47cdae34920..5ed7067e16d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php @@ -149,7 +149,7 @@ public function get(?EventItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -179,7 +179,7 @@ public function toDeleteRequestInformation(?EventItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -200,12 +200,12 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -219,7 +219,7 @@ public function toPatchRequestInformation(Event $body, ?EventItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index 87b86df3ae4..558878e404b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 92e39eafca2..e899401d12d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 9801a3efb41..56aee40e1db 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 91ec68d758d..748ae62f3ae 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php index b058017e5a3..82e4b7f0e98 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php index 4b6be8f9da5..1999efcb1e4 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index e5557cae84a..3545670f74e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php index 4c0aa6ae56a..37585bea71c 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 6f4b0174cb7..84fcfa77f02 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 3c7148c3ab9..4de706d65a2 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 9e926c30c80..c38d73bfa28 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 5544dcd0410..f65ffb24e7b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 5f1868d6157..c89112999ea 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index efa648bcf1c..0f8c3942e76 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php index b347cfabc43..e9f7eccd013 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php index eaeb8ab573c..93ebdc03ef5 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 15377fc95c2..5dee5a4da2a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index fd838513878..ec98f152f6c 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 3e39bf87689..dc0074422a3 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 538a370fed4..5ac5ff468d3 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index c4f00041b17..9d26c3d744d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index a6894d44b33..bc1694aaddd 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 5641b97ce07..1045b8928ff 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index a3f02456c5e..ad48a1d5d19 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 20746b2d1d1..56ef56c1958 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 2cf097cdfd0..fc35966f5b0 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 33566969c26..d500ef75402 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php index c9f25e3eaa3..d7778900ac1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetSchedulePostRequestBody $body, ?GetScheduleRequestBuilde } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetSchedulePostRequestBody $body, ?GetS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.php index 3139c74623c..63c61d09a81 100644 --- a/src/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.php index 93dcfd5ca6c..33e53bb92fb 100644 --- a/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php index 97f293a7657..ec5803234c7 100644 --- a/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index 959aaddc230..20ebaee6361 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 8576d720ff0..af70ae4a49a 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 10aaf6a4358..2daf8c8b843 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index be1e80d58b7..3ed505c526c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 99fbdb1a25f..a29f48dfc26 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index 9619f4f559d..0ac015aae6c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php index 93b2ca1dffe..ac4040995a2 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php index e29afefe733..cacfa630aba 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php index 9956da55011..9312a61eb10 100644 --- a/src/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.php index 88f436175b8..98c387018ee 100644 --- a/src/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -150,7 +150,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index f3ea2d5634e..eca6fc62cc6 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 3fd3e171afb..d00e994bfce 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index aba4074a8d2..7bc8a39182f 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 0e1870e6716..8147e645683 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index 04c0526414a..8d1262a88b2 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php index 0d9f5016940..e1107aa9bfb 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index 725a7f2b9ed..2919d4d5ff9 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index ae94fef00ba..6b7a812509c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php index daa92ab1f8f..d54fcfe4abc 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 1883a9c8c81..3e6f996521e 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 7866dd56339..3d83d1899fd 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6922e53ce78..b3d65376e57 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 7288c6c2d06..464f0f38e20 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 599541f25a2..c3f222db40b 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 9ef70aa33dc..ac641735bfc 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php index f32bef8c64c..db322e581f8 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 26746862781..8a11bc0acb3 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 74b34185444..51f272c543e 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index cd40aaae5b7..eb938b12b32 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index f81f3757cec..bff187331df 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 839e1f80897..7591c74a44c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index d9eb1e90ef2..1595512a84a 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 91aaf8b94f9..7531167380b 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 8dee9412a7b..6dc2a099ecd 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index b93e602d631..a0fa76d1c3c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 7b20febaa1b..04e70ae4cb0 100644 --- a/src/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index d61c2a0cdf8..9d92787dde7 100644 --- a/src/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php index 3a3a0ea7cb3..218155b9b76 100644 --- a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. This API is available in the following national cloud deployments. + * Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. * @param CalendarsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarsRequestBuilderGetRequestConfiguration $requestConf } /** - * Create a new calendar for a user. This API is available in the following national cloud deployments. + * Create a new calendar for a user. * @param Calendar $body The request body * @param CalendarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Calendar $body, ?CalendarsRequestBuilderPostRequestConfigur } /** - * Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. This API is available in the following national cloud deployments. + * Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. * @param CalendarsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarsRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new calendar for a user. This API is available in the following national cloud deployments. + * Create a new calendar for a user. * @param Calendar $body The request body * @param CalendarsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Calendar $body, ?CalendarsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php index 7e8973c4bc2..a63993458ac 100644 --- a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. This API is available in the following national cloud deployments. + * Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. */ class CalendarsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php index cf4e5ed682f..cbdf7508637 100644 --- a/src/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?AllowedCalendarSharingRolesWithUserRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.php index 8d537c366b8..51329c519a0 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.php @@ -132,7 +132,7 @@ public function toDeleteRequestInformation(?CalendarItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -153,7 +153,7 @@ public function toGetRequestInformation(?CalendarItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -172,7 +172,7 @@ public function toPatchRequestInformation(Calendar $body, ?CalendarItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php index 28ce554827b..898dbf3383b 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?CalendarPermissionsRequestBuilderGetRequestConfiguration $r } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(CalendarPermission $body, ?CalendarPermissionsRequestBuilde } /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. * @param CalendarPermissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?CalendarPermissionsRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + * Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. * @param CalendarPermission $body The request body * @param CalendarPermissionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(CalendarPermission $body, ?CalendarPerm $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index 0e8712f2e29..80732fb3382 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. This API is available in the following national cloud deployments. + * Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. */ class CalendarPermissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index 5cc87c19713..965569b6068 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?CalendarPermissionItemRequestBuilderDeleteRequestConfigu } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?CalendarPermissionItemRequestBuilderGetRequestConfiguration } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(CalendarPermission $body, ?CalendarPermissionItemRequestBu } /** - * Delete calendarPermission. This API is available in the following national cloud deployments. + * Delete calendarPermission. * @param CalendarPermissionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?CalendarPermissionItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. * @param CalendarPermissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?CalendarPermissionItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + * Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. * @param CalendarPermission $body The request body * @param CalendarPermissionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(CalendarPermission $body, ?CalendarPer $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index 68d86d9b01f..03a88c993c4 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + * Get the specified permissions object of a user or group calendar that has been shared. */ class CalendarPermissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php index 5e7b2fe5076..0f6cb3cb40a 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CalendarViewRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php index e28cc0803cc..fc21b2d0aa9 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php index 3d5d5c300e4..4cafc42fbf4 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php index 44a51f9982f..599db674e56 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 553f3b01b56..673e4ae5917 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index baf223093ed..14213ca6fe5 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index b8f654e0a88..5c599dad012 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 2f97d445b03..a0654d694e4 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index 332c316b33c..bb013d0a1ad 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php index b225f52e388..3d185fe8042 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php index f03d3b3bb45..125a6ad543c 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php index f40d705799e..51871e604f7 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php index a7cd7480ce2..b6a90e9eb4f 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -150,7 +150,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index ca00f0dcfa2..f098852ed74 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 3f9b0abec73..95a3d15086b 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 2a431c364d4..c3a27710680 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 01704357d3d..a794518fae8 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php index d0bab34f1bc..3de180fb4df 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php index dbc5f8f454c..2f4e588391f 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index d80c43c9b2d..4244f8231d1 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index 695d8ed396a..bdae36768ac 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 406ac6b1acf..c8ece67d9bd 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 59527c3e026..60a775d9885 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 2e17ee42503..e704c6a3ca3 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 9ae2fd4db23..ba51268ce4d 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index ba6a5e2bf32..bc595f32d90 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index c05eb6b6292..8ca8c800056 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php index dac841db500..2eeaf27ba33 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php index f428660734c..c2feb5187e6 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 4fd5fa8939e..8e031a950e3 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 7ed2639e62e..c12fb16684b 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index e2b56be05e9..598d3bcdf7c 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 9a186658b77..69c215e7c29 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index bde6fe70c11..b8f603b8740 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index e993b07f0df..fc5762013e9 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php index e09735b7535..7409618f22f 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index fbadfc079c3..8ea58c56dcf 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 4bcceec4017..70b207de3df 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index ce295d1fc89..e5ea07b8f2a 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index b69826def44..e2d739c11b0 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php index b06b391dd78..0a0ff436fa1 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php index c075f122439..c207a165180 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php index c85a02bb3e9..b86ccd3ce66 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration } /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + * Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Event $body, ?EventsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php index c79cdf220e4..06355d22632 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. This API is available in the following national cloud deployments. + * Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. */ class EventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php index 302f82110eb..2056a8114c1 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index b75938ddd0b..f695d88c9e7 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index f6c467cbb3c..4e90b4e6bf2 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index f7eaeb9ea83..0d0cf403a5c 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php index af25671ce92..49fd9b0263f 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php index ad48110eeab..8dd09270247 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php index 8ea3e5e27c8..618970f376b 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php index 02a33af92fa..dd74e0e61f6 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php index 76242096cc2..35c4adb8dd9 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php index 73455432f0a..b7eed9d6836 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.php @@ -149,7 +149,7 @@ public function get(?EventItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -179,7 +179,7 @@ public function toDeleteRequestInformation(?EventItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -200,12 +200,12 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update an event object. This API is available in the following national cloud deployments. + * Update an event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -219,7 +219,7 @@ public function toPatchRequestInformation(Event $body, ?EventItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index c2e6a1d6500..c2673563298 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 3cf7dd8115e..4c8e13fd9ae 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 339d9d66010..768306b7747 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 1bd6911747e..252b7abb181 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php index 34c1b9db0da..7bad419fc98 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php index ce0516189c0..7f2cfec490b 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index a0317a3e1f2..cd16cd7f974 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php index 01468c8f338..5c722a1c14a 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php index 674b328b8ec..098d81d5d88 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 95be5af70a6..a9fdf8c3518 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index f935254c8e8..b9c4fae2baf 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 0784b89383a..4a2f37b871e 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 6d4bf76ce38..fb3b7496f52 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 454b96724c0..de48bbc8f2f 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php index a34ed822a5c..d6f333c7d78 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php index 0a9b85a00a2..9e6cce0580b 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index 4619be85558..a740dc66f00 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index 6ade4034f98..060e12c7a80 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 832dc5dbcbf..d51bd11d20e 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index e0d487c2929..4a704ba5239 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 235ddee133d..414a8aec883 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 4b9e63273c7..aaf11e4c635 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 770747b6102..fba2ab23b3c 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index f268af36ba3..8adf2e76ddb 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 4df994072c2..27bc6c613c0 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 77599d001d4..0774d45466c 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index ea2852538b2..d99ef098d60 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php index 481630e3393..0571f2bbdab 100644 --- a/src/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetSchedulePostRequestBody $body, ?GetScheduleRequestBuilde } /** - * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + * Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. * @param GetSchedulePostRequestBody $body The request body * @param GetScheduleRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetSchedulePostRequestBody $body, ?GetS $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.php b/src/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.php index c4215adde48..97c72c45033 100644 --- a/src/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.php +++ b/src/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Enable the user to update their password. Any user can update their password without belonging to any administrator role. This API is available in the following national cloud deployments. + * Enable the user to update their password. Any user can update their password without belonging to any administrator role. * @param ChangePasswordPostRequestBody $body The request body * @param ChangePasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ChangePasswordPostRequestBody $body, ?ChangePasswordRequest } /** - * Enable the user to update their password. Any user can update their password without belonging to any administrator role. This API is available in the following national cloud deployments. + * Enable the user to update their password. Any user can update their password without belonging to any administrator role. * @param ChangePasswordPostRequestBody $body The request body * @param ChangePasswordRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ChangePasswordPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php b/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php index 2f99964bfbc..44a98877f18 100644 --- a/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/ChatsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. * @param ChatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Chat $body, ?ChatsRequestBuilderPostRequestConfiguration $r } /** - * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. * @param ChatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?ChatsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Chat $body, ?ChatsRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/ChatsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/ChatsRequestBuilderGetQueryParameters.php index 371c8d826c2..a20f5d5042f 100644 --- a/src/Generated/Users/Item/Chats/ChatsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/ChatsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + * Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. */ class ChatsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php index 427c8634997..bb8cf93af34 100644 --- a/src/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php index a04acd95ea9..1d582a1d772 100644 --- a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php @@ -142,7 +142,7 @@ public function delete(?ChatItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. * @param ChatItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -187,12 +187,12 @@ public function toDeleteRequestInformation(?ChatItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. * @param ChatItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -208,7 +208,7 @@ public function toGetRequestInformation(?ChatItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -227,7 +227,7 @@ public function toPatchRequestInformation(Chat $body, ?ChatItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php index e0a3c20f12a..b481b73500e 100644 --- a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + * Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. */ class ChatItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php index 41fc8cbb5c0..1359ab7fbe1 100644 --- a/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Hide a chat for a user. This API is available in the following national cloud deployments. + * Hide a chat for a user. * @param HideForUserPostRequestBody $body The request body * @param HideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(HideForUserPostRequestBody $body, ?HideForUserRequestBuilde } /** - * Hide a chat for a user. This API is available in the following national cloud deployments. + * Hide a chat for a user. * @param HideForUserPostRequestBody $body The request body * @param HideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(HideForUserPostRequestBody $body, ?Hide $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php index 57bd7c60660..cb9a6171ce5 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all app installations within a chat. This API is available in the following national cloud deployments. + * List all app installations within a chat. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?InstalledAppsRequestBuilderGetRequestConfiguration $request } /** - * Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + * Install a teamsApp to the specified chat. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsAppInstallation $body, ?InstalledAppsRequestBuilderPos } /** - * List all app installations within a chat. This API is available in the following national cloud deployments. + * List all app installations within a chat. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + * Install a teamsApp to the specified chat. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsAppInstallation $body, ?InstalledA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php index f9cb11f28d7..bf123d7eb7b 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all app installations within a chat. This API is available in the following national cloud deployments. + * List all app installations within a chat. */ class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php index 85c4529e337..99ea9cf6a90 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php index 23749ac778d..a3edcf37b84 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php index 4b5985feb66..2798bab75da 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + * Uninstall an app installed within a chat. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TeamsAppInstallationItemRequestBuilderDeleteRequestConfi } /** - * Get an app installed in a chat. This API is available in the following national cloud deployments. + * Get an app installed in a chat. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(TeamsAppInstallation $body, ?TeamsAppInstallationItemReque } /** - * Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + * Uninstall an app installed within a chat. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?TeamsAppInstallationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an app installed in a chat. This API is available in the following national cloud deployments. + * Get an app installed in a chat. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?TeamsAppInstallationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(TeamsAppInstallation $body, ?TeamsAppI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php index 267aa3afcff..c6cb7012a50 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an app installed in a chat. This API is available in the following national cloud deployments. + * Get an app installed in a chat. */ class TeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index c323fac3a3e..1945819f8fd 100644 --- a/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UpgradePostRequestBody $body, ?UpgradeRequestBuilderPostReq } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpgradePostRequestBody $body, ?UpgradeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php index 0da2a93e419..605979f52fd 100644 --- a/src/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?LastMessagePreviewRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?LastMessagePreviewRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ChatMessageInfo $body, ?LastMessagePre $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php index ad106932b12..a9b0904b6df 100644 --- a/src/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a chat as read for a user. This API is available in the following national cloud deployments. + * Mark a chat as read for a user. * @param MarkChatReadForUserPostRequestBody $body The request body * @param MarkChatReadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(MarkChatReadForUserPostRequestBody $body, ?MarkChatReadForU } /** - * Mark a chat as read for a user. This API is available in the following national cloud deployments. + * Mark a chat as read for a user. * @param MarkChatReadForUserPostRequestBody $body The request body * @param MarkChatReadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(MarkChatReadForUserPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php index 60ac1285771..dd449432f4a 100644 --- a/src/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a chat as unread for a user. This API is available in the following national cloud deployments. + * Mark a chat as unread for a user. * @param MarkChatUnreadForUserPostRequestBody $body The request body * @param MarkChatUnreadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(MarkChatUnreadForUserPostRequestBody $body, ?MarkChatUnread } /** - * Mark a chat as unread for a user. This API is available in the following national cloud deployments. + * Mark a chat as unread for a user. * @param MarkChatUnreadForUserPostRequestBody $body The request body * @param MarkChatUnreadForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(MarkChatUnreadForUserPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.php index a1b22c3b258..5da1bf95f73 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index bbaab90fbea..6d22c03065e 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + * Remove a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,11 +47,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -79,7 +79,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + * Remove a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 71eff129186..d7b88b4d16a 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat or channel. This API is available in the following national cloud deployments. + * Retrieve a conversationMember from a chat. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php index da9d56510df..17b1ac047f6 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all conversation members in a chat or channel. This API is available in the following national cloud deployments. + * List all conversation members in a chat or channel. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a chat. This API is available in the following national cloud deployments. + * Add a conversationMember to a chat. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * List all conversation members in a chat or channel. This API is available in the following national cloud deployments. + * List all conversation members in a chat or channel. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a chat. This API is available in the following national cloud deployments. + * Add a conversationMember to a chat. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php index 640d88b8e65..e442da2cecc 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all conversation members in a chat or channel. This API is available in the following national cloud deployments. + * List all conversation members in a chat or channel. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php index 2d1e187ef8f..e22bbcbaa58 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php index 7106e5bf4d4..38ddc866bb9 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -139,12 +139,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -160,7 +160,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -179,7 +179,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 32afdb1862b..3305a4b1520 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 7e95b014738..6a9f2ab05d4 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 0b42e319c92..e92ed876efd 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index de7890ba923..58eb7f2d4a2 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 86e86d41574..14ba6e5fca0 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index f99c00487bc..eba12e3b1cd 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 988a8a6ba9e..89305f83bac 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index ff7ed92a25a..0af39b2c2c2 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 4df5b4449f3..0c1b0125fe5 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 02a49d94c1e..7c8a9477fb0 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 43e614ff9f1..3e1bd6e642b 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index d931f1d78db..4820b490871 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 0642baca9f1..dfa222a330b 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 899789b3277..cc416018dd6 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index e29963bad5c..9da7030b2b7 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index b5ffaa9d14f..92e42610058 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index f4993efd242..bebd24bb367 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 9821599049a..b74688ad1bf 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php index fe1daa430b8..a136a3c54e6 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index f3dd36dcc2c..ae1d00dd72d 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php index 8fe562fffa8..a594e2a8713 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index 182b126341d..725d0a537ec 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 363566b71c8..e8841361674 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index e965fdd2410..bfa8c11ee3e 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.php index 39371c8eeef..6dd4efcd457 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index 5f47b9c01a3..a14177aae2c 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index a9a64ead911..f0bf68a7a2f 100644 --- a/src/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php index c21cc7dcd69..92ebdc9339b 100644 --- a/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ResourceSpecificPermissionGrant $body, ?PermissionGrantsReq } /** - * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php index d71ab8a0c3b..a9bf05ee1aa 100644 --- a/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. */ class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php index fd3e6f8b4ba..fc90e71c69c 100644 --- a/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?MessageRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php index fcb0c5a49dd..0b5f105eed8 100644 --- a/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unpin a message from a chat. This API is available in the following national cloud deployments. + * Unpin a message from a chat. * @param PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function patch(PinnedChatMessageInfo $body, ?PinnedChatMessageInfoItemReq } /** - * Unpin a message from a chat. This API is available in the following national cloud deployments. + * Unpin a message from a chat. * @param PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?PinnedChatMessageInfoItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toGetRequestInformation(?PinnedChatMessageInfoItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(PinnedChatMessageInfo $body, ?PinnedCh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php index 1a18ab332e7..16e655f8735 100644 --- a/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + * Get a list of pinnedChatMessages in a chat. * @param PinnedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PinnedMessagesRequestBuilderGetRequestConfiguration $reques } /** - * Pin a chat message 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 you can pin a chat message. This API is available in the following national cloud deployments. + * Pin a chat message 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 you can pin a chat message. * @param PinnedChatMessageInfo $body The request body * @param PinnedMessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(PinnedChatMessageInfo $body, ?PinnedMessagesRequestBuilderP } /** - * Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + * Get a list of pinnedChatMessages in a chat. * @param PinnedMessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PinnedMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Pin a chat message 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 you can pin a chat message. This API is available in the following national cloud deployments. + * Pin a chat message 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 you can pin a chat message. * @param PinnedChatMessageInfo $body The request body * @param PinnedMessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(PinnedChatMessageInfo $body, ?PinnedMes $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php index 35541bff66f..2e639ef7faa 100644 --- a/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + * Get a list of pinnedChatMessages in a chat. */ class PinnedMessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index 0c0a5e2209b..040dd9e1b03 100644 --- a/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationPostRequestBody $body, ?SendActivit } /** - * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index ffeda992d1e..f8880c10d6f 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php index 793a85aa500..0952265b342 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + * Remove (unpin) a tab from the specified chat. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a chat. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + * Remove (unpin) a tab from the specified chat. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a chat. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index e232a666f52..b0e48b126c5 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a chat. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php index 48a88a958c5..e06ecdf44b3 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified chat. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified chat. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php index 1bd180ff645..bad901cffa7 100644 --- a/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified chat. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php index 78be1758f01..e86a0a24747 100644 --- a/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unhide a chat for a user. This API is available in the following national cloud deployments. + * Unhide a chat for a user. * @param UnhideForUserPostRequestBody $body The request body * @param UnhideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UnhideForUserPostRequestBody $body, ?UnhideForUserRequestBu } /** - * Unhide a chat for a user. This API is available in the following national cloud deployments. + * Unhide a chat for a user. * @param UnhideForUserPostRequestBody $body The request body * @param UnhideForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UnhideForUserPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php b/src/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php index 07c34541170..858e664c764 100644 --- a/src/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CheckMemberGroupsPostRequestBody $body, ?CheckMemberGroupsR } /** - * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. * @param CheckMemberGroupsPostRequestBody $body The request body * @param CheckMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CheckMemberGroupsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php b/src/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php index b9f646cba9d..9a56d1e2bd3 100644 --- a/src/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php +++ b/src/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(CheckMemberObjectsPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.php index 17dd21480f7..2574efe6ee4 100644 --- a/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the contact folder collection in the default Contacts folder of the signed-in user. This API is available in the following national cloud deployments. + * Get the contact folder collection in the default Contacts folder of the signed-in user. * @param ContactFoldersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ContactFoldersRequestBuilderGetRequestConfiguration $reques } /** - * Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. This API is available in the following national cloud deployments. + * Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. * @param ContactFolder $body The request body * @param ContactFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ContactFolder $body, ?ContactFoldersRequestBuilderPostReque } /** - * Get the contact folder collection in the default Contacts folder of the signed-in user. This API is available in the following national cloud deployments. + * Get the contact folder collection in the default Contacts folder of the signed-in user. * @param ContactFoldersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ContactFoldersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. This API is available in the following national cloud deployments. + * Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. * @param ContactFolder $body The request body * @param ContactFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ContactFolder $body, ?ContactFoldersReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilderGetQueryParameters.php index 7c3fa51a861..781b26317c5 100644 --- a/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the contact folder collection in the default Contacts folder of the signed-in user. This API is available in the following national cloud deployments. + * Get the contact folder collection in the default Contacts folder of the signed-in user. */ class ContactFoldersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php index 011c10a3d47..0a15955498c 100644 --- a/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilderGetQueryParameters.php index 5aae5d8736e..ab7962d6067 100644 --- a/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php index 5eab524fd36..aeb8bbff62d 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a collection of child folders under the specified contact folder. This API is available in the following national cloud deployments. + * Get a collection of child folders under the specified contact folder. * @param ChildFoldersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ChildFoldersRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. This API is available in the following national cloud deployments. + * Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. * @param ContactFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ContactFolder $body, ?ChildFoldersRequestBuilderPostRequest } /** - * Get a collection of child folders under the specified contact folder. This API is available in the following national cloud deployments. + * Get a collection of child folders under the specified contact folder. * @param ChildFoldersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ChildFoldersRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. This API is available in the following national cloud deployments. + * Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. * @param ContactFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ContactFolder $body, ?ChildFoldersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilderGetQueryParameters.php index 15f423e95b5..9885586b440 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a collection of child folders under the specified contact folder. This API is available in the following national cloud deployments. + * Get a collection of child folders under the specified contact folder. */ class ChildFoldersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php index 377825947cc..3d38d1cd67d 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php index 44c04374075..a01e884f28e 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.php index cdc645f5529..54fbf9e8638 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ContactFolderItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ContactFolderItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(ContactFolder $body, ?ContactFolderIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php index 04a75a7d718..09b6e148c25 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ContactsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. * @param Contact $body The request body * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Contact $body, ?ContactsRequestBuilderPostRequestConfigurat } /** - * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. * @param Contact $body The request body * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Contact $body, ?ContactsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php index c00e7aa699e..b4a74e97334 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. */ class ContactsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.php index 44a496fdf1f..4ddf751386f 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php index de09e191a40..1a7662a77e4 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.php index a2fe4ccc7f3..38fe0074747 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ContactItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ContactItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Contact $body, ?ContactItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php index a41d0979c9c..9d39f34626e 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 20a58f4ba8a..514a05e2cbb 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php index c037e8d62dd..684e30e4ade 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php index 55edcbdd4fa..89daa69d505 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.php index 39b6dda6edf..62cc151b7ca 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete contactFolder other than the default contactFolder. This API is available in the following national cloud deployments. + * Delete contactFolder other than the default contactFolder. * @param ContactFolderItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?ContactFolderItemRequestBuilderDeleteRequestConfiguratio } /** - * Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: This API is available in the following national cloud deployments. + * Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: * @param ContactFolderItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?ContactFolderItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of contactfolder object. This API is available in the following national cloud deployments. + * Update the properties of contactfolder object. * @param ContactFolder $body The request body * @param ContactFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(ContactFolder $body, ?ContactFolderItemRequestBuilderPatch } /** - * Delete contactFolder other than the default contactFolder. This API is available in the following national cloud deployments. + * Delete contactFolder other than the default contactFolder. * @param ContactFolderItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?ContactFolderItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: This API is available in the following national cloud deployments. + * Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: * @param ContactFolderItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?ContactFolderItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of contactfolder object. This API is available in the following national cloud deployments. + * Update the properties of contactfolder object. * @param ContactFolder $body The request body * @param ContactFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(ContactFolder $body, ?ContactFolderIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilderGetQueryParameters.php index 5cd65fd292f..81a5d22acdf 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: This API is available in the following national cloud deployments. + * Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: */ class ContactFolderItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php index 2c359391ae7..1d0a7f1da96 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ContactsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. * @param Contact $body The request body * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Contact $body, ?ContactsRequestBuilderPostRequestConfigurat } /** - * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. * @param Contact $body The request body * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Contact $body, ?ContactsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php index d7f59fc9ffd..43045bde4b3 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + * Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. */ class ContactsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php index b0586a033b9..09c38d3a02d 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php index 18f9311361b..1f576adc15a 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.php index 9c708754342..35abdf0eea8 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?ContactItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?ContactItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(Contact $body, ?ContactItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php index ce89a2db7bc..31e035e9073 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 3f791b7e251..65b6ba16a4b 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php index 5ce44e97793..86eb12800f8 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php index bd316d9c0f5..3e2f202049b 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/ContactsRequestBuilder.php b/src/Generated/Users/Item/Contacts/ContactsRequestBuilder.php index d7ca869d28b..c117ef24320 100644 --- a/src/Generated/Users/Item/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/ContactsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: This API is available in the following national cloud deployments. + * Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ContactsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. * @param Contact $body The request body * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Contact $body, ?ContactsRequestBuilderPostRequestConfigurat } /** - * Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: This API is available in the following national cloud deployments. + * Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: * @param ContactsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ContactsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + * Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. * @param Contact $body The request body * @param ContactsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Contact $body, ?ContactsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php index 3ed653e5e5f..ced45f20a8e 100644 --- a/src/Generated/Users/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: This API is available in the following national cloud deployments. + * Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: */ class ContactsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php index 102c2adeb71..309f0fe1bcb 100644 --- a/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php index 92653b24b14..3ed05e36f6f 100644 --- a/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + * Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php index ef34bb03885..d5a5f025f9e 100644 --- a/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a contact. This API is available in the following national cloud deployments. + * Delete a contact. * @param ContactItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?ContactItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: * @param ContactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?ContactItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of a contact object. This API is available in the following national cloud deployments. + * Update the properties of a contact object. * @param Contact $body The request body * @param ContactItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(Contact $body, ?ContactItemRequestBuilderPatchRequestConfi } /** - * Delete a contact. This API is available in the following national cloud deployments. + * Delete a contact. * @param ContactItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?ContactItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: * @param ContactItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?ContactItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a contact object. This API is available in the following national cloud deployments. + * Update the properties of a contact object. * @param Contact $body The request body * @param ContactItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(Contact $body, ?ContactItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilderGetQueryParameters.php index 8883c88b90e..79a387428a5 100644 --- a/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: */ class ContactItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php index f3538623363..ff9709cc9d8 100644 --- a/src/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index c91973d1791..bd61d2e414a 100644 --- a/src/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php index 2fc31a3f504..a7ef0a54437 100644 --- a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php index b1eaa9d24dd..2b59436c26a 100644 --- a/src/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.php b/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.php index 523ea2ed659..6fde14b2266 100644 --- a/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.php +++ b/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.php @@ -59,7 +59,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. This API is available in the following national cloud deployments. + * Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. * @param CreatedObjectsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,7 +75,7 @@ public function get(?CreatedObjectsRequestBuilderGetRequestConfiguration $reques } /** - * Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. This API is available in the following national cloud deployments. + * Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. * @param CreatedObjectsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -91,7 +91,7 @@ public function toGetRequestInformation(?CreatedObjectsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilderGetQueryParameters.php index 2b7ced23737..995cc043cb9 100644 --- a/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. This API is available in the following national cloud deployments. + * Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. */ class CreatedObjectsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index 734e25c8a1d..284d52d780f 100644 --- a/src/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php index 4271e36e832..29aeda97e5b 100644 --- a/src/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index c385b7a6673..7e052b939ad 100644 --- a/src/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.php b/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.php index 130ef1bb913..5b5ac0953da 100644 --- a/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.php +++ b/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceManagementTroubleshootingEventsRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceManagementTroubleshootingEvent $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php b/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php index 01881f692cb..e0d8e2aff99 100644 --- a/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php +++ b/src/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceManagementTroubleshootingEvent $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceManagementTroubleshootingEventIte } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceManagementTroubleshootingEvent $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.php b/src/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.php index 3e2a59142a6..b073c0d283d 100644 --- a/src/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.php +++ b/src/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DirectReportsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php index d893eb49fe3..ae9053c790a 100644 --- a/src/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php index d04fd766c7a..b0b0ba57634 100644 --- a/src/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php index 91cf6fab5ce..8d49f2619ca 100644 --- a/src/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php b/src/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php index 4cea4163ac8..80afe5e2d96 100644 --- a/src/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php +++ b/src/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphOrgContactRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php b/src/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php index d9314b3c4d7..5ef4981d67b 100644 --- a/src/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php +++ b/src/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphUserRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Drive/DriveRequestBuilder.php b/src/Generated/Users/Item/Drive/DriveRequestBuilder.php index fba5a2963f6..bc08f41ec81 100644 --- a/src/Generated/Users/Item/Drive/DriveRequestBuilder.php +++ b/src/Generated/Users/Item/Drive/DriveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?DriveRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. * @param DriveRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?DriveRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Drive/DriveRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Drive/DriveRequestBuilderGetQueryParameters.php index cab66ed2338..1125bab776c 100644 --- a/src/Generated/Users/Item/Drive/DriveRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Drive/DriveRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. */ class DriveRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php b/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php index 4f352ba0ec9..b48349c1991 100644 --- a/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php +++ b/src/Generated/Users/Item/Drives/DrivesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of Drive resources available for a target User, Group, or Site. This API is available in the following national cloud deployments. + * Retrieve the list of Drive resources available for a target User, Group, or Site. * @param DrivesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?DrivesRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Retrieve the list of Drive resources available for a target User, Group, or Site. This API is available in the following national cloud deployments. + * Retrieve the list of Drive resources available for a target User, Group, or Site. * @param DrivesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?DrivesRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Drives/DrivesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Drives/DrivesRequestBuilderGetQueryParameters.php index e14d2e2c033..4b5ae7f6f1d 100644 --- a/src/Generated/Users/Item/Drives/DrivesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Drives/DrivesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of Drive resources available for a target User, Group, or Site. This API is available in the following national cloud deployments. + * Retrieve the list of Drive resources available for a target User, Group, or Site. */ class DrivesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.php b/src/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.php index ab5f9b271c3..639f3185ff6 100644 --- a/src/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.php +++ b/src/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DriveItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php index df041e8e821..76bad1f7fbe 100644 --- a/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php +++ b/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?EmployeeExperienceRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?EmployeeExperienceRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(EmployeeExperienceUser $body, ?Employe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php index d33a1122aeb..e6f0c01db9c 100644 --- a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php +++ b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. * @param LearningCourseActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?LearningCourseActivityItemRequestBuilderGetRequestConfigura } /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. * @param LearningCourseActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?LearningCourseActivityItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php index 19316569f4f..ca7a2444b38 100644 --- a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. */ class LearningCourseActivityItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php index cc5793df04e..c47c62f4643 100644 --- a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php +++ b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. This API is available in the following national cloud deployments. + * Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. * @param LearningCourseActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?LearningCourseActivitiesRequestBuilderGetRequestConfigurati } /** - * Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. This API is available in the following national cloud deployments. + * Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. * @param LearningCourseActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?LearningCourseActivitiesRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php index 16251a35485..a2727cc5706 100644 --- a/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. This API is available in the following national cloud deployments. + * Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. */ class LearningCourseActivitiesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php index d080d71cfa0..6debf20fd3f 100644 --- a/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php index 3188ac710a7..1508f49e425 100644 --- a/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/EventsRequestBuilder.php b/src/Generated/Users/Item/Events/EventsRequestBuilder.php index 63d67f8d836..228443933a4 100644 --- a/src/Generated/Users/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/EventsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: This API is available in the following national cloud deployments. + * Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?EventsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. + * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-post-events?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0 Find more info here */ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Event $body, ?EventsRequestBuilderPostRequestConfiguration } /** - * Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: This API is available in the following national cloud deployments. + * Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: * @param EventsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?EventsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. + * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. * @param Event $body The request body * @param EventsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Event $body, ?EventsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/EventsRequestBuilderGetQueryParameters.php index 448eab0271e..e10a9d8d26f 100644 --- a/src/Generated/Users/Item/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/EventsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: This API is available in the following national cloud deployments. + * Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: */ class EventsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php index f8d9ffe0405..8aa2adabaf8 100644 --- a/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index 48a59d14de4..920e625f55a 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index f742494202f..17be7917f0d 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 2ca306e6fb6..ddd296b406e 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 3ce736f1acd..b3bc301b12e 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php index a4b81c96846..8f0a12b5182 100644 --- a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.php index f7a9c2c0be0..88f0fb38a02 100644 --- a/src/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.php index 8c63c6185a2..1ea4b12e606 100644 --- a/src/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php index 94e2287d96e..fdde3a68763 100644 --- a/src/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/EventItemRequestBuilder.php index 33af67de002..d606c2ca66f 100644 --- a/src/Generated/Users/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/EventItemRequestBuilder.php @@ -119,7 +119,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. This API is available in the following national cloud deployments. + * Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. * @param EventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function delete(?EventItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. * @param EventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -151,7 +151,7 @@ public function get(?EventItemRequestBuilderGetRequestConfiguration $requestConf } /** - * Update the properties of the event object. This API is available in the following national cloud deployments. + * Update the properties of the event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -168,7 +168,7 @@ public function patch(Event $body, ?EventItemRequestBuilderPatchRequestConfigura } /** - * Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. This API is available in the following national cloud deployments. + * Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. * @param EventItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -181,12 +181,12 @@ public function toDeleteRequestInformation(?EventItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. * @param EventItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -202,12 +202,12 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the event object. This API is available in the following national cloud deployments. + * Update the properties of the event object. * @param Event $body The request body * @param EventItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -221,7 +221,7 @@ public function toPatchRequestInformation(Event $body, ?EventItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php index b851acabe26..caa89e4971a 100644 --- a/src/Generated/Users/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. */ class EventItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index da4adc2a773..4747fc7173c 100644 --- a/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 156c0af7fbc..62e4c8a0600 100644 --- a/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 23eb524cecf..1e3544375bd 100644 --- a/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index c3356de70af..7c2ec7f2041 100644 --- a/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php index 198e27d516c..5ffb6f71be8 100644 --- a/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php index 249679553e3..25f09720b56 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php index be0a84ebb20..e79022b835e 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. This API is available in the following national cloud deployments. + * Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php index a07cfe72639..08e05adb909 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -91,7 +91,7 @@ public function toGetRequestInformation(?InstancesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php index cd9d45c15de..db0374379b5 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AcceptPostRequestBody $body, ?AcceptRequestBuilderPostReque } /** - * Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + * Accept the specified event in a user calendar. * @param AcceptPostRequestBody $body The request body * @param AcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AcceptPostRequestBody $body, ?AcceptReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 1e1fef1007f..6a805323d47 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 670d6ece7af..dad2a785233 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to an event. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 6624c03132e..709df81833c 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 836a2460b3d..39de8546413 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?AttachmentItemRequestBuilderGetRequestConfiguration $reques } /** - * Delete an attachment from a user calendar event, mail message, or group post. This API is available in the following national cloud deployments. + * Delete an attachment from a user calendar event, mail message, or group post. * @param AttachmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 3f329ca08e7..5d0e2e37112 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?CalendarRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php index 5c684af3637..3eebc89d4ba 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CancelPostRequestBody $body, ?CancelRequestBuilderPostReque } /** - * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + * This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. * @param CancelPostRequestBody $body The request body * @param CancelRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(CancelPostRequestBody $body, ?CancelReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php index 53bc1e2f178..1986c37b46f 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(DeclinePostRequestBody $body, ?DeclineRequestBuilderPostReq } /** - * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param DeclinePostRequestBody $body The request body * @param DeclineRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeclinePostRequestBody $body, ?DeclineR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php index ec5fc749763..37710f0d35a 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?DismissReminderRequestBuilderPostRequestConfiguration $req } /** - * Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + * Dismiss a reminder that has been triggered for an event in a user calendar. * @param DismissReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DismissReminderRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index 8031e0f2049..846ca6ecacf 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -142,7 +142,7 @@ public function toGetRequestInformation(?EventItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 6fd70c60f7b..d8b4de6c5c9 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index d5ff0dc9094..2d2f5171dc3 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 99b83cac50e..5c67f2cf1fc 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index d6a1a0decc8..094c25857ac 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php index 440f3c4c9b1..ba44109b3fb 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + * This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 2b9c6deae34..8e1ca13b2a4 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index 73e9718893e..c2ed6b06126 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php b/src/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php index 1d52af0b645..61cf556f24f 100644 --- a/src/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SnoozeReminderPostRequestBody $body, ?SnoozeReminderRequest } /** - * Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + * Postpone a reminder for an event in a user calendar until a new time. * @param SnoozeReminderPostRequestBody $body The request body * @param SnoozeReminderRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SnoozeReminderPostRequestBody $body, ?S $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php b/src/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php index aad280fca03..43632a25c73 100644 --- a/src/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TentativelyAcceptPostRequestBody $body, ?TentativelyAcceptR } /** - * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + * Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. * @param TentativelyAcceptPostRequestBody $body The request body * @param TentativelyAcceptRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TentativelyAcceptPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.php b/src/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.php index 6f9c7cdd921..73aaa503b12 100644 --- a/src/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.php +++ b/src/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?ExportDeviceAndAppManagementDataRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.php b/src/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.php index 659812728ed..a80544ace1f 100644 --- a/src/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.php +++ b/src/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?ExportDeviceAndAppManagementDataWithSki $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.php b/src/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.php index b71efc6798a..3c77eff5f98 100644 --- a/src/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.php +++ b/src/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. This API is available in the following national cloud deployments. + * Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. * @param ExportPersonalDataPostRequestBody $body The request body * @param ExportPersonalDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ExportPersonalDataPostRequestBody $body, ?ExportPersonalDat } /** - * Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. This API is available in the following national cloud deployments. + * Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. * @param ExportPersonalDataPostRequestBody $body The request body * @param ExportPersonalDataRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ExportPersonalDataPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.php index 6b30b7a47c0..c3c148eb5f7 100644 --- a/src/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.php index b216eef827e..1367acb36e8 100644 --- a/src/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.php b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.php index 73c944c3cef..6496bde18cb 100644 --- a/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.php +++ b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. This API is available in the following national cloud deployments. + * Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. * @param FindMeetingTimesPostRequestBody $body The request body * @param FindMeetingTimesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(FindMeetingTimesPostRequestBody $body, ?FindMeetingTimesReq } /** - * Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. This API is available in the following national cloud deployments. + * Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. * @param FindMeetingTimesPostRequestBody $body The request body * @param FindMeetingTimesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(FindMeetingTimesPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.php b/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.php index f92c207989d..7b1e209e982 100644 --- a/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.php +++ b/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the sites that have been followed by the signed in user. This API is available in the following national cloud deployments. + * List the sites that have been followed by the signed in user. * @param FollowedSitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?FollowedSitesRequestBuilderGetRequestConfiguration $request } /** - * List the sites that have been followed by the signed in user. This API is available in the following national cloud deployments. + * List the sites that have been followed by the signed in user. * @param FollowedSitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?FollowedSitesRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilderGetQueryParameters.php index d5e8c16367f..c3ae0508efa 100644 --- a/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the sites that have been followed by the signed in user. This API is available in the following national cloud deployments. + * List the sites that have been followed by the signed in user. */ class FollowedSitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.php b/src/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.php index 2e5ba746675..1c76f73e626 100644 --- a/src/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.php +++ b/src/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SiteItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php b/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php index 21c467b6757..c24f109082a 100644 --- a/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. This API is available in the following national cloud deployments. + * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. * @param GetMailTipsPostRequestBody $body The request body * @param GetMailTipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMailTipsPostRequestBody $body, ?GetMailTipsRequestBuilde } /** - * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. This API is available in the following national cloud deployments. + * Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. * @param GetMailTipsPostRequestBody $body The request body * @param GetMailTipsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMailTipsPostRequestBody $body, ?GetM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.php b/src/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.php index 87a05c4b12c..abe3866cba3 100644 --- a/src/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.php +++ b/src/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetManagedAppDiagnosticStatusesRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.php b/src/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.php index b9818bf41d2..a037a673a11 100644 --- a/src/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetManagedAppPoliciesRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.php b/src/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.php index 54199405739..8ac057087a5 100644 --- a/src/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.php +++ b/src/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetManagedDevicesWithAppFailuresRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php b/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php index f2e6455aed2..0a1face842c 100644 --- a/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberGroupsPostRequestBody $body, ?GetMemberGroupsReque } /** - * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. * @param GetMemberGroupsPostRequestBody $body The request body * @param GetMemberGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberGroupsPostRequestBody $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php b/src/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php index 9e43f57e273..f554a5d1dc0 100644 --- a/src/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php +++ b/src/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(GetMemberObjectsPostRequestBody $body, ?GetMemberObjectsReq } /** - * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. This API is available in the following national cloud deployments. + * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. * @param GetMemberObjectsPostRequestBody $body The request body * @param GetMemberObjectsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(GetMemberObjectsPostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php index b0390359984..b5f1100684e 100644 --- a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?InferenceClassificationRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -105,7 +105,7 @@ public function toPatchRequestInformation(InferenceClassification $body, ?Infere $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php index 3f31461d410..a484e4d4798 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an override specified by its ID. This API is available in the following national cloud deployments. + * Delete an override specified by its ID. * @param InferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?InferenceClassificationOverrideItemRequestBuilderGetRequest } /** - * Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. This API is available in the following national cloud deployments. + * Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. * @param InferenceClassificationOverride $body The request body * @param InferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -79,7 +79,7 @@ public function patch(InferenceClassificationOverride $body, ?InferenceClassific } /** - * Delete an override specified by its ID. This API is available in the following national cloud deployments. + * Delete an override specified by its ID. * @param InferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?InferenceClassificationOverrideItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,12 +113,12 @@ public function toGetRequestInformation(?InferenceClassificationOverrideItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. This API is available in the following national cloud deployments. + * Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. * @param InferenceClassificationOverride $body The request body * @param InferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(InferenceClassificationOverride $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php index b159053e9ee..28be69740a8 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. This API is available in the following national cloud deployments. + * Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. * @param OverridesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OverridesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note This API is available in the following national cloud deployments. + * Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note * @param InferenceClassificationOverride $body The request body * @param OverridesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(InferenceClassificationOverride $body, ?OverridesRequestBui } /** - * Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. This API is available in the following national cloud deployments. + * Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. * @param OverridesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OverridesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note This API is available in the following national cloud deployments. + * Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note * @param InferenceClassificationOverride $body The request body * @param OverridesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(InferenceClassificationOverride $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php index 4931f01c94d..74ecdb58bb0 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. This API is available in the following national cloud deployments. + * Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. */ class OverridesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php b/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php index dc5d58722d4..1ccae782f6d 100644 --- a/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/InsightsRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?InsightsRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?InsightsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(OfficeGraphInsights $body, ?InsightsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.php b/src/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.php index 6a8f5a63231..072db4b0cf4 100644 --- a/src/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?LastSharedMethodRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.php b/src/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.php index 0b7eab8ced0..fefe544edc6 100644 --- a/src/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php b/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php index bf8059c3e7a..4c919f02f43 100644 --- a/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?SharedInsightItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?SharedInsightItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(SharedInsight $body, ?SharedInsightIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php index bc11c0add3e..71007bdf66a 100644 --- a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. This API is available in the following national cloud deployments. + * Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. * @param SharedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedInsight $body, ?SharedRequestBuilderPostRequestConfig } /** - * Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. This API is available in the following national cloud deployments. + * Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. * @param SharedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedInsight $body, ?SharedRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php index 197163cb69f..700854c1ccf 100644 --- a/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Shared/SharedRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. This API is available in the following national cloud deployments. + * Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. */ class SharedRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.php b/src/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.php index 6f3ec2ed772..bf1fb646cea 100644 --- a/src/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php b/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php index a35ba3bb7ca..3e74aa828b2 100644 --- a/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TrendingItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TrendingItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Trending $body, ?TrendingItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php index 1cdf84d4fec..bd59a01617d 100644 --- a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calculated insight that includes a list of documents trending around the user. This API is available in the following national cloud deployments. + * Calculated insight that includes a list of documents trending around the user. * @param TrendingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(Trending $body, ?TrendingRequestBuilderPostRequestConfigura } /** - * Calculated insight that includes a list of documents trending around the user. This API is available in the following national cloud deployments. + * Calculated insight that includes a list of documents trending around the user. * @param TrendingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TrendingRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(Trending $body, ?TrendingRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php index 3a00b68bc5f..9f1601b5306 100644 --- a/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Trending/TrendingRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculated insight that includes a list of documents trending around the user. This API is available in the following national cloud deployments. + * Calculated insight that includes a list of documents trending around the user. */ class TrendingRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.php b/src/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.php index 50f2c180fd4..f6717bedb53 100644 --- a/src/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ResourceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php b/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php index 3c1575693c5..00dd27bcad4 100644 --- a/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?UsedInsightItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?UsedInsightItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(UsedInsight $body, ?UsedInsightItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php index d6492f6f4bf..8db87d23f96 100644 --- a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php +++ b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. This API is available in the following national cloud deployments. + * Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. * @param UsedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(UsedInsight $body, ?UsedRequestBuilderPostRequestConfigurat } /** - * Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. This API is available in the following national cloud deployments. + * Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. * @param UsedRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?UsedRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(UsedInsight $body, ?UsedRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php index 05c6f8f28ae..a0db2cf9386 100644 --- a/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Insights/Used/UsedRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. This API is available in the following national cloud deployments. + * Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. */ class UsedRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php index 74a5e3355b8..c48395a7b73 100644 --- a/src/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.php index c3a3b004c3a..65161ef7978 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). * @param AllChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllChannelsRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). * @param AllChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllChannelsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php index 1769e6dfe91..d44a19949db 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + * Get the list of channels either in this team or shared with this team (incoming channels). */ class AllChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.php index 3afcea4811f..95682b6999f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.php index ee6a38a14ed..4c5f1239341 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ArchivePostRequestBody $body, ?ArchiveRequestBuilderPostReq } /** - * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + * Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. * @param ArchivePostRequestBody $body The request body * @param ArchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ArchivePostRequestBody $body, ?ArchiveR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php index 6eae443a72d..9b848367fb8 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. * @param ChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ChannelsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. This API is available in the following national cloud deployments. + * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. * @param Channel $body The request body * @param ChannelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Channel $body, ?ChannelsRequestBuilderPostRequestConfigurat } /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. * @param ChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ChannelsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. This API is available in the following national cloud deployments. + * Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. * @param Channel $body The request body * @param ChannelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Channel $body, ?ChannelsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php index 48494821bae..02b2c651c62 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + * Retrieve the list of channels in this team. */ class ChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php index 6733a3e3e0d..4485dbe2566 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?GetAllMessagesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php index 1dc8602635c..875e55f098c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -103,7 +103,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the channel. This API is available in the following national cloud deployments. + * Delete the channel. * @param ChannelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -119,7 +119,7 @@ public function delete(?ChannelItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. * @param ChannelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -135,7 +135,7 @@ public function get(?ChannelItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of the specified channel. This API is available in the following national cloud deployments. + * Update the properties of the specified channel. * @param Channel $body The request body * @param ChannelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -152,7 +152,7 @@ public function patch(Channel $body, ?ChannelItemRequestBuilderPatchRequestConfi } /** - * Delete the channel. This API is available in the following national cloud deployments. + * Delete the channel. * @param ChannelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -165,12 +165,12 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. * @param ChannelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -186,12 +186,12 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified channel. This API is available in the following national cloud deployments. + * Update the properties of the specified channel. * @param Channel $body The request body * @param ChannelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -205,7 +205,7 @@ public function toPatchRequestInformation(Channel $body, ?ChannelItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php index 9251378fe21..cee1ffdff5e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. */ class ChannelItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index f4503f51962..acf0d9d458c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index 467bc25b09d..af7c539c30f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php index 6aa3c1348cf..487ca067abd 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php index 478940d321c..096deb6b5ac 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index 046fcdde8e8..b0cf13cf796 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php index 45d1ebc67e3..326fd9c2c0d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 37e943b5f0c..acd559d147e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 4dab210dc5f..ad638a2e549 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php index f469d354d31..21cede24130 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php index f9923f431b3..ee055ca5204 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index 14c09da2b8b..3d5ed1ad03c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php index 6b32679d12c..e42ddfab210 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 4dd40c82595..0a2c316fc36 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 5af6149da16..72fa104f6ec 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index e5e778ca9e3..e0e4e55eb91 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 0b87fbc9020..ea7f1f44e07 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 0e378910fdf..5652ca66c8c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index aa468baf161..b101d228cd2 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 0ea93148398..6786c999821 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 441997181f6..d470b1db1ef 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 09b2b3a2563..1945736cf91 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 336b2acccfc..5b0ebf5e814 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 8a1e98c32bb..d67482b1729 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index d798d54cae9..4229be73f19 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 80b09b227c2..076c8095440 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index d0edd1ca5a4..f5110a8ec67 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 4fb8199e1a5..634d513870b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 6e0d698082a..59e44094b8d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 8e1ec306ad6..31e9088e636 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 0540bcdf92c..c7ecfb81e19 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 069c18a7d34..81100b416de 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index e715aec6b32..21acb94b963 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php index d4ddc5e6fb6..4013e72dd99 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index 90e5e63ba48..875944e41ab 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 3261e4de641..3632e15c2fb 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index ddfd1128d52..4ef1ec056ca 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index 5797df85fc7..59933f4fe30 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index 2b60e83b449..390976abca4 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php index 8795066fe95..6732c533743 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php index 304e37623ba..9e3d22686ce 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index 1669765fffb..25d3b1a148b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index 6bc2523c9ca..80fa2b68af1 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index b50ca842d73..3d06a6ff12e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index 390e8e8689d..8259cf978fd 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index 2632f7286cb..44302c66af2 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php index 799fae02861..c2984cbba1f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php index d0bae7714eb..84a3e657702 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index 7c94aa08e5b..6ec63ba3740 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index 87501720e13..4e0ddf35627 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php index 26d7510e94c..96e28d4fbb1 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index 3f5c848e18b..3f4984d948f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php index 14c712e34d4..fe426c0f910 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php index ebdff9fae97..2baf5147f3c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php index 05b56627450..6110d92fe0a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php index ac2910143c9..cf50a5c66ea 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/EscapedClone/CloneRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ClonePostRequestBody $body, ?CloneRequestBuilderPostRequest } /** - * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + * Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they'll see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. * @param ClonePostRequestBody $body The request body * @param CloneRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ClonePostRequestBody $body, ?CloneReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.php index 33b091c9710..55eb8c10c7a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GroupRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index 1c957423d40..803daf55534 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Group/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php index dbc172347e0..f54ccdefa3a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). * @param IncomingChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?IncomingChannelsRequestBuilderGetRequestConfiguration $requ } /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). * @param IncomingChannelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?IncomingChannelsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php index 0ba5f82e4ea..4452a67427c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + * Get the list of incoming channels (channels shared with a team). */ class IncomingChannelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php index 361584fe2d0..3675d8e311e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.php @@ -75,7 +75,7 @@ public function toDeleteRequestInformation(?ChannelItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -96,7 +96,7 @@ public function toGetRequestInformation(?ChannelItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.php index 7fbaa535134..af9b278d1b4 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?InstalledAppsRequestBuilderGetRequestConfiguration $request } /** - * Install an app to the specified team. This API is available in the following national cloud deployments. + * Install an app to the specified team. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsAppInstallation $body, ?InstalledAppsRequestBuilderPos } /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Install an app to the specified team. This API is available in the following national cloud deployments. + * Install an app to the specified team. * @param TeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsAppInstallation $body, ?InstalledA $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php index 3bd20951989..44df566b186 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of apps installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve a list of apps installed in the specified team. */ class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php index b1f1db8864e..210aa4867e9 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php index b8a3855cdc6..21122a0da5c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php index 31a9fe8cbb6..6a39e602048 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + * Uninstalls an app from the specified team. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?TeamsAppInstallationItemRequestBuilderDeleteRequestConfi } /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(TeamsAppInstallation $body, ?TeamsAppInstallationItemReque } /** - * Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + * Uninstalls an app from the specified team. * @param TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?TeamsAppInstallationItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. * @param TeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?TeamsAppInstallationItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(TeamsAppInstallation $body, ?TeamsAppI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php index db9b05dd9d6..b2aa4c64ecc 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + * Retrieve the app installed in the specified team. */ class TeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php index 63db11b6a55..6e2e0129766 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(UpgradePostRequestBody $body, ?UpgradeRequestBuilderPostReq } /** - * Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + * Upgrade an app installation within a chat. * @param UpgradePostRequestBody $body The request body * @param UpgradeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpgradePostRequestBody $body, ?UpgradeR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.php index de1c7091afe..ea32d59a22b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php index c1ba2b5af89..6d9674fbbed 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a conversationMember from a team. This API is available in the following national cloud deployments. + * Remove a conversationMember from a team. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Remove a conversationMember from a team. This API is available in the following national cloud deployments. + * Remove a conversationMember from a team. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 469ff8e2be9..e359b7ca954 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a team. This API is available in the following national cloud deployments. + * Get a conversationMember from a team. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php index 66d8ad3a86e..a52eb52ed3c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a new conversationMember to a team. This API is available in the following national cloud deployments. + * Add a new conversationMember to a team. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a new conversationMember to a team. This API is available in the following national cloud deployments. + * Add a new conversationMember to a team. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilderGetQueryParameters.php index b3dfaad6d61..7a08df5f7ac 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + * Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php index 4f3d436e565..024cb3e3637 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?TeamsAsyncOperationItemRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?TeamsAsyncOperationItemRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(TeamsAsyncOperation $body, ?TeamsAsync $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.php index b0dae568391..1a0107f6db5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(TeamsAsyncOperation $body, ?OperationsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php index 3de49343f44..70619501678 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ResourceSpecificPermissionGrantItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ResourceSpecificPermissionGrantItemRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php index cd51ada4b2a..67ce5053abf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ResourceSpecificPermissionGrant $body, ?PermissionGrantsReq } /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. * @param PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PermissionGrantsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ResourceSpecificPermissionGrant $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php index a63ec0cd4e6..3d5dcf37d21 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. This API is available in the following national cloud deployments. + * List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access. */ class PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.php index 2a9e1f25c8c..6d881132dc6 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function patch(ProfilePhoto $body, ?PhotoRequestBuilderPatchRequestConfig } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -87,7 +87,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -106,7 +106,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index 22a05fff314..9e25c5848db 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. */ class PhotoRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.php index 9df02ffa67e..dfb3e9ca233 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php index ab71524683e..55eeed77338 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?CompleteMigrationRequestBuilderPostRequestConfiguration $r } /** - * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + * Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. * @param CompleteMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?CompleteMigrationRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php index 024599a1fab..f47406f9b0c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DoesUserHaveAccessuserIdUserIdTenantIdT } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php index 5c63803dafd..c1ca026eae5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php index d6a33848096..6a7b8468959 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function get(?FilesFolderRequestBuilderGetRequestConfiguration $requestCo } /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. * @param FilesFolderRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -71,7 +71,7 @@ public function toGetRequestInformation(?FilesFolderRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php index 5424a26c536..8b876ad78b9 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + * Get the metadata for the location where the files of a channel are stored. */ class FilesFolderRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php index f764abc2dce..936bba58d7c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + * Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(AddPostRequestBody $body, ?AddRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php index e5681cbba94..43f85f6a31b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,12 +63,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Update the role of a conversationMember in a team or channel. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ConversationMember $body, ?Conversatio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 1b7c7dff429..14bf14f2dce 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a conversationMember from a channel. This API is available in the following national cloud deployments. + * Get a conversationMember from a channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php index b784d22831a..d5460fba41b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 Find more info here */ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(ConversationMember $body, ?MembersRequestBuilderPostRequest } /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. * @param ConversationMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ConversationMember $body, ?MembersReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php index 55650fec7dc..eefaead2384 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + * Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php index 4f6b51a775d..dee57cde278 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php index 83e5d9d3571..cf2a16f07ee 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.php @@ -94,7 +94,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -110,7 +110,7 @@ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $reque } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,12 +161,12 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + * Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param ChatMessage $body The request body * @param ChatMessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -180,7 +180,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 9dbd0971916..d9a24542b29 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 8285187e3f0..44093079d96 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index bbb1de8a007..672fcf1f2cf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 0fc97315f13..d7c3c055538 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 3744c75aa64..070dde2401f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index c434daa0119..ec9f1acf499 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 1d954ae0a06..ebabb18e21d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index ba63ae96017..ada311ae90f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?ChatMessageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(ChatMessage $body, ?ChatMessageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 0f91139eb3a..757b9efe728 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index fe4bc153303..c8ac3fb8477 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?HostedContentsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(ChatMessageHostedContent $body, ?Hosted $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 52f2fcc4bc9..ec25ed535d2 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php index 623f6b47e4b..7ce61d36854 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?ChatMessageHostedContentItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?ChatMessageHostedContentItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. * @param ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?ChatMessageHostedContentItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ChatMessageHostedContent $body, ?ChatM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php index 7edcbcbfbf7..bd9e9cf2d91 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of chatMessageHostedContent object. */ class ChatMessageHostedContentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 542ad955388..ab04ba2f553 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php index 8e47e77b1d9..c37dd5aa9bd 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php index 3d99fa8975b..79433ffd052 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 077b086b759..235fa98af84 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 9e5713f9dfe..440b6a77433 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 7fca59b68c1..94d9251c2f5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?RepliesRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 5cc9a03b234..cb85991d5dc 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php index 3d51a5837c3..a2dbb099f30 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(SetReactionPostRequestBody $body, ?SetR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php index 5b2403a7102..4c0b0cc714a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SoftDeleteRequestBuilderPostRequestConfiguration $requestC } /** - * Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Delete a single chatMessage or a chat message reply in a channel or a chat. * @param SoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SoftDeleteRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php index 113d65cd412..6723c22fece 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UndoSoftDeleteRequestBuilderPostRequestConfiguration $requ } /** - * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. * @param UndoSoftDeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UndoSoftDeleteRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php index 255f8c2a6c5..9432855f3c8 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(UnsetReactionPostRequestBody $body, ?Un $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php index ddea13b9b03..a60398892f0 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfig } /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * Send a new chatMessage in the specified channel or a chat. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(ChatMessage $body, ?MessagesRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php index 9fa23bf18e2..3d641db2b36 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + * Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index 7bcf76c994d..9aaa9d32d5e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -118,7 +118,7 @@ public function delete(?PrimaryChannelRequestBuilderDeleteRequestConfiguration $ } /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. * @param PrimaryChannelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -163,12 +163,12 @@ public function toDeleteRequestInformation(?PrimaryChannelRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. * @param PrimaryChannelRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -184,7 +184,7 @@ public function toGetRequestInformation(?PrimaryChannelRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -203,7 +203,7 @@ public function toPatchRequestInformation(Channel $body, ?PrimaryChannelRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php index 4817ae8d84a..b1134cca21d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the default channel, General, of a team. This API is available in the following national cloud deployments. + * Get the default channel, General, of a team. */ class PrimaryChannelRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php index d0aa9fa9894..a72bbc25240 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ProvisionEmailRequestBuilderPostRequestConfiguration $requ } /** - * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + * Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. * @param ProvisionEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ProvisionEmailRequestBuilderPostReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php index a8cce9ff8b8..ec52081e736 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RemoveEmailRequestBuilderPostRequestConfiguration $request } /** - * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param RemoveEmailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveEmailRequestBuilderPostRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index 306c811af37..a3a90f7399f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?AllowedMembersRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index cb76d1409e7..3d919a9e60b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php index 424eb61fbb4..ffae9064392 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php index 7a2288b8d7d..8333951ca72 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?SharedWithChannelTeamInfoItemRequestBuilderDeleteRequest } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function patch(SharedWithChannelTeamInfo $body, ?SharedWithChannelTeamInf } /** - * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,12 +108,12 @@ public function toDeleteRequestInformation(?SharedWithChannelTeamInfoItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +129,7 @@ public function toGetRequestInformation(?SharedWithChannelTeamInfoItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -148,7 +148,7 @@ public function toPatchRequestInformation(SharedWithChannelTeamInfo $body, ?Shar $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php index 9cbb48cf124..db442ac74b2 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php index c9692789e06..3ddf7ba80e3 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php index b26bd94ff79..c14c1b06093 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SharedWithChannelTeamInfo $body, ?SharedWithTeamsRequestBui } /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. * @param SharedWithTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SharedWithTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SharedWithChannelTeamInfo $body, ?Share $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php index dc5cd0976b2..ab7e572f414 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + * Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. */ class SharedWithTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php index 40d2602e4cc..0d353a4e56d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php index d6707eb23cf..b0af4c72bd6 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamsTabItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamsTabItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamsTab $body, ?TeamsTabItemRequestBuilderPatchRequestCon } /** - * Removes (unpins) a tab from the specified channel within a team. This API is available in the following national cloud deployments. + * Removes (unpins) a tab from the specified channel within a team. * @param TeamsTabItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamsTabItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. * @param TeamsTabItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamsTabItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified tab.This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + * Update the properties of the specified tab.This can be used to configure the content of the tab. * @param TeamsTab $body The request body * @param TeamsTabItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamsTab $body, ?TeamsTabItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php index 76293a310d9..a0a7a6901cf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of the specified tab in a channel within a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of the specified tab in a channel within a team. */ class TeamsTabItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php index 124002043d9..9d03612d37a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TabsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamsTab $body, ?TabsRequestBuilderPostRequestConfiguration } /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. * @param TabsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TabsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. This API is available in the following national cloud deployments. + * Add (pin) a tab to the specified channel within a team. The app must be preinstalled in the team and have the configurableTabs property defined in the app manifest. * @param TeamsTab $body The request body * @param TabsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamsTab $body, ?TabsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php index 21acd6b945c..185025c91c3 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + * Retrieve the list of tabs in the specified channel within a team. */ class TabsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php index 9a55788ea6a..029af2c99f7 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OfferShiftRequestItemRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. * @param OfferShiftRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OfferShiftRequestItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. * @param OfferShiftRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OfferShiftRequestItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OfferShiftRequest $body, ?OfferShiftRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php index 0d560307d99..3f44e6a0f18 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an offerShiftRequest object. */ class OfferShiftRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php index 32b2a2bc68a..58cba78709d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. * @param OfferShiftRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OfferShiftRequestsRequestBuilderGetRequestConfiguration $re } /** - * Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + * Create an instance of an offerShiftRequest. * @param OfferShiftRequest $body The request body * @param OfferShiftRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OfferShiftRequest $body, ?OfferShiftRequestsRequestBuilderP } /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. * @param OfferShiftRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OfferShiftRequestsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + * Create an instance of an offerShiftRequest. * @param OfferShiftRequest $body The request body * @param OfferShiftRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OfferShiftRequest $body, ?OfferShiftReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php index 6013fb76092..0917ecaaf5e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of all offerShiftRequest objects in a team. */ class OfferShiftRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php index cc99cff0c9d..a25bd436a37 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OpenShiftChangeRequestItemRequestBuilderDeleteRequestCon } /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. * @param OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OpenShiftChangeRequestItemRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. * @param OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OpenShiftChangeRequestItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OpenShiftChangeRequest $body, ?OpenShi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php index 2dbf1707b9b..3003ff51d23 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openShiftChangeRequest object. */ class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php index e6bcac35c92..41198a95200 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. * @param OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OpenShiftChangeRequestsRequestBuilderGetRequestConfiguratio } /** - * Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Create instance of an openShiftChangeRequest object. * @param OpenShiftChangeRequest $body The request body * @param OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OpenShiftChangeRequest $body, ?OpenShiftChangeRequestsReque } /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. * @param OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OpenShiftChangeRequestsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + * Create instance of an openShiftChangeRequest object. * @param OpenShiftChangeRequest $body The request body * @param OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OpenShiftChangeRequest $body, ?OpenShif $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php index 775f2e8123b..1c157c2707a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + * Retrieve a list of openShiftChangeRequest objects in a team. */ class OpenShiftChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php index 2de331e0922..036ba789785 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an openShift object. This API is available in the following national cloud deployments. + * Delete an openShift object. * @param OpenShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?OpenShiftItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. * @param OpenShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(OpenShift $body, ?OpenShiftItemRequestBuilderPatchRequestC } /** - * Delete an openShift object. This API is available in the following national cloud deployments. + * Delete an openShift object. * @param OpenShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?OpenShiftItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. * @param OpenShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?OpenShiftItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(OpenShift $body, ?OpenShiftItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php index 3935bc19417..43ed8bdf2b8 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an openshift object. */ class OpenShiftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php index 7145ecbf0e3..c4ff12bd8a0 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. * @param OpenShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?OpenShiftsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create an instance of an openShift object. This API is available in the following national cloud deployments. + * Create an instance of an openShift object. * @param OpenShift $body The request body * @param OpenShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OpenShift $body, ?OpenShiftsRequestBuilderPostRequestConfig } /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. * @param OpenShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?OpenShiftsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of an openShift object. This API is available in the following national cloud deployments. + * Create an instance of an openShift object. * @param OpenShift $body The request body * @param OpenShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OpenShift $body, ?OpenShiftsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php index c3f658ed91b..0e40f4352b8 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List openShift objects in a team. This API is available in the following national cloud deployments. + * List openShift objects in a team. */ class OpenShiftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php index f9fd7d91636..a165df4404c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.php @@ -126,7 +126,7 @@ public function delete(?ScheduleRequestBuilderDeleteRequestConfiguration $reques } /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. * @param ScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -171,12 +171,12 @@ public function toDeleteRequestInformation(?ScheduleRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. * @param ScheduleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -192,7 +192,7 @@ public function toGetRequestInformation(?ScheduleRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -211,7 +211,7 @@ public function toPutRequestInformation(Schedule $body, ?ScheduleRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php index 420060ecc18..a5c7c84c50f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. */ class ScheduleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index bf59ceaa654..6181f5141bd 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @param SchedulingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?SchedulingGroupItemRequestBuilderDeleteRequestConfigurat } /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. * @param SchedulingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(SchedulingGroup $body, ?SchedulingGroupItemRequestBuilderP } /** - * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + * Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. * @param SchedulingGroupItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?SchedulingGroupItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. * @param SchedulingGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?SchedulingGroupItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(SchedulingGroup $body, ?SchedulingGrou $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php index 97e024d7369..26bad6d85e3 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a schedulingGroup by ID. */ class SchedulingGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index bddccbabe20..987665a4030 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. * @param SchedulingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SchedulingGroupsRequestBuilderGetRequestConfiguration $requ } /** - * Create a new schedulingGroup. This API is available in the following national cloud deployments. + * Create a new schedulingGroup. * @param SchedulingGroup $body The request body * @param SchedulingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SchedulingGroup $body, ?SchedulingGroupsRequestBuilderPostR } /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. * @param SchedulingGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SchedulingGroupsRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new schedulingGroup. This API is available in the following national cloud deployments. + * Create a new schedulingGroup. * @param SchedulingGroup $body The request body * @param SchedulingGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SchedulingGroup $body, ?SchedulingGroup $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php index 17b68fc586f..b2ca84cf718 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + * Get the list of schedulingGroups in this schedule. */ class SchedulingGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php index 190ba09d4ab..7e58df5111a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. * @param SharePostRequestBody $body The request body * @param ShareRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SharePostRequestBody $body, ?ShareRequestBuilderPostRequest } /** - * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + * Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. * @param SharePostRequestBody $body The request body * @param ShareRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SharePostRequestBody $body, ?ShareReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php index a66ab0c9c90..703864a589c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a shift from the schedule. This API is available in the following national cloud deployments. + * Delete a shift from the schedule. * @param ShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ShiftItemRequestBuilderDeleteRequestConfiguration $reque } /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. * @param ShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(Shift $body, ?ShiftItemRequestBuilderPatchRequestConfigura } /** - * Delete a shift from the schedule. This API is available in the following national cloud deployments. + * Delete a shift from the schedule. * @param ShiftItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ShiftItemRequestBuilderDeleteRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. * @param ShiftItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ShiftItemRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(Shift $body, ?ShiftItemRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php index c4f2c13482d..2ce8b7981fe 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shift object by ID. */ class ShiftItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php index bc6175b3d61..ed3c61692b9 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. * @param ShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ShiftsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. * @param Shift $body The request body * @param ShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(Shift $body, ?ShiftsRequestBuilderPostRequestConfiguration } /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. * @param ShiftsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ShiftsRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + * Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. * @param Shift $body The request body * @param ShiftsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(Shift $body, ?ShiftsRequestBuilderPostR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php index 5f0a68908b7..100f26e4040 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of shift instances in a schedule. */ class ShiftsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php index 864eb9e5c8f..0e7230dd5a5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?SwapShiftsChangeRequestItemRequestBuilderDeleteRequestCo } /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?SwapShiftsChangeRequestItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(SwapShiftsChangeRequest $body, ?SwapSh $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php index 52bd87581a3..99078f2edbd 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a swapShiftsChangeRequest object. */ class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php index dca89284c53..c512e33c28e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. * @param SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SwapShiftsChangeRequestsRequestBuilderGetRequestConfigurati } /** - * Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Create an instance of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequest $body The request body * @param SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SwapShiftsChangeRequest $body, ?SwapShiftsChangeRequestsReq } /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. * @param SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SwapShiftsChangeRequestsRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + * Create an instance of a swapShiftsChangeRequest object. * @param SwapShiftsChangeRequest $body The request body * @param SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SwapShiftsChangeRequest $body, ?SwapShi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php index eb10b648755..f4f4523a596 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of swapShiftsChangeRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of swapShiftsChangeRequest objects in the team. */ class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index 4af2342ffed..214a75297ad 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. * @param TimeOffReasonItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffReasonItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. * @param TimeOffReasonItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(TimeOffReason $body, ?TimeOffReasonItemRequestBuilderPatch } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. * @param TimeOffReasonItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?TimeOffReasonItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. * @param TimeOffReasonItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TimeOffReasonItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TimeOffReason $body, ?TimeOffReasonIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php index 53756c4eb51..34ad3e7fda5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOffReason object by ID. */ class TimeOffReasonItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 6c3431b2dd3..de451d7d40f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. * @param TimeOffReasonsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TimeOffReasonsRequestBuilderGetRequestConfiguration $reques } /** - * Create a new timeOffReason. This API is available in the following national cloud deployments. + * Create a new timeOffReason. * @param TimeOffReason $body The request body * @param TimeOffReasonsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TimeOffReason $body, ?TimeOffReasonsRequestBuilderPostReque } /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. * @param TimeOffReasonsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TimeOffReasonsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new timeOffReason. This API is available in the following national cloud deployments. + * Create a new timeOffReason. * @param TimeOffReason $body The request body * @param TimeOffReasonsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TimeOffReason $body, ?TimeOffReasonsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php index f6867db59e8..542cd87e4fb 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOffReasons in a schedule. */ class TimeOffReasonsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 97a3e9fadb2..fc64e7bf893 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a timeOffRequest object. This API is available in the following national cloud deployments. + * Delete a timeOffRequest object. * @param TimeOffRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffRequestItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. * @param TimeOffRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(TimeOffRequest $body, ?TimeOffRequestItemRequestBuilderPat } /** - * Delete a timeOffRequest object. This API is available in the following national cloud deployments. + * Delete a timeOffRequest object. * @param TimeOffRequestItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TimeOffRequestItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. * @param TimeOffRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TimeOffRequestItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TimeOffRequest $body, ?TimeOffRequestI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php index 5e532f78df8..67edbfe9a77 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeoffrequest object. */ class TimeOffRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index d8ee85320b2..66e44ddd615 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. * @param TimeOffRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(TimeOffRequest $body, ?TimeOffRequestsRequestBuilderPostReq } /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. * @param TimeOffRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TimeOffRequestsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(TimeOffRequest $body, ?TimeOffRequestsR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php index 3563b29f4cd..5435e331dc7 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of timeOffRequest objects in the team. This API is available in the following national cloud deployments. + * Retrieve a list of timeOffRequest objects in the team. */ class TimeOffRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index 1c41a004713..95af347de5b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + * Delete a timeOff instance from a schedule. * @param TimeOffItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TimeOffItemRequestBuilderDeleteRequestConfiguration $req } /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. * @param TimeOffItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -80,7 +80,7 @@ public function patch(TimeOff $body, ?TimeOffItemRequestBuilderPatchRequestConfi } /** - * Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + * Delete a timeOff instance from a schedule. * @param TimeOffItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?TimeOffItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. * @param TimeOffItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?TimeOffItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(TimeOff $body, ?TimeOffItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php index 43fb708ad67..1bcef4ccffb 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a timeOff object by ID. */ class TimeOffItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php index 6fba7d63032..0b1999eb2ca 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. * @param TimesOffRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TimesOffRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + * Create a new timeOff instance in a schedule. * @param TimeOff $body The request body * @param TimesOffRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TimeOff $body, ?TimesOffRequestBuilderPostRequestConfigurat } /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. * @param TimesOffRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TimesOffRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + * Create a new timeOff instance in a schedule. * @param TimeOff $body The request body * @param TimesOffRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TimeOff $body, ?TimesOffRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php index b42184c97e0..16ab890f236 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + * Get the list of timeOff instances in a schedule. */ class TimesOffRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php index 27607f12f47..7c13023a520 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationPostRequestBody $body, ?SendActivit } /** - * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php index 18d3d1d3153..da7e523085b 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + * Delete a member from a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?TeamworkTagMemberItemRequestBuilderDeleteRequestConfigur } /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(TeamworkTagMember $body, ?TeamworkTagMemberItemRequestBuil } /** - * Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + * Delete a member from a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?TeamworkTagMemberItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. * @param TeamworkTagMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?TeamworkTagMemberItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(TeamworkTagMember $body, ?TeamworkTagM $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php index 449b3e8dd7a..9cbd1935cbe 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + * Get the properties and relationships of a member of a standard tag in a team. */ class TeamworkTagMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.php index a23888c0c19..a719b1415d9 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + * Create a new teamworkTagMember object in a team. * @param TeamworkTagMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamworkTagMember $body, ?MembersRequestBuilderPostRequestC } /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + * Create a new teamworkTagMember object in a team. * @param TeamworkTagMember $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamworkTagMember $body, ?MembersReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php index dcfbaad49e4..4016dc37f99 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + * Get a list of the members of a standard tag in a team and their properties. */ class MembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php index 3cf2d7444d5..2f730f20b49 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a tag object permanently. This API is available in the following national cloud deployments. + * Delete a tag object permanently. * @param TeamworkTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?TeamworkTagItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. * @param TeamworkTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?TeamworkTagItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of a tag object. This API is available in the following national cloud deployments. + * Update the properties of a tag object. * @param TeamworkTag $body The request body * @param TeamworkTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -88,7 +88,7 @@ public function patch(TeamworkTag $body, ?TeamworkTagItemRequestBuilderPatchRequ } /** - * Delete a tag object permanently. This API is available in the following national cloud deployments. + * Delete a tag object permanently. * @param TeamworkTagItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toDeleteRequestInformation(?TeamworkTagItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. * @param TeamworkTagItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -122,12 +122,12 @@ public function toGetRequestInformation(?TeamworkTagItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a tag object. This API is available in the following national cloud deployments. + * Update the properties of a tag object. * @param TeamworkTag $body The request body * @param TeamworkTagItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -141,7 +141,7 @@ public function toPatchRequestInformation(TeamworkTag $body, ?TeamworkTagItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php index 4d61ed98ae1..944ea51698e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a tag object. */ class TeamworkTagItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php index d5975ac60a8..28a460657d3 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?TagsRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Create a standard tag for members in a team. This API is available in the following national cloud deployments. + * Create a standard tag for members in a team. * @param TeamworkTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(TeamworkTag $body, ?TagsRequestBuilderPostRequestConfigurat } /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. * @param TagsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?TagsRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a standard tag for members in a team. This API is available in the following national cloud deployments. + * Create a standard tag for members in a team. * @param TeamworkTag $body The request body * @param TagsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(TeamworkTag $body, ?TagsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilderGetQueryParameters.php index b6d06cd5cc3..e856720ea27 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the tag objects and their properties. */ class TagsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.php index 21de19fe88a..b46f20368ed 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.php @@ -234,7 +234,7 @@ public function toDeleteRequestInformation(?TeamItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -255,7 +255,7 @@ public function toGetRequestInformation(?TeamItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -274,7 +274,7 @@ public function toPatchRequestInformation(Team $body, ?TeamItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.php index a99739d0351..6c7b73e3fdb 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TemplateRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php index ff15acbe294..b8ae16df43d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?UnarchiveRequestBuilderPostRequestConfiguration $requestCo } /** - * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + * Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. * @param UnarchiveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?UnarchiveRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.php index 072508ba85e..a8507b9d8c1 100644 --- a/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the teams in Microsoft Teams that the user is a direct member of. This API is available in the following national cloud deployments. + * Get the teams in Microsoft Teams that the user is a direct member of. * @param JoinedTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function post(Team $body, ?JoinedTeamsRequestBuilderPostRequestConfigurat } /** - * Get the teams in Microsoft Teams that the user is a direct member of. This API is available in the following national cloud deployments. + * Get the teams in Microsoft Teams that the user is a direct member of. * @param JoinedTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +108,7 @@ public function toGetRequestInformation(?JoinedTeamsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toPostRequestInformation(Team $body, ?JoinedTeamsRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilderGetQueryParameters.php index b1cc7d50327..3df8b4de12b 100644 --- a/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the teams in Microsoft Teams that the user is a direct member of. This API is available in the following national cloud deployments. + * Get the teams in Microsoft Teams that the user is a direct member of. */ class JoinedTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.php b/src/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.php index 0837c8b8c2e..ac5fe3c5d0b 100644 --- a/src/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.php +++ b/src/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?LicenseDetailsItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?LicenseDetailsItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(LicenseDetails $body, ?LicenseDetailsI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.php b/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.php index 251ea8154e1..c4e2cce3251 100644 --- a/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.php +++ b/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. This API is available in the following national cloud deployments. + * Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. * @param LicenseDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(LicenseDetails $body, ?LicenseDetailsRequestBuilderPostRequ } /** - * Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. This API is available in the following national cloud deployments. + * Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. * @param LicenseDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?LicenseDetailsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(LicenseDetails $body, ?LicenseDetailsRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilderGetQueryParameters.php index 819de4b7a5c..88f098690cb 100644 --- a/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. This API is available in the following national cloud deployments. + * Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. */ class LicenseDetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php index 36f65d13a1f..970d4825dbc 100644 --- a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php index 626e17717e8..c3175aad461 100644 --- a/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php index dd59e81b1bf..ffc6f271526 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?ChildFoldersRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. + * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0 Find more info here */ public function post(MailFolder $body, ?ChildFoldersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ChildFoldersRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. + * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(MailFolder $body, ?ChildFoldersRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php index 6cdb664b5d4..a856521c2b0 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php index e667dea1044..e932555a538 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + * Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.php index 5e79b36410e..b71508efd67 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Copy a mailfolder and its contents to another mailfolder. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Copy a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Copy a mailfolder and its contents to another mailfolder. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.php index 4678d1e0a9a..b1a68315020 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?MailFolderItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?MailFolderItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(MailFolder $body, ?MailFolderItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php index c3c7cbd4e86..db717e7d91d 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the specified messageRule object. This API is available in the following national cloud deployments. + * Delete the specified messageRule object. * @param MessageRuleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?MessageRuleItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a messageRule object. * @param MessageRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?MessageRuleItemRequestBuilderGetRequestConfiguration $reque } /** - * Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + * Change writable properties on a messageRule object and save the changes. * @param MessageRule $body The request body * @param MessageRuleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(MessageRule $body, ?MessageRuleItemRequestBuilderPatchRequ } /** - * Delete the specified messageRule object. This API is available in the following national cloud deployments. + * Delete the specified messageRule object. * @param MessageRuleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?MessageRuleItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a messageRule object. * @param MessageRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?MessageRuleItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + * Change writable properties on a messageRule object and save the changes. * @param MessageRule $body The request body * @param MessageRuleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MessageRule $body, ?MessageRuleItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php index 1ffaf9257ac..701392bed7e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a messageRule object. */ class MessageRuleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php index 67c0eace3ad..41f312b12d0 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + * Get all the messageRule objects defined for the user's inbox. * @param MessageRulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?MessageRulesRequestBuilderGetRequestConfiguration $requestC } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(MessageRule $body, ?MessageRulesRequestBuilderPostRequestCo } /** - * Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + * Get all the messageRule objects defined for the user's inbox. * @param MessageRulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?MessageRulesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(MessageRule $body, ?MessageRulesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php index 0b80729484f..2aa7ae00e55 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + * Get all the messageRule objects defined for the user's inbox. */ class MessageRulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php index 4a16d41406f..83ec8496810 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php @@ -21,7 +21,7 @@ class DeltaRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/delta(){?changeType*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 3cb3bb1fce2..26554af1068 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,10 +5,15 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { + /** + * @var string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. + */ + public ?string $changeType = null; + /** * @QueryParameter("%24count") * @var bool|null $count Include count of items @@ -53,6 +58,7 @@ class DeltaRequestBuilderGetQueryParameters /** * Instantiates a new deltaRequestBuilderGetQueryParameters and sets the default values. + * @param string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -61,7 +67,8 @@ class DeltaRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + public function __construct(?string $changeType = null, ?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->changeType = $changeType; $this->count = $count; $this->filter = $filter; $this->orderby = $orderby; diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php index db6af82b74d..29334a10684 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php @@ -28,6 +28,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Del /** * Instantiates a new deltaRequestBuilderGetQueryParameters. + * @param string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Del * @param int|null $top Show only the first n items * @return DeltaRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { - return new DeltaRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?string $changeType = null, ?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { + return new DeltaRequestBuilderGetQueryParameters($changeType, $count, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 831e4fda485..7ce30d45270 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 3d8348f5ec2..adfe384f1e1 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index fe7c045bf41..59be650d487 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 017cb24912e..e6b8bc8c9b7 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,12 +75,12 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php index 2d0a7af29de..296b4f61170 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. */ class AttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php index d84ed0081e4..228ab3bf9fe 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + * Copy a message to a folder within the user's mailbox. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + * Copy a message to a folder within the user's mailbox. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php index 6c0e2cdf9b5..6b7c690b90a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. * @param CreateForwardPostRequestBody $body The request body * @param CreateForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateForwardPostRequestBody $body, ?CreateForwardRequestBu } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. * @param CreateForwardPostRequestBody $body The request body * @param CreateForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateForwardPostRequestBody $body, ?Cr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php index e6088892a16..e25d06f66d1 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. * @param CreateReplyPostRequestBody $body The request body * @param CreateReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateReplyPostRequestBody $body, ?CreateReplyRequestBuilde } /** - * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. * @param CreateReplyPostRequestBody $body The request body * @param CreateReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateReplyPostRequestBody $body, ?Crea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php index 9c1d4aa2ce4..de99c3dc9a7 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateReplyAllPostRequestBody $body, ?CreateReplyAllRequest } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateReplyAllPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php index c4f1aee7e70..66c217df82a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index dfd4aa7c5dc..99299658fdd 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 801dc8f62de..37fd2ab8702 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(Extension $body, ?ExtensionItemRequestBuilderPatchRequestC } /** - * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 4e19a174c65..0de5e9b9490 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php index 7b27aad274d..08c5fc90dae 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.php index 04d8c9b9d4c..e1f662b4048 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.php @@ -186,7 +186,7 @@ public function toDeleteRequestInformation(?MessageItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -207,7 +207,7 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -226,7 +226,7 @@ public function toPatchRequestInformation(Message $body, ?MessageItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.php index 4f0573a95f5..d5014a05d18 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MovePostRequestBody $body, ?MoveRequestBuilderPostRequestCo } /** - * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MovePostRequestBody $body, ?MoveRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php index 6cbdf1bf678..01c2baed3a3 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. This API is available in the following national cloud deployments. + * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. This API is available in the following national cloud deployments. + * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php index aa7917528a8..3f53f69fb69 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. This API is available in the following national cloud deployments. + * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. * @param ReplyAllPostRequestBody $body The request body * @param ReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyAllPostRequestBody $body, ?ReplyAllRequestBuilderPostR } /** - * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. This API is available in the following national cloud deployments. + * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. * @param ReplyAllPostRequestBody $body The request body * @param ReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyAllPostRequestBody $body, ?ReplyAl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php index 4b147a3ebd0..d3e234cf61d 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SendRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SendRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.php index f95feb5a52d..6a98e9c000b 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.php index db78d6c8668..4a364bd67d3 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + * Use this API to create a new Message in a mailfolder. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Message $body, ?MessagesRequestBuilderPostRequestConfigurat } /** - * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + * Use this API to create a new Message in a mailfolder. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Message $body, ?MessagesRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index e9c7195b752..29e5d1b3b1a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.php index 725f61fc87d..02386392afb 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Move a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Move a mailfolder and its contents to another mailfolder. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MovePostRequestBody $body, ?MoveRequestBuilderPostRequestCo } /** - * Move a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Move a mailfolder and its contents to another mailfolder. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MovePostRequestBody $body, ?MoveRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.php index f8435395399..9c6548ab1a9 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Copy a mailfolder and its contents to another mailfolder. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Copy a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Copy a mailfolder and its contents to another mailfolder. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php index 02151fa9042..1ceab24c104 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. This API is available in the following national cloud deployments. + * Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. * @param MailFolderItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,12 +103,12 @@ public function get(?MailFolderItemRequestBuilderGetRequestConfiguration $reques } /** - * Update the properties of mailfolder object. This API is available in the following national cloud deployments. + * Update the writable properties of a mailSearchFolder object. * @param MailFolder $body The request body * @param MailFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailsearchfolder-update?view=graph-rest-1.0 Find more info here */ public function patch(MailFolder $body, ?MailFolderItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -120,7 +120,7 @@ public function patch(MailFolder $body, ?MailFolderItemRequestBuilderPatchReques } /** - * Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. This API is available in the following national cloud deployments. + * Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. * @param MailFolderItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,7 +133,7 @@ public function toDeleteRequestInformation(?MailFolderItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,12 +154,12 @@ public function toGetRequestInformation(?MailFolderItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of mailfolder object. This API is available in the following national cloud deployments. + * Update the writable properties of a mailSearchFolder object. * @param MailFolder $body The request body * @param MailFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(MailFolder $body, ?MailFolderItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php index 15226d53462..fd3405c12bb 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the specified messageRule object. This API is available in the following national cloud deployments. + * Delete the specified messageRule object. * @param MessageRuleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?MessageRuleItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a messageRule object. * @param MessageRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?MessageRuleItemRequestBuilderGetRequestConfiguration $reque } /** - * Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + * Change writable properties on a messageRule object and save the changes. * @param MessageRule $body The request body * @param MessageRuleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(MessageRule $body, ?MessageRuleItemRequestBuilderPatchRequ } /** - * Delete the specified messageRule object. This API is available in the following national cloud deployments. + * Delete the specified messageRule object. * @param MessageRuleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?MessageRuleItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a messageRule object. * @param MessageRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?MessageRuleItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + * Change writable properties on a messageRule object and save the changes. * @param MessageRule $body The request body * @param MessageRuleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(MessageRule $body, ?MessageRuleItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php index 59af1decf04..c3c6abc3227 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + * Get the properties and relationships of a messageRule object. */ class MessageRuleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php index 5b2ce0761a7..847b052aafa 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + * Get all the messageRule objects defined for the user's inbox. * @param MessageRulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?MessageRulesRequestBuilderGetRequestConfiguration $requestC } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(MessageRule $body, ?MessageRulesRequestBuilderPostRequestCo } /** - * Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + * Get all the messageRule objects defined for the user's inbox. * @param MessageRulesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?MessageRulesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + * Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. * @param MessageRule $body The request body * @param MessageRulesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(MessageRule $body, ?MessageRulesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php index 1dcf275e7ce..d87a2f4ce9a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + * Get all the messageRule objects defined for the user's inbox. */ class MessageRulesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php index 9b75aa95bb1..79421d8c378 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php @@ -21,7 +21,7 @@ class DeltaRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/delta(){?changeType*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 3e3e374c395..f090eceddd5 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,10 +5,15 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { + /** + * @var string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. + */ + public ?string $changeType = null; + /** * @QueryParameter("%24count") * @var bool|null $count Include count of items @@ -53,6 +58,7 @@ class DeltaRequestBuilderGetQueryParameters /** * Instantiates a new deltaRequestBuilderGetQueryParameters and sets the default values. + * @param string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -61,7 +67,8 @@ class DeltaRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + public function __construct(?string $changeType = null, ?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->changeType = $changeType; $this->count = $count; $this->filter = $filter; $this->orderby = $orderby; diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php index 2ef75b80784..582a762f7a4 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php @@ -28,6 +28,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Del /** * Instantiates a new deltaRequestBuilderGetQueryParameters. + * @param string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Del * @param int|null $top Show only the first n items * @return DeltaRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { - return new DeltaRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?string $changeType = null, ?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { + return new DeltaRequestBuilderGetQueryParameters($changeType, $count, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 81188d86343..f06e12d48bb 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index b6e484f70a7..024ee112581 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 32e81fa17c0..324705a8dcb 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 73575455633..92fba6533bf 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,12 +75,12 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php index 1ed3eded253..17e11361404 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. */ class AttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php index 24d63c2efc7..0b655eb8284 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + * Copy a message to a folder within the user's mailbox. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + * Copy a message to a folder within the user's mailbox. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php index 99ca7ed77a8..ce58401fbed 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. * @param CreateForwardPostRequestBody $body The request body * @param CreateForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateForwardPostRequestBody $body, ?CreateForwardRequestBu } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. * @param CreateForwardPostRequestBody $body The request body * @param CreateForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateForwardPostRequestBody $body, ?Cr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php index 8f9035762ce..07d3dbc86c8 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. * @param CreateReplyPostRequestBody $body The request body * @param CreateReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateReplyPostRequestBody $body, ?CreateReplyRequestBuilde } /** - * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. * @param CreateReplyPostRequestBody $body The request body * @param CreateReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateReplyPostRequestBody $body, ?Crea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php index 2e58f922a08..6ccf0bd6b3e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateReplyAllPostRequestBody $body, ?CreateReplyAllRequest } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateReplyAllPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php index acdf5db40d6..3b1a44be58a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index bad4651b547..3c686b78610 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 3e2a52ad5f4..d09a9f51d59 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(Extension $body, ?ExtensionItemRequestBuilderPatchRequestC } /** - * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 0b1ed415016..5a630f52584 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php index 9f6f978396b..7d690ed6a6a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.php index 5ffe1e6f1f0..21135b3c084 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.php @@ -186,7 +186,7 @@ public function toDeleteRequestInformation(?MessageItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -207,7 +207,7 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -226,7 +226,7 @@ public function toPatchRequestInformation(Message $body, ?MessageItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.php index 7608ce4a4b4..57d4276199f 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MovePostRequestBody $body, ?MoveRequestBuilderPostRequestCo } /** - * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MovePostRequestBody $body, ?MoveRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php index 73893672ca9..aa1f40d42fd 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. This API is available in the following national cloud deployments. + * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. This API is available in the following national cloud deployments. + * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php index 60ffbafca32..af90a3f5b2e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. This API is available in the following national cloud deployments. + * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. * @param ReplyAllPostRequestBody $body The request body * @param ReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyAllPostRequestBody $body, ?ReplyAllRequestBuilderPostR } /** - * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. This API is available in the following national cloud deployments. + * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. * @param ReplyAllPostRequestBody $body The request body * @param ReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyAllPostRequestBody $body, ?ReplyAl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php index c0afcdb33d5..da66eb6c893 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SendRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SendRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.php index 108cf638c13..0d34dbe5dda 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.php index d55e2463e35..c2df0c6b28a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + * Use this API to create a new Message in a mailfolder. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(Message $body, ?MessagesRequestBuilderPostRequestConfigurat } /** - * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. * @param MessagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + * Use this API to create a new Message in a mailfolder. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Message $body, ?MessagesRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php index b005079f078..480c492263a 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + * Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. */ class MessagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php index f922443b675..17d90c493e2 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Move a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Move a mailfolder and its contents to another mailfolder. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MovePostRequestBody $body, ?MoveRequestBuilderPostRequestCo } /** - * Move a mailfolder and its contents to another mailfolder. This API is available in the following national cloud deployments. + * Move a mailfolder and its contents to another mailfolder. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MovePostRequestBody $body, ?MoveRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.php b/src/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.php index af291078b6d..fad200289bb 100644 --- a/src/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.php @@ -76,7 +76,7 @@ public function get(?MailFoldersRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + * Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param MailFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MailFoldersRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + * Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param MailFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(MailFolder $body, ?MailFoldersRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.php index b182bb550ba..3d3da66d8c8 100644 --- a/src/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.php +++ b/src/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSetting $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index 5c3fcfe98e0..33c9d8af6de 100644 --- a/src/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ManagedAppRegistrationItemRequestBuilde } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 909eabf22fd..690d3346a3c 100644 --- a/src/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?ManagedAppRegistrationsRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php index 96a1ad77718..5fcedd90079 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?BypassActivationLockRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php index 0ab36b15a96..0269563fe44 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(CleanWindowsDevicePostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php index 6ab2d32cf06..ebc4a99559e 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(DeleteUserFromSharedAppleDevicePostRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php index 222cff1d72b..5b40c1ebe18 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?DeviceCategoryRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DeviceCategoryRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(DeviceCategory $body, ?DeviceCategoryR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php index 973585bf655..bced258495b 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyStatesRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceCompliancePolicyState $body, ?Dev $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php index 61f367da08d..1c7f5428bb5 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyStateItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyStateItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceCompliancePolicyState $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php index d01ff5cdae2..460d353e3f5 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?DeviceConfigurationStatesRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceConfigurationState $body, ?Device $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php index d36e7424295..de6aa932616 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationStateItemRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?DeviceConfigurationStateItemRequestBuil } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(DeviceConfigurationState $body, ?Devic $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php index b49e7b917d5..9fbfd52cc8d 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?DisableLostModeRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php index f4f1034f14e..4a3ec44b36f 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?LocateDeviceRequestBuilderPostRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php index 77a45c7b51a..032bbcfc2ac 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?CreateDownloadUrlRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php index 81e682ac6d5..522808f64da 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?DeviceLogCollectionResponseItemReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?DeviceLogCollectionResponseItemRequestB } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(DeviceLogCollectionResponse $body, ?De $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php index d909681d925..11909b6986b 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?LogCollectionRequestsRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(DeviceLogCollectionResponse $body, ?Log $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php index 48aed14cecf..ef3dc1a27e3 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?LogoutSharedAppleDeviceActiveUserReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php index 3a84cca6dd7..dc0b656152c 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.php @@ -282,7 +282,7 @@ public function toDeleteRequestInformation(?ManagedDeviceItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -303,7 +303,7 @@ public function toGetRequestInformation(?ManagedDeviceItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -322,7 +322,7 @@ public function toPatchRequestInformation(ManagedDevice $body, ?ManagedDeviceIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php index fd0355ef485..3dcf0b44656 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RebootNowRequestBuilderPostRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php index db1302688d1..1c822acbd7e 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RecoverPasscodeRequestBuilderPostReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php index fb837c9a63c..f8d29cdbc65 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoteLockRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php index 4f0e4b2c5fa..88081edc29f 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RequestRemoteAssistanceRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php index 84eb3debe34..6a5447227ac 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ResetPasscodeRequestBuilderPostRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.php index b302ad20af8..8f85f5efe5d 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RetireRequestBuilderPostRequestConfigu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php index 51b21d56fb0..952fc9c3f8f 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ShutDownRequestBuilderPostRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php index fe1ac69a5b0..eaa03fff9d2 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SyncDeviceRequestBuilderPostRequestCon $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php index 1599e545064..18879e7abbf 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(UpdateWindowsDeviceAccountPostRequestBo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.php index b5a167088b1..f6fab220c61 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.php @@ -63,7 +63,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php index a90ada38403..171aa47979d 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WindowsDefenderScanPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php index 4a255a03337..0d2a9bd03b9 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?WindowsDefenderUpdateSignaturesRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php index ad5fb0b0873..a704cee1a14 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.php @@ -101,7 +101,7 @@ public function toGetRequestInformation(?DetectedMalwareStateRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -120,7 +120,7 @@ public function toPostRequestInformation(WindowsDeviceMalwareState $body, ?Detec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php index 975d94177d6..41e2f3fb369 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.php @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?WindowsDeviceMalwareStateItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -114,7 +114,7 @@ public function toGetRequestInformation(?WindowsDeviceMalwareStateItemRequestBui } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -133,7 +133,7 @@ public function toPatchRequestInformation(WindowsDeviceMalwareState $body, ?Wind $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php index a7a675664d7..d4031ad656e 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.php @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?WindowsProtectionStateRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -121,7 +121,7 @@ public function toGetRequestInformation(?WindowsProtectionStateRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -140,7 +140,7 @@ public function toPatchRequestInformation(WindowsProtectionState $body, ?Windows $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.php index da82550e3f1..1f9741fe891 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WipePostRequestBody $body, ?WipeRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.php index 7656168d09a..10795571723 100644 --- a/src/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ManagedDevicesRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ManagedDevice $body, ?ManagedDevicesReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php b/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php index d3c8621907d..da3e6092a28 100644 --- a/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php +++ b/src/Generated/Users/Item/Manager/ManagerRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user's manager. This API is available in the following national cloud deployments. + * Remove a user's manager. * @param ManagerRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?ManagerRequestBuilderDeleteRequestConfiguration $request } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. * @param ManagerRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?ManagerRequestBuilderGetRequestConfiguration $requestConfig } /** - * Remove a user's manager. This API is available in the following national cloud deployments. + * Remove a user's manager. * @param ManagerRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -84,12 +84,12 @@ public function toDeleteRequestInformation(?ManagerRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. * @param ManagerRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -105,7 +105,7 @@ public function toGetRequestInformation(?ManagerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Manager/ManagerRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Manager/ManagerRequestBuilderGetQueryParameters.php index 2bae3ad5996..82da30c8573 100644 --- a/src/Generated/Users/Item/Manager/ManagerRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Manager/ManagerRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. */ class ManagerRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php b/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php index 2bd4500fe94..803a8c65bd5 100644 --- a/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php +++ b/src/Generated/Users/Item/Manager/Ref/RefRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Remove a user's manager. This API is available in the following national cloud deployments. + * Remove a user's manager. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -65,7 +65,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Assign a user's manager. This API is available in the following national cloud deployments. + * Assign a user's manager. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -82,7 +82,7 @@ public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfigura } /** - * Remove a user's manager. This API is available in the following national cloud deployments. + * Remove a user's manager. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,12 +95,12 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Assign a user's manager. This API is available in the following national cloud deployments. + * Assign a user's manager. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 9aa092b29dc..899227a9b29 100644 --- a/src/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index 2fb7127a7d3..663babdea4e 100644 --- a/src/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php index e0364fea7a9..ce9c3497b38 100644 --- a/src/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php index c56d2e9a1a2..c1bc1a66396 100644 --- a/src/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index c0d1c31f3c8..3e5eb64208b 100644 --- a/src/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index a0c05b43374..773bb7f2e8f 100644 --- a/src/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index b8194dd641c..3aeb428ee65 100644 --- a/src/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.php b/src/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.php index f08e9b99a5c..2490cf098c3 100644 --- a/src/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.php +++ b/src/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?MemberOfRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php index 93c2f5ecdbf..1af04cdfb45 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php @@ -21,7 +21,7 @@ class DeltaRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/messages/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/messages/delta(){?changeType*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index aa99e6dafd3..6c1d7f84766 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,10 +5,15 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { + /** + * @var string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. + */ + public ?string $changeType = null; + /** * @QueryParameter("%24count") * @var bool|null $count Include count of items @@ -53,6 +58,7 @@ class DeltaRequestBuilderGetQueryParameters /** * Instantiates a new deltaRequestBuilderGetQueryParameters and sets the default values. + * @param string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -61,7 +67,8 @@ class DeltaRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + public function __construct(?string $changeType = null, ?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->changeType = $changeType; $this->count = $count; $this->filter = $filter; $this->orderby = $orderby; diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php index e9a6cb56d8e..fcb43940777 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetRequestConfiguration.php @@ -28,6 +28,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Del /** * Instantiates a new deltaRequestBuilderGetQueryParameters. + * @param string|null $changeType A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Del * @param int|null $top Show only the first n items * @return DeltaRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { - return new DeltaRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?string $changeType = null, ?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { + return new DeltaRequestBuilderGetQueryParameters($changeType, $count, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index ebcff7b8796..771202708e5 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Attachment $body, ?AttachmentsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index cbd59783ccb..185c6a1ec04 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index a9106e54603..d62397b0b95 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php index 65ec3c3410a..95dc07ce06d 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AttachmentItemRequestBuilderDeleteRequestConfiguration $ } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -75,12 +75,12 @@ public function toDeleteRequestInformation(?AttachmentItemRequestBuilderDeleteRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. * @param AttachmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,7 +96,7 @@ public function toGetRequestInformation(?AttachmentItemRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php index 7dffb59cf72..187ebcc8e0a 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. */ class AttachmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php index 1b86a594350..28b271d1d2f 100644 --- a/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + * Copy a message to a folder within the user's mailbox. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + * Copy a message to a folder within the user's mailbox. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyPostRequestBody $body, ?CopyRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php index 51a9d2cc99f..4247731ce60 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. * @param CreateForwardPostRequestBody $body The request body * @param CreateForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateForwardPostRequestBody $body, ?CreateForwardRequestBu } /** - * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. * @param CreateForwardPostRequestBody $body The request body * @param CreateForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateForwardPostRequestBody $body, ?Cr $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php index 93ae4b8a7e3..de280da9e6f 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. * @param CreateReplyPostRequestBody $body The request body * @param CreateReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateReplyPostRequestBody $body, ?CreateReplyRequestBuilde } /** - * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. * @param CreateReplyPostRequestBody $body The request body * @param CreateReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateReplyPostRequestBody $body, ?Crea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php index 4b2f390c200..81ca9e94fd4 100644 --- a/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateReplyAllPostRequestBody $body, ?CreateReplyAllRequest } /** - * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + * Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. * @param CreateReplyAllPostRequestBody $body The request body * @param CreateReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateReplyAllPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php index 966724e579d..945de0de47c 100644 --- a/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?ExtensionsRequestBuilderGetRequestConfiguration $requestCon } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -84,7 +84,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,12 +100,12 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * 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. This API is available in the following national cloud deployments. + * 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. * @param Extension $body The request body * @param ExtensionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 5b40083310d..9bb924fdac8 100644 --- a/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 6506cfcac1f..96388d0ff40 100644 --- a/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function patch(Extension $body, ?ExtensionItemRequestBuilderPatchRequestC } /** - * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + * Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. * @param ExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index 3e898ad4e76..3254ebbda59 100644 --- a/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php index f3e78ab9f4d..950c20b4484 100644 --- a/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ForwardPostRequestBody $body, ?ForwardRequestBuilderPostReq } /** - * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + * Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. * @param ForwardPostRequestBody $body The request body * @param ForwardRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ForwardPostRequestBody $body, ?ForwardR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php index c0d1974d4c3..c76db17d8ee 100644 --- a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php @@ -127,7 +127,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete eventMessage. This API is available in the following national cloud deployments. + * Delete eventMessage. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -147,7 +147,7 @@ public function delete(?MessageItemRequestBuilderDeleteRequestConfiguration $req * @param MessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 Find more info here */ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -159,12 +159,12 @@ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of an eventMessage object. This API is available in the following national cloud deployments. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 Find more info here */ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -176,7 +176,7 @@ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfi } /** - * Delete eventMessage. This API is available in the following national cloud deployments. + * Delete eventMessage. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -189,7 +189,7 @@ public function toDeleteRequestInformation(?MessageItemRequestBuilderDeleteReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -210,12 +210,12 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of an eventMessage object. This API is available in the following national cloud deployments. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -229,7 +229,7 @@ public function toPatchRequestInformation(Message $body, ?MessageItemRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.php index 09740f85356..f0e30a001b5 100644 --- a/src/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(MovePostRequestBody $body, ?MoveRequestBuilderPostRequestCo } /** - * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + * Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. * @param MovePostRequestBody $body The request body * @param MoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(MovePostRequestBody $body, ?MoveRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.php index 9520a9a76bb..41e43fc2c66 100644 --- a/src/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. This API is available in the following national cloud deployments. + * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. This API is available in the following national cloud deployments. + * Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyPostRequestBody $body, ?ReplyReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php index 62395b2bc40..85ca7bdf6ec 100644 --- a/src/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. This API is available in the following national cloud deployments. + * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. * @param ReplyAllPostRequestBody $body The request body * @param ReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ReplyAllPostRequestBody $body, ?ReplyAllRequestBuilderPostR } /** - * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. This API is available in the following national cloud deployments. + * Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. * @param ReplyAllPostRequestBody $body The request body * @param ReplyAllRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ReplyAllPostRequestBody $body, ?ReplyAl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php index 2715bbf5d3a..f3e5eecd8c1 100644 --- a/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?SendRequestBuilderPostRequestConfiguration $requestConfigu } /** - * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + * Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. * @param SendRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?SendRequestBuilderPostRequestConfigura $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php index b358c78ce9f..dad243d081a 100644 --- a/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php index d72196325e0..76ce3c9b2e7 100644 --- a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php @@ -76,7 +76,7 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -109,12 +109,12 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. * @param Message $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(Message $body, ?MessagesRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php b/src/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php index 6869ac93b1e..a3f81b086b8 100644 --- a/src/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php +++ b/src/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?OAuth2PermissionGrantItemRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php b/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php index ac6f7f76e85..4c844ce2745 100644 --- a/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php +++ b/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. * @param Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration } /** - * Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. * @param Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?Oauth2PermissionGrantsRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php index 96f384b40ba..769a0a2f0a0 100644 --- a/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. This API is available in the following national cloud deployments. + * Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. */ class Oauth2PermissionGrantsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php index d9410eba3e0..fe5f436ac06 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(GetNotebookFromWebUrlPostRequestBody $body, ?GetNotebookFro } /** - * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. * @param GetNotebookFromWebUrlPostRequestBody $body The request body * @param GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(GetNotebookFromWebUrlPostRequestBody $b $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php index 5291117d8f4..7e2bb44cf35 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?GetRecentNotebooksWithIncludePersonalNo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php index e1f8e3b748c..4fc817fb7e4 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyNotebookPostRequestBody $body, ?CopyNotebookRequestBuil } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyNotebookPostRequestBody $body The request body * @param CopyNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyNotebookPostRequestBody $body, ?Cop $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php index c5ab46c2258..26ff086094d 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.php @@ -70,7 +70,7 @@ public function delete(?NotebookItemRequestBuilderDeleteRequestConfiguration $re } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -115,12 +115,12 @@ public function toDeleteRequestInformation(?NotebookItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. * @param NotebookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?NotebookItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -155,7 +155,7 @@ public function toPatchRequestInformation(Notebook $body, ?NotebookItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php index 74feb6c452b..39aea99ef93 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a notebook object. */ class NotebookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 6787d8c77f8..f05ca571cb8 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index df93d617fdd..304cc48b598 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 7ec8757aa3e..5c556a350cd 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 22954d29003..131ef7d0267 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index 64a3b8e2170..b45d31a6049 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 6e722bf3ff8..d4e5d0a43e9 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index f72e0c6f7b8..1dacd03e171 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index f60e79dc71f..c4c6e2db559 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 6a1c739d1ab..d4dea246e53 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 40a60d61d0a..a1ac33b0207 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index f0f8dbbec21..b4627d3e84c 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 8c23430839b..98f8695243c 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index af6336bf6a3..214e3a0738f 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 35e510d09f7..3a8f7d28161 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 47cd1af0c20..135522a182e 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index af73fbc3941..a0bc41daf73 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index 016d6b0abec..a02b658c652 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index a85c6c6a7d2..e2ab9afb558 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index c1dc787c68f..e6364303480 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 349115e89f6..1e99775cecc 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php index bde732634a7..bc3fa5ab477 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index bbd2905b8b2..590df7396a2 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php index 80c8a0833dc..1826a6c9652 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + * Create a new section group in the specified notebook. * @param SectionGroup $body The request body * @param SectionGroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index a2d60226b29..24cb352b6a9 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified notebook. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 01e78322444..c984cf4490b 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 3240b6ab7dd..e5442e725bd 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 78218f7be58..402b6168b28 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index b7fbf35c28c..7264e01e880 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 05151f20e0e..17e2b3173dc 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index e0ef9c8935d..802f307cf23 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 2094fb590e0..9137aef8928 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index ee49ff9081a..467fe26d782 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 0570c879acf..efeef755014 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index d1a93e88129..eadc8c51956 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php index 6a98c22601c..358838292b2 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index dfa2d205959..623000cc65c 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 688a42573fd..8e0e44bca01 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index d60623a35cc..53977d99497 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php index 26975374d4c..fb5022aed2a 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified notebook. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified notebook. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 12a0e1d1ab3..cb669fc68d0 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified notebook. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified notebook. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php b/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php index 881d86fdc26..64c83f31540 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.php @@ -61,7 +61,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -86,7 +86,7 @@ public function getRecentNotebooksWithIncludePersonalNotebooks(bool $includePers } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -103,7 +103,7 @@ public function post(Notebook $body, ?NotebooksRequestBuilderPostRequestConfigur } /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. * @param NotebooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,12 +119,12 @@ public function toGetRequestInformation(?NotebooksRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote notebook. This API is available in the following national cloud deployments. + * Create a new OneNote notebook. * @param Notebook $body The request body * @param NotebooksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -138,7 +138,7 @@ public function toPostRequestInformation(Notebook $body, ?NotebooksRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php index 0be317458ec..c4771657c0d 100644 --- a/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + * Retrieve a list of notebook objects. */ class NotebooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/OnenoteRequestBuilder.php b/src/Generated/Users/Item/Onenote/OnenoteRequestBuilder.php index 3be479190a8..b65d08c9281 100644 --- a/src/Generated/Users/Item/Onenote/OnenoteRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/OnenoteRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenoteRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenoteRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(Onenote $body, ?OnenoteRequestBuilderP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php index 1b303af0470..2efecb0ffe6 100644 --- a/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?OnenoteOperationItemRequestBuilderDeleteRequestConfigura } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,12 +91,12 @@ public function toDeleteRequestInformation(?OnenoteOperationItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OnenoteOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +112,7 @@ public function toGetRequestInformation(?OnenoteOperationItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -131,7 +131,7 @@ public function toPatchRequestInformation(OnenoteOperation $body, ?OnenoteOperat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php index 87c134e3b79..535f95e6222 100644 --- a/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OnenoteOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.php index 1424b4a7280..bee7522a086 100644 --- a/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(OnenoteOperation $body, ?OperationsRequestBuilderPostReques } /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. * @param OperationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?OperationsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteOperation $body, ?OperationsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php index 0c57483566c..5c8c54a9d82 100644 --- a/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + * Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. */ class OperationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php index 02408f0f808..062199ceed3 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 57ed1e0654c..8699b730bae 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php index a306b6f4c5a..bee56888068 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.php @@ -79,7 +79,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function delete(?OnenotePageItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -127,7 +127,7 @@ public function patch(OnenotePage $body, ?OnenotePageItemRequestBuilderPatchRequ } /** - * Delete a OneNote page. This API is available in the following national cloud deployments. + * Delete a OneNote page. * @param OnenotePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,12 +140,12 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. * @param OnenotePageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -180,7 +180,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php index c99f332be6d..46e17e93184 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. */ class OnenotePageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 52a6431d66a..2a83a1a03d6 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 7eb7585a92b..98852c0db7b 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 5d2f1a8fef6..b57938f45c8 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php index 73607a0e5a0..9541d6c36d3 100644 --- a/src/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.php b/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.php index d29db8b2059..3448e5c4b42 100644 --- a/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. This API is available in the following national cloud deployments. + * Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php index e7cc015ba19..2bd2dd61177 100644 --- a/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects. This API is available in the following national cloud deployments. + * Retrieve a list of page objects. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php index 420e9a50c67..a6123c3138f 100644 --- a/src/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php index c8e0445c8b6..92373b4b2fd 100644 --- a/src/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?OnenoteResourceItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?OnenoteResourceItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(OnenoteResource $body, ?OnenoteResourc $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.php b/src/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.php index 59782c0ae7f..28152a16e71 100644 --- a/src/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(OnenoteResource $body, ?ResourcesReques $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 3958e39bb5f..fca2a252eda 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index c34e8a40c6d..546be807fa8 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 1f0df5267bd..a11d3b63572 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -78,7 +78,7 @@ public function delete(?SectionGroupItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -123,12 +123,12 @@ public function toDeleteRequestInformation(?SectionGroupItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. * @param SectionGroupItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -144,7 +144,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -163,7 +163,7 @@ public function toPatchRequestInformation(SectionGroup $body, ?SectionGroupItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php index 928ea699b0b..212b50b7321 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a sectionGroup object. */ class SectionGroupItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php index 5528ca1d847..6f138f681a7 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SectionGroupItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php index d04b2fe1677..14fbde80706 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?SectionGroupsRequestBuilderGetRequestConfiguration $request } /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index 428ea4762c9..6eec6ea05fd 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of section groups from the specified section group. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index e295d68a88c..21ef973989d 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 9cdb47f9960..8cd54ee4649 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php index 97b33554def..282ae28fcb2 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -130,7 +130,7 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -151,7 +151,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -170,7 +170,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index 7fd60f8f660..0dbf046782a 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index 3d226558af8..41b333c800c 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index 5811ddb1006..b4ad4c5ee89 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index d6f21d4ced2..6d7ef50f92d 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 53b47dffc89..f8cb9572f0f 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index 633ea029596..e2d4c6d1895 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 7ff1619cd85..36e212b4e21 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php index c15a58e7989..75044d44a51 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index 9a2f8dbf904..865ea689c5c 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 7eea2b05b57..0c465c50bfe 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 5270a714703..fa70fc2d043 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php index 9dd2cc8b090..fd4c7ad42b3 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?SectionsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new onenoteSection in the specified section group. This API is available in the following national cloud deployments. + * Create a new onenoteSection in the specified section group. * @param OnenoteSection $body The request body * @param SectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php index 83263427396..4c69aea9d33 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects from the specified section group. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php b/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php index 74e17bc570c..ef03249404f 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(SectionGroup $body, ?SectionGroupsRequestBuilderPostRequest } /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. * @param SectionGroupsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionGroupsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(SectionGroup $body, ?SectionGroupsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php index a04036d5079..c5d541d0edf 100644 --- a/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + * Retrieve a list of sectionGroup objects. */ class SectionGroupsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php index 0ddabe0786d..1871151b15c 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToNotebookPostRequestBody $body, ?CopyToNotebookRequest } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToNotebookPostRequestBody $body The request body * @param CopyToNotebookRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToNotebookPostRequestBody $body, ?C $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php index 463da19dfdd..4743698d952 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionGroupPostRequestBody $body, ?CopyToSectionGrou } /** - * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionGroupPostRequestBody $body The request body * @param CopyToSectionGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionGroupPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php index 7f44a957041..a8ce9d4de61 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?OnenoteSectionItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?OnenoteSectionItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. * @param OnenoteSectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?OnenoteSectionItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(OnenoteSection $body, ?OnenoteSectionI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php index a409b4fe4f5..8135745c22b 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a onenoteSection object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a onenoteSection object. */ class OnenoteSectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php index e0bf6b4a446..6ab1acf00c1 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php index fe3cb4067ac..42038741447 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CopyToSectionPostRequestBody $body, ?CopyToSectionRequestBu } /** - * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + * Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. * @param CopyToSectionPostRequestBody $body The request body * @param CopyToSectionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CopyToSectionPostRequestBody $body, ?Co $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php index a4ae5967d9b..067aae34ad5 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.php @@ -138,7 +138,7 @@ public function toDeleteRequestInformation(?OnenotePageItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -159,7 +159,7 @@ public function toGetRequestInformation(?OnenotePageItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -178,7 +178,7 @@ public function toPatchRequestInformation(OnenotePage $body, ?OnenotePageItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php index 9ee999f5b59..defddfc87f4 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.php @@ -60,7 +60,7 @@ public function toPostRequestInformation(OnenotePatchContentPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 64414b40461..51213995c22 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php index eabdc749101..129d42b54d6 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php index 74e743bb17c..834386d71e6 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.php @@ -59,7 +59,7 @@ public function toGetRequestInformation(?PreviewRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php index 88708a82732..2d029deeffd 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OnenotePage $body, ?PagesRequestBuilderPostRequestConfigura } /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. * @param PagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new page in the specified section. This API is available in the following national cloud deployments. + * Create a new page in the specified section. * @param OnenotePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OnenotePage $body, ?PagesRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php index e0e407c003e..d5f3af9a186 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of page objects from the specified section. This API is available in the following national cloud deployments. + * Retrieve a list of page objects from the specified section. */ class PagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php index 41492e6158a..5baa336d3df 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentNotebookRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php index 8c5fffb611e..6470a811b1c 100644 --- a/src/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?ParentSectionGroupRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.php b/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.php index b76a8988e80..6005a3c562d 100644 --- a/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.php +++ b/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(OnenoteSection $body, ?SectionsRequestBuilderPostRequestCon } /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. * @param SectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?SectionsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(OnenoteSection $body, ?SectionsRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php index b30d8d7a890..95394c2198b 100644 --- a/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of onenoteSection objects. This API is available in the following national cloud deployments. + * Retrieve a list of onenoteSection objects. */ class SectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php index 031718a44e1..3df3cc86bf7 100644 --- a/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. * @param CreateOrGetPostRequestBody $body The request body * @param CreateOrGetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateOrGetPostRequestBody $body, ?CreateOrGetRequestBuilde } /** - * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + * Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. * @param CreateOrGetPostRequestBody $body The request body * @param CreateOrGetRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateOrGetPostRequestBody $body, ?Crea $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php index 7eed25aecdc..a67c14c048e 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.php @@ -15,7 +15,7 @@ use Microsoft\Kiota\Abstractions\RequestInformation; /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ class AttendanceReportsRequestBuilder extends BaseRequestBuilder { @@ -27,7 +27,7 @@ public function count(): CountRequestBuilder { } /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. * @param string $meetingAttendanceReportId The unique identifier of meetingAttendanceReport * @return MeetingAttendanceReportItemRequestBuilder */ @@ -52,11 +52,10 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from users * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 Find more info here */ public function get(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +83,7 @@ public function post(MeetingAttendanceReport $body, ?AttendanceReportsRequestBui } /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from users * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +99,7 @@ public function toGetRequestInformation(?AttendanceReportsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +118,7 @@ public function toPostRequestInformation(MeetingAttendanceReport $body, ?Attenda $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php index 59c757ff5b6..e8355ac8a8d 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from users */ class AttendanceReportsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php index d85198e070c..2e0e13c6485 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + * Get a list of attendanceRecord objects and their properties. * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AttendanceRecord $body, ?AttendanceRecordsRequestBuilderPos } /** - * Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + * Get a list of attendanceRecord objects and their properties. * @param AttendanceRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AttendanceRecordsRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AttendanceRecord $body, ?AttendanceReco $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php index 2e3f386f429..bce8e2d9aae 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + * Get a list of attendanceRecord objects and their properties. */ class AttendanceRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php index bbce3b9981d..841d5e54183 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?AttendanceRecordItemRequestBuilderDe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?AttendanceRecordItemRequestBuilderGetRe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(AttendanceRecord $body, ?AttendanceRec $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php index 142ac17921a..239f4738ecd 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -13,7 +13,7 @@ use Microsoft\Kiota\Abstractions\RequestInformation; /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilder { @@ -54,11 +54,10 @@ public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestCo } /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from users * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 Find more info here */ public function get(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,12 +98,12 @@ public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from users * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +119,7 @@ public function toGetRequestInformation(?MeetingAttendanceReportItemRequestBuild } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +138,7 @@ public function toPatchRequestInformation(MeetingAttendanceReport $body, ?Meetin $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php index 9c3459fc2af..d93d6390f47 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + * Get attendanceReports from users */ class MeetingAttendanceReportItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php index 5444013aa96..18fb747a0d0 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?AttendeeReportRequestBuilderGetRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?AttendeeReportRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php index 1785ed03503..415add93491 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.php @@ -58,7 +58,7 @@ public function toGetRequestInformation(?GetVirtualAppointmentJoinWebUrlRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php index 16360cb7281..c2a25cfbfea 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.php @@ -22,7 +22,7 @@ class OnlineMeetingItemRequestBuilder extends BaseRequestBuilder { /** - * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + * Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. */ public function attendanceReports(): AttendanceReportsRequestBuilder { return new AttendanceReportsRequestBuilder($this->pathParameters, $this->requestAdapter); @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an onlineMeeting object. This API is available in the following national cloud deployments. + * Delete an onlineMeeting object. * @param OnlineMeetingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?OnlineMeetingItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. * @param OnlineMeetingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function get(?OnlineMeetingItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. This API is available in the following national cloud deployments. + * Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. * @param OnlineMeeting $body The request body * @param OnlineMeetingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function patch(OnlineMeeting $body, ?OnlineMeetingItemRequestBuilderPatch } /** - * Delete an onlineMeeting object. This API is available in the following national cloud deployments. + * Delete an onlineMeeting object. * @param OnlineMeetingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?OnlineMeetingItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. * @param OnlineMeetingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,12 +154,12 @@ public function toGetRequestInformation(?OnlineMeetingItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. This API is available in the following national cloud deployments. + * Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. * @param OnlineMeeting $body The request body * @param OnlineMeetingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(OnlineMeeting $body, ?OnlineMeetingIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilderGetQueryParameters.php index ad69f35006d..6b55c082515 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. */ class OnlineMeetingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php index 58603941e4a..503b260cd2b 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -54,10 +54,11 @@ public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguratio } /** - * Get recordings from users + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 Find more info here */ public function get(?CallRecordingItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,12 +99,12 @@ public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get recordings from users + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +120,7 @@ public function toGetRequestInformation(?CallRecordingItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +139,7 @@ public function toPatchRequestInformation(CallRecording $body, ?CallRecordingIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php index ffdd1b254c6..2fee314383c 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get recordings from users + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. */ class CallRecordingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php index fefbdb76a4f..61131950356 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php @@ -32,7 +32,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get content for the navigation property recordings from users + * The content of the recording. Read-only. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -49,7 +49,7 @@ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfig } /** - * Update content for the navigation property recordings in users + * The content of the recording. Read-only. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -65,7 +65,7 @@ public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfi } /** - * Get content for the navigation property recordings from users + * The content of the recording. Read-only. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -78,12 +78,12 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } /** - * Update content for the navigation property recordings in users + * The content of the recording. Read-only. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php index 2bbacf3ab7d..c1574e5365c 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get recordings from users + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -83,7 +83,7 @@ public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestCo } /** - * Get recordings from users + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -99,7 +99,7 @@ public function toGetRequestInformation(?RecordingsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(CallRecording $body, ?RecordingsRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php index 88b77438dcd..ffcc6cc04ed 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get recordings from users + * Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. */ class RecordingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php index 3be1d7c38e5..8d53bc200f5 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -62,7 +62,7 @@ public function delete(?CallTranscriptItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -107,12 +107,12 @@ public function toDeleteRequestInformation(?CallTranscriptItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -128,7 +128,7 @@ public function toGetRequestInformation(?CallTranscriptItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -147,7 +147,7 @@ public function toPatchRequestInformation(CallTranscript $body, ?CallTranscriptI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php index 30e629e4c02..88a47884942 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. */ class CallTranscriptItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php index 863d595fbdf..91180754888 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php index 71730057596..b95cfeceaa9 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?MetadataContentRequestBuilderGetRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?MetadataContentR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php index 539628245de..3afcf703f38 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(CallTranscript $body, ?TranscriptsRequestBuilderPostRequest } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TranscriptsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(CallTranscript $body, ?TranscriptsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php index b82b344f598..c38ab7c190c 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. */ class TranscriptsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php index f45f2383685..219ee57c5cd 100644 --- a/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. * @param OnlineMeetingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?OnlineMeetingsRequestBuilderGetRequestConfiguration $reques } /** - * Create an online meeting on behalf of a user. This API is available in the following national cloud deployments. + * Create an online meeting on behalf of a user. * @param OnlineMeeting $body The request body * @param OnlineMeetingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(OnlineMeeting $body, ?OnlineMeetingsRequestBuilderPostReque } /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. * @param OnlineMeetingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?OnlineMeetingsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an online meeting on behalf of a user. This API is available in the following national cloud deployments. + * Create an online meeting on behalf of a user. * @param OnlineMeeting $body The request body * @param OnlineMeetingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(OnlineMeeting $body, ?OnlineMeetingsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php index e359d450f1e..666d6833b77 100644 --- a/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. */ class OnlineMeetingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php index 8dcb63f9581..3bc24d6c7f3 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete the specified outlookCategory object. This API is available in the following national cloud deployments. + * Delete the specified outlookCategory object. * @param OutlookCategoryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?OutlookCategoryItemRequestBuilderDeleteRequestConfigurat } /** - * Get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified outlookCategory object. * @param OutlookCategoryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?OutlookCategoryItemRequestBuilderGetRequestConfiguration $r } /** - * Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. This API is available in the following national cloud deployments. + * Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. * @param OutlookCategory $body The request body * @param OutlookCategoryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(OutlookCategory $body, ?OutlookCategoryItemRequestBuilderP } /** - * Delete the specified outlookCategory object. This API is available in the following national cloud deployments. + * Delete the specified outlookCategory object. * @param OutlookCategoryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?OutlookCategoryItemRequestBuilderDel $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified outlookCategory object. * @param OutlookCategoryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?OutlookCategoryItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. This API is available in the following national cloud deployments. + * Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. * @param OutlookCategory $body The request body * @param OutlookCategoryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(OutlookCategory $body, ?OutlookCategor $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php index 43895957135..b49596b003f 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. + * Get the properties and relationships of the specified outlookCategory object. */ class OutlookCategoryItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php index 3c465b41f46..2beed40dab0 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get all the categories that have been defined for the user. This API is available in the following national cloud deployments. + * Get all the categories that have been defined for the user. * @param MasterCategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?MasterCategoriesRequestBuilderGetRequestConfiguration $requ } /** - * Create an outlookCategory object in the user's master list of categories. This API is available in the following national cloud deployments. + * Create an outlookCategory object in the user's master list of categories. * @param OutlookCategory $body The request body * @param MasterCategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(OutlookCategory $body, ?MasterCategoriesRequestBuilderPostR } /** - * Get all the categories that have been defined for the user. This API is available in the following national cloud deployments. + * Get all the categories that have been defined for the user. * @param MasterCategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?MasterCategoriesRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create an outlookCategory object in the user's master list of categories. This API is available in the following national cloud deployments. + * Create an outlookCategory object in the user's master list of categories. * @param OutlookCategory $body The request body * @param MasterCategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(OutlookCategory $body, ?MasterCategorie $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php index 5cee773cfff..547fbecdbec 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get all the categories that have been defined for the user. This API is available in the following national cloud deployments. + * Get all the categories that have been defined for the user. */ class MasterCategoriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php b/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php index 743a9f6cb51..38332837e6c 100644 --- a/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php @@ -96,7 +96,7 @@ public function toGetRequestInformation(?OutlookRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php index 4c9839ed5c9..4dd73a3a9f3 100644 --- a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. This API is available in the following national cloud deployments. + * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. * @param SupportedLanguagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function get(?SupportedLanguagesRequestBuilderGetRequestConfiguration $re } /** - * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. This API is available in the following national cloud deployments. + * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. * @param SupportedLanguagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -62,7 +62,7 @@ public function toGetRequestInformation(?SupportedLanguagesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php index b5500801daa..188357e9151 100644 --- a/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. This API is available in the following national cloud deployments. + * Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. */ class SupportedLanguagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.php b/src/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.php index 7fb9be96517..abeb1726113 100644 --- a/src/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?SupportedTimeZonesRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.php b/src/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.php index 21a04d5ac54..825a03ac888 100644 --- a/src/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.php @@ -64,7 +64,7 @@ public function toGetRequestInformation(?SupportedTimeZonesWithTimeZoneStandardR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index 4f7a8041cf8..1f54fb41bc3 100644 --- a/src/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.php index d9fbd06055e..30997335071 100644 --- a/src/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.php index df5a6ac7009..724b9061f18 100644 --- a/src/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.php index d485bf33fb6..b8642401abd 100644 --- a/src/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index 6f1939f0497..58c7eba215a 100644 --- a/src/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php index a2ffbc04a2c..aa08acffd41 100644 --- a/src/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index 909d165f315..64c13ea370e 100644 --- a/src/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.php b/src/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.php index ab7131f8559..9903ef5258c 100644 --- a/src/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?OwnedDevicesRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php index bd2891eb3bb..8d87aeb4223 100644 --- a/src/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php index 1ce20209a93..29e70999f60 100644 --- a/src/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index cc598150045..9fc20b71541 100644 --- a/src/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php index 3a0b11d76a1..82af4f4c807 100644 --- a/src/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php index 5ba6e38e09c..838c6357218 100644 --- a/src/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphApplicationRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php index 04bab3cfa28..39170f36432 100644 --- a/src/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php index a79945dc304..2ccfb262d32 100644 --- a/src/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphServicePrincipalRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.php b/src/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.php index 500bc533e8c..61f0a3ad5ff 100644 --- a/src/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.php +++ b/src/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?OwnedObjectsRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php index 61f9d88e6a2..6fbe6511b88 100644 --- a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php +++ b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?PersonItemRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/People/PeopleRequestBuilder.php b/src/Generated/Users/Item/People/PeopleRequestBuilder.php index 6299de20ca1..282a67f763e 100644 --- a/src/Generated/Users/Item/People/PeopleRequestBuilder.php +++ b/src/Generated/Users/Item/People/PeopleRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. This API is available in the following national cloud deployments. + * Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. * @param PeopleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -67,7 +67,7 @@ public function get(?PeopleRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. This API is available in the following national cloud deployments. + * Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. * @param PeopleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -83,7 +83,7 @@ public function toGetRequestInformation(?PeopleRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php index 06bf998b14e..07c70b134e7 100644 --- a/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. This API is available in the following national cloud deployments. + * Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. */ class PeopleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php index 58d19d6b8e4..8f6a25cfbcc 100644 --- a/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?PhotoRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,12 +99,12 @@ public function toDeleteRequestInformation(?PhotoRequestBuilderDeleteRequestConf $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param PhotoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -120,7 +120,7 @@ public function toGetRequestInformation(?PhotoRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -139,7 +139,7 @@ public function toPatchRequestInformation(ProfilePhoto $body, ?PhotoRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index 85d78a441fa..2a442b167e3 100644 --- a/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. This API is available in the following national cloud deployments. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. */ class PhotoRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Photo/Value/ContentRequestBuilder.php index 9b08a7da89e..356efbe19a1 100644 --- a/src/Generated/Users/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Photo/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php index 4ca132aef3d..574cfbfd837 100644 --- a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ProfilePhotoItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.php index af606be216c..1c42f7c7bea 100644 --- a/src/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.php @@ -79,7 +79,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -98,7 +98,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php b/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php index fea736618c0..44f5be5bd67 100644 --- a/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php @@ -74,7 +74,7 @@ public function toGetRequestInformation(?PhotosRequestBuilderGetRequestConfigura } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/PlannerRequestBuilder.php b/src/Generated/Users/Item/Planner/PlannerRequestBuilder.php index ed425910b21..6ba1d37ec7e 100644 --- a/src/Generated/Users/Item/Planner/PlannerRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/PlannerRequestBuilder.php @@ -106,7 +106,7 @@ public function toDeleteRequestInformation(?PlannerRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -127,7 +127,7 @@ public function toGetRequestInformation(?PlannerRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -146,7 +146,7 @@ public function toPatchRequestInformation(PlannerUser $body, ?PlannerRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php index 90be26bdc88..141f6b1755d 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerBucket $body, ?BucketsRequestBuilderPostRequestConfi } /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. * @param BucketsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?BucketsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerBucket $body, ?BucketsRequestBui $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php index 914fb5cfd94..c48866575aa 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerBucket objects contained by a plannerPlan object. */ class BucketsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php index 2ab56d2b8a2..511eaa898d3 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?PlannerBucketItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?PlannerBucketItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(PlannerBucket $body, ?PlannerBucketIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index f8b588ccaeb..ca0316ea198 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 4c102449194..3be7a1271eb 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index e6abd596783..cbe4bca80e1 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 59a0633bb29..5624c7f219f 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php index b236b68270a..fbaeb96f38c 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 489472d6fc4..e2c3fe8cbf7 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index 92ee6ce4e66..8efaebc1091 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index 55050c96033..bdccf53e59f 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index 32f35afd8e9..f76366e7456 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php index 5f84128150c..b1a524c3ad4 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index c64d327a8ce..e19ac84d015 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated to a plannerBucket object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php index f661e88245b..b46db916207 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerPlanDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 42d26f1ace7..d8969d10cd4 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerPlanDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php index 529240e8c8b..aefa70e303d 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?PlannerPlanItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?PlannerPlanItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(PlannerPlan $body, ?PlannerPlanItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 30554b66d90..ef5505757db 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 507d88274b6..c1f23121560 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 1773edcc3bc..68343e8bf31 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index f558432f32c..013a8442953 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php index c7dfa14874b..83ce4f6adbf 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index ed7ffc616ab..643121b4079 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php index 4cd92bcad38..47d29208d77 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index c4a90b562ff..08a2afd36df 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index 2156fdeed2f..37104a78106 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php index 4934b665527..55a749504cb 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 1a821f622e0..08e4d86ca9b 100644 --- a/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerTask objects associated with a plannerPlan object. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php b/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php index a1046a30eba..4543346e386 100644 --- a/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannerplan objects shared with a user object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerplan objects shared with a user object. * @param PlansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerPlan $body, ?PlansRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannerplan objects shared with a user object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerplan objects shared with a user object. * @param PlansRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?PlansRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerPlan $body, ?PlansRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php index b5a65dd1c11..54532d9bde2 100644 --- a/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Plans/PlansRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannerplan objects shared with a user object. This API is available in the following national cloud deployments. + * Retrieve a list of plannerplan objects shared with a user object. */ class PlansRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php index 49de80bda9d..a5b9c99b886 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?AssignedToTaskBoardFormatRequestBuilderDeleteRequestConf } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?AssignedToTaskBoardFormatRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. * @param AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?AssignedToTaskBoardFormatRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerAssignedToTaskBoardTaskFormat $ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php index 9c13f354abc..c03a4851d7e 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. */ class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php index 92468908e50..5d6f6853e36 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?BucketTaskBoardFormatRequestBuilderDeleteRequestConfigur } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?BucketTaskBoardFormatRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. * @param BucketTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?BucketTaskBoardFormatRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerBucketTaskBoardTaskFormat $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php index 2cce175ee8c..8f488afa9ec 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. */ class BucketTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php index 2d213306a18..e50333bca7b 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?DetailsRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?DetailsRequestBuilderDeleteRequestCo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. * @param DetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?DetailsRequestBuilderGetRequestConfigur } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerTaskDetails $body, ?DetailsRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php index 81aafa17a25..5d96f3a6e8a 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a plannerTaskDetails object. */ class DetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php index c4fb8145f96..e0fbc7e281d 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.php @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?PlannerTaskItemRequestBuilderDeleteR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -143,7 +143,7 @@ public function toGetRequestInformation(?PlannerTaskItemRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -162,7 +162,7 @@ public function toPatchRequestInformation(PlannerTask $body, ?PlannerTaskItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php index adde50aad99..0f2375fa984 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ProgressTaskBoardFormatRequestBuilderDeleteRequestConfig } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ProgressTaskBoardFormatRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. * @param ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +113,7 @@ public function toGetRequestInformation(?ProgressTaskBoardFormatRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -132,7 +132,7 @@ public function toPatchRequestInformation(PlannerProgressTaskBoardTaskFormat $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php index 76cf9c850e8..9f7f3dc827d 100644 --- a/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. */ class ProgressTaskBoardFormatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php b/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php index d200abd62d9..996f2666252 100644 --- a/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of plannertask objects assigned to a User. This API is available in the following national cloud deployments. + * Retrieve a list of plannertask objects assigned to a User. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(PlannerTask $body, ?TasksRequestBuilderPostRequestConfigura } /** - * Retrieve a list of plannertask objects assigned to a User. This API is available in the following national cloud deployments. + * Retrieve a list of plannertask objects assigned to a User. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(PlannerTask $body, ?TasksRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php index 71f6e070f79..21ecbb9a4a2 100644 --- a/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Planner/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of plannertask objects assigned to a User. This API is available in the following national cloud deployments. + * Retrieve a list of plannertask objects assigned to a User. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php index 758dacdf8ca..835aac70e3a 100644 --- a/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. This API is available in the following national cloud deployments. + * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. * @param ClearPresencePostRequestBody $body The request body * @param ClearPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ClearPresencePostRequestBody $body, ?ClearPresenceRequestBu } /** - * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. This API is available in the following national cloud deployments. + * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. * @param ClearPresencePostRequestBody $body The request body * @param ClearPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ClearPresencePostRequestBody $body, ?Cl $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php index 07025c86469..ea23ae164bb 100644 --- a/src/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + * Clear the preferred availability and activity status for a user. * @param ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?ClearUserPreferredPresenceRequestBuilderPostRequestConfigu } /** - * Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + * Clear the preferred availability and activity status for a user. * @param ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?ClearUserPreferredPresenceRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 93eb53280dc..5b721e967d9 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -86,7 +86,7 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -131,12 +131,12 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -152,7 +152,7 @@ public function toGetRequestInformation(?PresenceRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -171,7 +171,7 @@ public function toPatchRequestInformation(Presence $body, ?PresenceRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index b8afe788571..ee0ecd61541 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php index 5bb48e5a69b..2a06bb00c17 100644 --- a/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the state of a user's presence session as an application. This API is available in the following national cloud deployments. + * Set the state of a user's presence session as an application. * @param SetPresencePostRequestBody $body The request body * @param SetPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetPresencePostRequestBody $body, ?SetPresenceRequestBuilde } /** - * Set the state of a user's presence session as an application. This API is available in the following national cloud deployments. + * Set the state of a user's presence session as an application. * @param SetPresencePostRequestBody $body The request body * @param SetPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetPresencePostRequestBody $body, ?SetP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php index 79477ecf6de..630c37e415e 100644 --- a/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param SetStatusMessagePostRequestBody $body The request body * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetStatusMessagePostRequestBody $body, ?SetStatusMessageReq } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param SetStatusMessagePostRequestBody $body The request body * @param SetStatusMessageRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetStatusMessagePostRequestBody $body, $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php index 99938ffc418..a8cc75573fd 100644 --- a/src/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. This API is available in the following national cloud deployments. + * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. * @param SetUserPreferredPresencePostRequestBody $body The request body * @param SetUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SetUserPreferredPresencePostRequestBody $body, ?SetUserPref } /** - * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. This API is available in the following national cloud deployments. + * Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. * @param SetUserPreferredPresencePostRequestBody $body The request body * @param SetUserPreferredPresenceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SetUserPreferredPresencePostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index e9f0d953c5f..4d0f9ac4b5e 100644 --- a/src/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.php index 737f8188081..ad87ad0b8d7 100644 --- a/src/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.php index f0aead11239..89d6dc15366 100644 --- a/src/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.php index 5a934c0a633..0cc3e464115 100644 --- a/src/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php index e3338b43140..c3aa5de1e19 100644 --- a/src/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAppRoleAssignmentRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php index 5036b93ca20..1904d3f7be6 100644 --- a/src/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDeviceRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php index 99f095a3596..14318693f14 100644 --- a/src/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphEndpointRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.php b/src/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.php index 671489b1911..3195e8ee818 100644 --- a/src/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.php +++ b/src/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?RegisteredDevicesRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.php index 4771db2c07e..87c21724b81 100644 --- a/src/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -66,7 +66,7 @@ public function toGetRequestInformation(?ReminderViewWithStartDateTimeWithEndDat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.php b/src/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.php index da2fdf31cdf..da616abd3e3 100644 --- a/src/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.php +++ b/src/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.php @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RemoveAllDevicesFromManagementRequestB $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.php b/src/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.php index d3a2d10eea3..e27afdb2b8b 100644 --- a/src/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.php +++ b/src/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. This API is available in the following national cloud deployments. + * Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. * @param ReprocessLicenseAssignmentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?ReprocessLicenseAssignmentRequestBuilderPostRequestConfigu } /** - * Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. This API is available in the following national cloud deployments. + * Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. * @param ReprocessLicenseAssignmentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?ReprocessLicenseAssignmentRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php b/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php index 73ef1dcc377..b98104ce5b7 100644 --- a/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php +++ b/src/Generated/Users/Item/Restore/RestoreRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function post(?RestoreRequestBuilderPostRequestConfiguration $requestConf } /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -60,7 +60,7 @@ public function toPostRequestInformation(?RestoreRequestBuilderPostRequestConfig $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php b/src/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php index 984bdad526e..aad29d1fc40 100644 --- a/src/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php +++ b/src/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.php @@ -58,7 +58,7 @@ public function toPostRequestInformation(?RetryServiceProvisioningRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.php b/src/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.php index 0377ca35e1f..ce04a713369 100644 --- a/src/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.php +++ b/src/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. This API is available in the following national cloud deployments. + * Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. * @param RevokeSignInSessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -46,7 +46,7 @@ public function post(?RevokeSignInSessionsRequestBuilderPostRequestConfiguration } /** - * Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. This API is available in the following national cloud deployments. + * Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. * @param RevokeSignInSessionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -59,7 +59,7 @@ public function toPostRequestInformation(?RevokeSignInSessionsRequestBuilderPost $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.php b/src/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.php index 29015682ec0..47326326e4b 100644 --- a/src/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.php +++ b/src/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ScopedRoleMembershipItemRequestBuild $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ScopedRoleMembershipItemRequestBuilderG } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(ScopedRoleMembership $body, ?ScopedRol $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.php b/src/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.php index 93b8e00e19a..390f8d388d0 100644 --- a/src/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.php +++ b/src/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ScopedRoleMemberOfRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(ScopedRoleMembership $body, ?ScopedRole $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php b/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php index c8c790cc779..f8933628a6a 100644 --- a/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php +++ b/src/Generated/Users/Item/SendMail/SendMailRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. This API is available in the following national cloud deployments. + * Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. * @param SendMailPostRequestBody $body The request body * @param SendMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendMailPostRequestBody $body, ?SendMailRequestBuilderPostR } /** - * Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. This API is available in the following national cloud deployments. + * Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. * @param SendMailPostRequestBody $body The request body * @param SendMailRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendMailPostRequestBody $body, ?SendMai $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Users/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php index ee8ba1bfb85..f3c329f6b91 100644 --- a/src/Generated/Users/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php +++ b/src/Generated/Users/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilder } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php index 827f1a363c7..e82ba066e33 100644 --- a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $reques } /** - * Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. This API is available in the following national cloud deployments. + * Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -70,7 +70,7 @@ public function get(?SettingsRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. This API is available in the following national cloud deployments. + * Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. * @param UserSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -100,12 +100,12 @@ public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. This API is available in the following national cloud deployments. + * Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,12 +121,12 @@ public function toGetRequestInformation(?SettingsRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. This API is available in the following national cloud deployments. + * Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. * @param UserSettings $body The request body * @param SettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -140,7 +140,7 @@ public function toPatchRequestInformation(UserSettings $body, ?SettingsRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/SettingsRequestBuilderGetQueryParameters.php index 2b2fd041ed7..970afc401ca 100644 --- a/src/Generated/Users/Item/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. This API is available in the following national cloud deployments. + * Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php b/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php index ab731486eca..e92898d14f2 100644 --- a/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ShiftPreferencesRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shiftPreferences object by ID. * @param ShiftPreferencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -62,7 +62,7 @@ public function get(?ShiftPreferencesRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties and relationships of a shiftPreferences object. This API is available in the following national cloud deployments. + * Update the properties and relationships of a shiftPreferences object. * @param ShiftPreferences $body The request body * @param ShiftPreferencesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -92,12 +92,12 @@ public function toDeleteRequestInformation(?ShiftPreferencesRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shiftPreferences object by ID. * @param ShiftPreferencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,12 +113,12 @@ public function toGetRequestInformation(?ShiftPreferencesRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties and relationships of a shiftPreferences object. This API is available in the following national cloud deployments. + * Update the properties and relationships of a shiftPreferences object. * @param ShiftPreferences $body The request body * @param ShiftPreferencesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -132,7 +132,7 @@ public function toPatchRequestInformation(ShiftPreferences $body, ?ShiftPreferen $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilderGetQueryParameters.php index 64e123274ec..42f4f238cc7 100644 --- a/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a shiftPreferences object by ID. */ class ShiftPreferencesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php b/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php index 979245fa989..79a51a98c98 100644 --- a/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: This API is available in the following national cloud deployments. + * Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: * @param AssociatedTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -84,7 +84,7 @@ public function post(AssociatedTeamInfo $body, ?AssociatedTeamsRequestBuilderPos } /** - * Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: This API is available in the following national cloud deployments. + * Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: * @param AssociatedTeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +100,7 @@ public function toGetRequestInformation(?AssociatedTeamsRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toPostRequestInformation(AssociatedTeamInfo $body, ?AssociatedTe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilderGetQueryParameters.php index df8264a6a42..f88f80e81f8 100644 --- a/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: This API is available in the following national cloud deployments. + * Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways: */ class AssociatedTeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.php b/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.php index 16520b907f6..6d0ee4f9561 100644 --- a/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AssociatedTeamInfoItemRequestBuilder $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AssociatedTeamInfoItemRequestBuilderGet } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AssociatedTeamInfo $body, ?AssociatedT $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.php b/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.php index 5e8647939c8..38f04ce020f 100644 --- a/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.php b/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.php index 185630a60c1..f9730790a07 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of apps installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Retrieve the list of apps installed in the personal scope of the specified user. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?InstalledAppsRequestBuilderGetRequestConfiguration $request } /** - * Install an app in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Install an app in the personal scope of the specified user. * @param UserScopeTeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(UserScopeTeamsAppInstallation $body, ?InstalledAppsRequestB } /** - * Retrieve the list of apps installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Retrieve the list of apps installed in the personal scope of the specified user. * @param InstalledAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?InstalledAppsRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Install an app in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Install an app in the personal scope of the specified user. * @param UserScopeTeamsAppInstallation $body The request body * @param InstalledAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(UserScopeTeamsAppInstallation $body, ?I $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php index e9d8606a1aa..3f42ba27ffd 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of apps installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Retrieve the list of apps installed in the personal scope of the specified user. */ class InstalledAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php index 5c95763ef76..a29554d47f7 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the chat of the specified user and Teams app. This API is available in the following national cloud deployments. + * Retrieve the chat of the specified user and Teams app. * @param ChatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function get(?ChatRequestBuilderGetRequestConfiguration $requestConfigura } /** - * Retrieve the chat of the specified user and Teams app. This API is available in the following national cloud deployments. + * Retrieve the chat of the specified user and Teams app. * @param ChatRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -63,7 +63,7 @@ public function toGetRequestInformation(?ChatRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilderGetQueryParameters.php index e9cf7ec8864..ea10e41038d 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the chat of the specified user and Teams app. This API is available in the following national cloud deployments. + * Retrieve the chat of the specified user and Teams app. */ class ChatRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php index 57ed759a1be..3d882cdb446 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php index 4bd83ff7d5f..0e8d408450f 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?TeamsAppDefinitionRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.php index a69fb69a14f..d0b5897e34a 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.php @@ -55,7 +55,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Uninstall an app from the personal scope of the specified user. This API is available in the following national cloud deployments. + * Uninstall an app from the personal scope of the specified user. * @param UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function delete(?UserScopeTeamsAppInstallationItemRequestBuilderDeleteReq } /** - * Retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Retrieve the app installed in the personal scope of the specified user. * @param UserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function patch(UserScopeTeamsAppInstallation $body, ?UserScopeTeamsAppIns } /** - * Uninstall an app from the personal scope of the specified user. This API is available in the following national cloud deployments. + * Uninstall an app from the personal scope of the specified user. * @param UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,12 +116,12 @@ public function toDeleteRequestInformation(?UserScopeTeamsAppInstallationItemReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Retrieve the app installed in the personal scope of the specified user. * @param UserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -137,7 +137,7 @@ public function toGetRequestInformation(?UserScopeTeamsAppInstallationItemReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -156,7 +156,7 @@ public function toPatchRequestInformation(UserScopeTeamsAppInstallation $body, ? $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters.php index 7e95afdf066..3506f1ce11a 100644 --- a/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + * Retrieve the app installed in the personal scope of the specified user. */ class UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php index 2459abb9a2b..281cdf624d1 100644 --- a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Send an activity feed notification to a user. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification to a user. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(SendActivityNotificationPostRequestBody $body, ?SendActivit } /** - * Send an activity feed notification to a user. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. This API is available in the following national cloud deployments. + * Send an activity feed notification to a user. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. * @param SendActivityNotificationPostRequestBody $body The request body * @param SendActivityNotificationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(SendActivityNotificationPostRequestBody $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.php b/src/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.php index 18f70f83908..2ae67bb9277 100644 --- a/src/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.php +++ b/src/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.php @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?TeamworkRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -135,7 +135,7 @@ public function toGetRequestInformation(?TeamworkRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -154,7 +154,7 @@ public function toPatchRequestInformation(UserTeamwork $body, ?TeamworkRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.php index b3457d47a41..d1124bbab63 100644 --- a/src/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.php index 6d8b5d8ea24..ac34bd2a5a7 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 774a9fb4695..47a4137c756 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.php index 2e7f10b9f35..65153e3633e 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.php @@ -61,7 +61,7 @@ public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php index 21b6aa8da67..ccd1dd99f5d 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php @@ -82,7 +82,7 @@ public function toGetRequestInformation(?AttachmentSessionsRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php index a07a3fb1d1d..f56e49b8caf 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?AttachmentSessionItemRequestBuilderD $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?AttachmentSessionItemRequestBuilderGetR } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(AttachmentSession $body, ?AttachmentSe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.php index 9addceea499..f652d034811 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.php @@ -78,7 +78,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -97,7 +97,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php index 586ef915e2d..f4da6bbe86f 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. This API is available in the following national cloud deployments. + * Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. This API is available in the following national cloud deployments. + * Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. * @param AttachmentBase $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(AttachmentBase $body, ?AttachmentsRequestBuilderPostRequest } /** - * Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. This API is available in the following national cloud deployments. + * Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. This API is available in the following national cloud deployments. + * Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. * @param AttachmentBase $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(AttachmentBase $body, ?AttachmentsReque $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 5d76f48b99c..36851078e82 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. This API is available in the following national cloud deployments. + * Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php index 4200239dcd4..8613739e88e 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. This API is available in the following national cloud deployments. + * Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -48,7 +48,7 @@ public function post(CreateUploadSessionPostRequestBody $body, ?CreateUploadSess } /** - * Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. This API is available in the following national cloud deployments. + * Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. * @param CreateUploadSessionPostRequestBody $body The request body * @param CreateUploadSessionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -62,7 +62,7 @@ public function toPostRequestInformation(CreateUploadSessionPostRequestBody $bod $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php index 30846d131ee..d3c1c500ff2 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php @@ -39,7 +39,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a taskFileAttachment object from a todoTask resource. This API is available in the following national cloud deployments. + * Delete a taskFileAttachment object from a todoTask resource. * @param AttachmentBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -55,7 +55,7 @@ public function delete(?AttachmentBaseItemRequestBuilderDeleteRequestConfigurati } /** - * Read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a taskFileAttachment object. * @param AttachmentBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -71,7 +71,7 @@ public function get(?AttachmentBaseItemRequestBuilderGetRequestConfiguration $re } /** - * Delete a taskFileAttachment object from a todoTask resource. This API is available in the following national cloud deployments. + * Delete a taskFileAttachment object from a todoTask resource. * @param AttachmentBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -84,12 +84,12 @@ public function toDeleteRequestInformation(?AttachmentBaseItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a taskFileAttachment object. * @param AttachmentBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -105,7 +105,7 @@ public function toGetRequestInformation(?AttachmentBaseItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php index 2b3082dab06..7dca7206db4 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a taskFileAttachment object. */ class AttachmentBaseItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.php index f3fcc99a3b6..ec495861fdb 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.php @@ -80,7 +80,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); return $requestInfo; } @@ -99,7 +99,7 @@ public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setStreamContent($body, "application/octet-stream"); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.php index 8104352b7ae..0da38faf02c 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. This API is available in the following national cloud deployments. + * Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. * @param ChecklistItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?ChecklistItemsRequestBuilderGetRequestConfiguration $reques } /** - * Create a new checklistItem object. This API is available in the following national cloud deployments. + * Create a new checklistItem object. * @param ChecklistItem $body The request body * @param ChecklistItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(ChecklistItem $body, ?ChecklistItemsRequestBuilderPostReque } /** - * Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. This API is available in the following national cloud deployments. + * Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. * @param ChecklistItemsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?ChecklistItemsRequestBuilderGetRequestC } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new checklistItem object. This API is available in the following national cloud deployments. + * Create a new checklistItem object. * @param ChecklistItem $body The request body * @param ChecklistItemsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(ChecklistItem $body, ?ChecklistItemsReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilderGetQueryParameters.php index 247144ecd25..3c12132c7fc 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. This API is available in the following national cloud deployments. + * Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. */ class ChecklistItemsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.php index c7261c0ee6b..d58c5c783ec 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a checklistItem object. This API is available in the following national cloud deployments. + * Delete a checklistItem object. * @param ChecklistItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?ChecklistItemItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a checklistItem object. * @param ChecklistItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?ChecklistItemItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of a checklistItem object. This API is available in the following national cloud deployments. + * Update the properties of a checklistItem object. * @param ChecklistItem $body The request body * @param ChecklistItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(ChecklistItem $body, ?ChecklistItemItemRequestBuilderPatch } /** - * Delete a checklistItem object. This API is available in the following national cloud deployments. + * Delete a checklistItem object. * @param ChecklistItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?ChecklistItemItemRequestBuilderDelet $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a checklistItem object. * @param ChecklistItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?ChecklistItemItemRequestBuilderGetReque } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a checklistItem object. This API is available in the following national cloud deployments. + * Update the properties of a checklistItem object. * @param ChecklistItem $body The request body * @param ChecklistItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(ChecklistItem $body, ?ChecklistItemIte $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilderGetQueryParameters.php index 2eda1c3dc19..f1bd7a4f64a 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a checklistItem object. */ class ChecklistItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.php index 2f71b45c20c..940dc9d5079 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.php @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ExtensionsRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -118,7 +118,7 @@ public function toPostRequestInformation(Extension $body, ?ExtensionsRequestBuil $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.php index 1c2807049e9..3c460752062 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -90,7 +90,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -111,7 +111,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -130,7 +130,7 @@ public function toPatchRequestInformation(Extension $body, ?ExtensionItemRequest $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.php index bf096be7858..a8ea3e32a27 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a linkedResource object. This API is available in the following national cloud deployments. + * Deletes a linkedResource object. * @param LinkedResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -47,7 +47,7 @@ public function delete(?LinkedResourceItemRequestBuilderDeleteRequestConfigurati } /** - * Read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a linkedResource object. * @param LinkedResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function get(?LinkedResourceItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a linkedResource object. This API is available in the following national cloud deployments. + * Update the properties of a linkedResource object. * @param LinkedResource $body The request body * @param LinkedResourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -80,7 +80,7 @@ public function patch(LinkedResource $body, ?LinkedResourceItemRequestBuilderPat } /** - * Deletes a linkedResource object. This API is available in the following national cloud deployments. + * Deletes a linkedResource object. * @param LinkedResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,12 +93,12 @@ public function toDeleteRequestInformation(?LinkedResourceItemRequestBuilderDele $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a linkedResource object. * @param LinkedResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,12 +114,12 @@ public function toGetRequestInformation(?LinkedResourceItemRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a linkedResource object. This API is available in the following national cloud deployments. + * Update the properties of a linkedResource object. * @param LinkedResource $body The request body * @param LinkedResourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -133,7 +133,7 @@ public function toPatchRequestInformation(LinkedResource $body, ?LinkedResourceI $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilderGetQueryParameters.php index 1f2aeef4402..672eb1cce36 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a linkedResource object. */ class LinkedResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.php index e0e9c27870a..912262fbf85 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. This API is available in the following national cloud deployments. + * Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. * @param LinkedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -68,7 +68,7 @@ public function get(?LinkedResourcesRequestBuilderGetRequestConfiguration $reque } /** - * Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. This API is available in the following national cloud deployments. + * Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. * @param LinkedResource $body The request body * @param LinkedResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -85,7 +85,7 @@ public function post(LinkedResource $body, ?LinkedResourcesRequestBuilderPostReq } /** - * Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. This API is available in the following national cloud deployments. + * Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. * @param LinkedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -101,12 +101,12 @@ public function toGetRequestInformation(?LinkedResourcesRequestBuilderGetRequest } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. This API is available in the following national cloud deployments. + * Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. * @param LinkedResource $body The request body * @param LinkedResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -120,7 +120,7 @@ public function toPostRequestInformation(LinkedResource $body, ?LinkedResourcesR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilderGetQueryParameters.php index 2640b2bad4d..7f96501c8c0 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. This API is available in the following national cloud deployments. + * Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. */ class LinkedResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.php index a7244efb431..b3e4ae39a2e 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.php @@ -71,7 +71,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a todoTask object. This API is available in the following national cloud deployments. + * Deletes a todoTask object. * @param TodoTaskItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -87,7 +87,7 @@ public function delete(?TodoTaskItemRequestBuilderDeleteRequestConfiguration $re } /** - * Read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a todoTask object. * @param TodoTaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -103,7 +103,7 @@ public function get(?TodoTaskItemRequestBuilderGetRequestConfiguration $requestC } /** - * Update the properties of a todoTask object. This API is available in the following national cloud deployments. + * Update the properties of a todoTask object. * @param TodoTask $body The request body * @param TodoTaskItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function patch(TodoTask $body, ?TodoTaskItemRequestBuilderPatchRequestCon } /** - * Deletes a todoTask object. This API is available in the following national cloud deployments. + * Deletes a todoTask object. * @param TodoTaskItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toDeleteRequestInformation(?TodoTaskItemRequestBuilderDeleteRequ $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a todoTask object. * @param TodoTaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -154,12 +154,12 @@ public function toGetRequestInformation(?TodoTaskItemRequestBuilderGetRequestCon } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a todoTask object. This API is available in the following national cloud deployments. + * Update the properties of a todoTask object. * @param TodoTask $body The request body * @param TodoTaskItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -173,7 +173,7 @@ public function toPatchRequestInformation(TodoTask $body, ?TodoTaskItemRequestBu $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilderGetQueryParameters.php index e2a6d56258d..ff8bfb4cea4 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a todoTask object. */ class TodoTaskItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php index 51890b1c88f..7812a2a9087 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the todoTask resources from the tasks navigation property of a specified todoTaskList. This API is available in the following national cloud deployments. + * Get the todoTask resources from the tasks navigation property of a specified todoTaskList. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?TasksRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new task object in a specified todoTaskList. This API is available in the following national cloud deployments. + * Create a new task object in a specified todoTaskList. * @param TodoTask $body The request body * @param TasksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(TodoTask $body, ?TasksRequestBuilderPostRequestConfiguratio } /** - * Get the todoTask resources from the tasks navigation property of a specified todoTaskList. This API is available in the following national cloud deployments. + * Get the todoTask resources from the tasks navigation property of a specified todoTaskList. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?TasksRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new task object in a specified todoTaskList. This API is available in the following national cloud deployments. + * Create a new task object in a specified todoTaskList. * @param TodoTask $body The request body * @param TasksRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(TodoTask $body, ?TasksRequestBuilderPos $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 63b6365c15e..7d181bdcd87 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the todoTask resources from the tasks navigation property of a specified todoTaskList. This API is available in the following national cloud deployments. + * Get the todoTask resources from the tasks navigation property of a specified todoTaskList. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php index d91070f0496..4d3f795655e 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a todoTaskList object. This API is available in the following national cloud deployments. + * Deletes a todoTaskList object. * @param TodoTaskListItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -63,7 +63,7 @@ public function delete(?TodoTaskListItemRequestBuilderDeleteRequestConfiguration } /** - * Read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a todoTaskList object. * @param TodoTaskListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -79,7 +79,7 @@ public function get(?TodoTaskListItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of a todoTaskList object. This API is available in the following national cloud deployments. + * Update the properties of a todoTaskList object. * @param TodoTaskList $body The request body * @param TodoTaskListItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -96,7 +96,7 @@ public function patch(TodoTaskList $body, ?TodoTaskListItemRequestBuilderPatchRe } /** - * Deletes a todoTaskList object. This API is available in the following national cloud deployments. + * Deletes a todoTaskList object. * @param TodoTaskListItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toDeleteRequestInformation(?TodoTaskListItemRequestBuilderDelete $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a todoTaskList object. * @param TodoTaskListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -130,12 +130,12 @@ public function toGetRequestInformation(?TodoTaskListItemRequestBuilderGetReques } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a todoTaskList object. This API is available in the following national cloud deployments. + * Update the properties of a todoTaskList object. * @param TodoTaskList $body The request body * @param TodoTaskListItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -149,7 +149,7 @@ public function toPatchRequestInformation(TodoTaskList $body, ?TodoTaskListItemR $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilderGetQueryParameters.php index fbcbc03daed..ff4b5d0d7f8 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. + * Read the properties and relationships of a todoTaskList object. */ class TodoTaskListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php index 5678d0a3281..9435131853b 100644 --- a/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the todoTaskList objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the todoTaskList objects and their properties. * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -76,7 +76,7 @@ public function get(?ListsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new lists object. This API is available in the following national cloud deployments. + * Create a new lists object. * @param TodoTaskList $body The request body * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -93,7 +93,7 @@ public function post(TodoTaskList $body, ?ListsRequestBuilderPostRequestConfigur } /** - * Get a list of the todoTaskList objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the todoTaskList objects and their properties. * @param ListsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -109,12 +109,12 @@ public function toGetRequestInformation(?ListsRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new lists object. This API is available in the following national cloud deployments. + * Create a new lists object. * @param TodoTaskList $body The request body * @param ListsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -128,7 +128,7 @@ public function toPostRequestInformation(TodoTaskList $body, ?ListsRequestBuilde $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilderGetQueryParameters.php index f1d6f2c05cc..3e408fb25ca 100644 --- a/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/ListsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the todoTaskList objects and their properties. This API is available in the following national cloud deployments. + * Get a list of the todoTaskList objects and their properties. */ class ListsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Todo/TodoRequestBuilder.php b/src/Generated/Users/Item/Todo/TodoRequestBuilder.php index 2b94fcddf9d..07e937b1a70 100644 --- a/src/Generated/Users/Item/Todo/TodoRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/TodoRequestBuilder.php @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?TodoRequestBuilderDeleteRequestConfi $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -119,7 +119,7 @@ public function toGetRequestInformation(?TodoRequestBuilderGetRequestConfigurati } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } @@ -138,7 +138,7 @@ public function toPatchRequestInformation(Todo $body, ?TodoRequestBuilderPatchRe $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 19da4a4c284..42636b1adbd 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index 41d76a88a20..a6f866218f7 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php index 2f19998fcf2..c2557685917 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.php @@ -70,7 +70,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php index 964ec15a9c2..47fe96ae015 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.php @@ -86,7 +86,7 @@ public function toGetRequestInformation(?DirectoryObjectItemRequestBuilderGetReq } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php index 1f8be4743f8..c4218145ee7 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphAdministrativeUnitRequestBuilderGe } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php index da0e06177bb..e3b745d7113 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphDirectoryRoleRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php index eee839e84c6..e84525d43f6 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.php @@ -62,7 +62,7 @@ public function toGetRequestInformation(?GraphGroupRequestBuilderGetRequestConfi } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php b/src/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php index 39b41b09281..37182551367 100644 --- a/src/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php +++ b/src/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.php @@ -107,7 +107,7 @@ public function toGetRequestInformation(?TransitiveMemberOfRequestBuilderGetRequ } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } diff --git a/src/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.php b/src/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.php index 8bbf19d9f67..809bc03717a 100644 --- a/src/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.php +++ b/src/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Translate identifiers of Outlook-related resources between formats. This API is available in the following national cloud deployments. + * Translate identifiers of Outlook-related resources between formats. * @param TranslateExchangeIdsPostRequestBody $body The request body * @param TranslateExchangeIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(TranslateExchangeIdsPostRequestBody $body, ?TranslateExchan } /** - * Translate identifiers of Outlook-related resources between formats. This API is available in the following national cloud deployments. + * Translate identifiers of Outlook-related resources between formats. * @param TranslateExchangeIdsPostRequestBody $body The request body * @param TranslateExchangeIdsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(TranslateExchangeIdsPostRequestBody $bo $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 4c51906c4aa..0cf64beafcd 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -593,11 +593,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. This API is available in the following national cloud deployments. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -619,11 +619,11 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ } /** - * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. + * Read properties and relationships of the user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -635,12 +635,12 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. This API is available in the following national cloud deployments. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -662,7 +662,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. This API is available in the following national cloud deployments. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -675,12 +675,12 @@ public function toDeleteRequestInformation(?UserItemRequestBuilderDeleteRequestC $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. + * Read properties and relationships of the user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -696,12 +696,12 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. This API is available in the following national cloud deployments. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -715,7 +715,7 @@ public function toPatchRequestInformation(User $body, ?UserItemRequestBuilderPat $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php index 3df725736f2..4ffb975bcb1 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. + * Read properties and relationships of the user object. */ class UserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.php b/src/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.php index 5f397d3eb7e..6d793fe446f 100644 --- a/src/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.php +++ b/src/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.php @@ -61,7 +61,7 @@ public function toPostRequestInformation(WipeManagedAppRegistrationsByDeviceTagP $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index fef95eb9e07..12532423733 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of user objects. This API is available in the following national cloud deployments. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +100,7 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This API is available in the following national cloud deployments. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -117,7 +117,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * Retrieve a list of user objects. This API is available in the following national cloud deployments. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -133,12 +133,12 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); return $requestInfo; } /** - * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This API is available in the following national cloud deployments. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -152,7 +152,7 @@ public function toPostRequestInformation(User $body, ?UsersRequestBuilderPostReq $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json;q=1"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index bb4c18e7b3f..f6cde86ae8e 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of user objects. This API is available in the following national cloud deployments. + * List properties and relationships of the user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.php b/src/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.php index 3733cc18f8a..e9b7c1ef9e2 100644 --- a/src/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.php +++ b/src/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(ValidatePropertiesPostRequestBody $body, ?ValidatePropertie } /** - * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. This API is available in the following national cloud deployments. + * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. * @param ValidatePropertiesPostRequestBody $body The request body * @param ValidatePropertiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -61,7 +61,7 @@ public function toPostRequestInformation(ValidatePropertiesPostRequestBody $body $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); } - $requestInfo->tryAddHeader('Accept', "application/json, application/json"); + $requestInfo->tryAddHeader('Accept', "application/json"); $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); return $requestInfo; } diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index a0a59f304c7..a961a485c70 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "AF8264B9F93DE92AF7375F9CFB080205731DAEFB2A1E977D7591AF08B5880606F126E62F1FC34D5486F610BADC3B5407F4EB3EE920EF59CE58E5188384F31EF3", + "descriptionHash": "6DA35D9AA714EDF973538BF50655E022B6E70EF14FADCAC442DBACA93805F256BE1A51AADD1370D41EAE6B31585988CD2EA7B576565F796613288F79B96785A3", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.9.0", @@ -21,7 +21,7 @@ "Microsoft.Kiota.Serialization.Form.FormParseNodeFactory" ], "structuredMimeTypes": [ - "application/json;q=1", + "application/json", "text/plain;q=0.9", "application/x-www-form-urlencoded;q=0.2", "multipart/form-data;q=0.1"